From nobody Mon May 22 13:36:41 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QPz4n5S22z4BSWB; Mon, 22 May 2023 13:36:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QPz4n1nhNz4ZXR; Mon, 22 May 2023 13:36:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684762601; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sL459Zdjo2JOA9wIFw2vKl1PK/APPvdzmxxsdXECSVU=; b=PXd3lNdr743hYcE8JUjqN6lhV7pwg6ifDkRnMNVXDLwBBhVobaESdzBF8yAyWozfQlyePC OXTUGFcNUGg7WkqPawr9xF4kPTNxoxlLc0AYc5yy66G3n9sjr4lW42B7pEY7+4CBal349d FQ5KXn9DHHckUQlMsHRjB58yQIMhtaUOFQck4Q/lO4X4D2apDGkoDC1u+VGUnjHimMU8ZI NkOXy7Z1C+WqwU+iBM3pBBgTgkHi/JvheHDmjuyqB7E4r1i6x+YsN/AgIATT5vXcSUBqLt xk/jIaUDmsqdo7GNfIU1+2+5lmMhWGcIsriyd5a+xzgrxHytROhZuhrTeU2gAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684762601; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sL459Zdjo2JOA9wIFw2vKl1PK/APPvdzmxxsdXECSVU=; b=fSTk24BrgqDb83axqMXHFWcSU7IQRCHuzR/JADLZS5+lTuC+duKuBtW7Zb96rm087U0rrA qcDjXVeo/61AP7kC2h9zgA/SHwnZcECFqKCKoHwNTNuw3q0os/1lrv/2HI95hEz6OUtgMD sf6Vic4l6SsahLKyqqDCzEu3PSRC9vPl89ws0cvViunJWptChlcXF+qk70lS0J1udOJ4ja FEz2PYq1vkyWFs/Usp9XABF6QixZzh2LhmpEQIw9HDZ16RUqkKq5v6CLj62n8QScp1G6rT o2mIRYBtwQvTs4oozx8/HrOUvMlXyjtBa1Fk/knVZoatN3BepmXa45xjmJUV2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684762601; a=rsa-sha256; cv=none; b=EsF209SAwvnXj/SnuGJDQSwGfgRPZZIi78G1XQfNShEY+fgitgwIinPdjDxl0CtC03pwUw 9qXtTKKS7sev4JWb1jzguOMzpkcpg7wSoMMNjIm5KE0cAzuXpnwfpHPdHqoMKvAfWZf99v kZujo7yp+pUopZJibCLkzPXjllUjbNML4PaSAewHxp+dQ88fyMgPVvgf4V+iqZNLHxXkFQ befwvWXwD8xcQDjLoofa0lU9ZrVmKU7iGAvnMP8OLaOScievp8+kD9KkUH6YJlXEmnjmWC pK91h31V76g87/vYLlMWmrDpmWvvkU9wfhBP1eGZRYIbEhtcAjgfY+HD0WmVhw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QPz4n0tqbzKVr; Mon, 22 May 2023 13:36:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34MDafPg059752; Mon, 22 May 2023 13:36:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34MDafhH059751; Mon, 22 May 2023 13:36:41 GMT (envelope-from git) Date: Mon, 22 May 2023 13:36:41 GMT Message-Id: <202305221336.34MDafhH059751@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: e3f7081b1c54 - main - fusefs: Remove an unused pbuf zone List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e3f7081b1c54fae55cb443a39c2ad44ac3ed4a75 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=e3f7081b1c54fae55cb443a39c2ad44ac3ed4a75 commit e3f7081b1c54fae55cb443a39c2ad44ac3ed4a75 Author: Mark Johnston AuthorDate: 2023-05-22 13:33:57 +0000 Commit: Mark Johnston CommitDate: 2023-05-22 13:33:57 +0000 fusefs: Remove an unused pbuf zone The zone has been dead ever since commit b9e20197551d ("fusefs: rewrite vop_getpages and vop_putpages") No functional change intended. Reviewed by: asomers MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D40143 --- sys/fs/fuse/fuse_main.c | 3 --- sys/fs/fuse/fuse_vnops.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/sys/fs/fuse/fuse_main.c b/sys/fs/fuse/fuse_main.c index 824458db72cb..ce40b73f656b 100644 --- a/sys/fs/fuse/fuse_main.c +++ b/sys/fs/fuse/fuse_main.c @@ -96,7 +96,6 @@ struct mtx fuse_mtx; extern struct vfsops fuse_vfsops; extern struct cdevsw fuse_cdevsw; extern struct vop_vector fuse_fifonops; -extern uma_zone_t fuse_pbuf_zone; static struct vfsconf fuse_vfsconf = { .vfc_version = VFS_VERSION, @@ -151,7 +150,6 @@ fuse_loader(struct module *m, int what, void *arg) fuse_file_init(); fuse_internal_init(); fuse_node_init(); - fuse_pbuf_zone = pbuf_zsecond_create("fusepbuf", nswbuf / 2); /* vfs_modevent ignores its first arg */ if ((err = vfs_modevent(NULL, what, &fuse_vfsconf))) @@ -161,7 +159,6 @@ fuse_loader(struct module *m, int what, void *arg) if ((err = vfs_modevent(NULL, what, &fuse_vfsconf))) return (err); fuse_bringdown(eh_tag); - uma_zdestroy(fuse_pbuf_zone); break; default: return (EINVAL); diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c index 6ed44d73a8b9..1bb5b3834c76 100644 --- a/sys/fs/fuse/fuse_vnops.c +++ b/sys/fs/fuse/fuse_vnops.c @@ -229,8 +229,6 @@ struct vop_vector fuse_vnops = { }; VFS_VOP_VECTOR_REGISTER(fuse_vnops); -uma_zone_t fuse_pbuf_zone; - /* Check permission for extattr operations, much like extattr_check_cred */ static int fuse_extattr_check_cred(struct vnode *vp, int ns, struct ucred *cred,