From nobody Thu Apr 04 14:58:53 2024 X-Original-To: dev-commits-src-main@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 4V9Prs41QNz5H8QF; Thu, 4 Apr 2024 14:58:53 +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 4V9Prs3VJXz4LxM; Thu, 4 Apr 2024 14:58:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712242733; 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=/MQGjVcPvHNLaC8BuZ/GKqn5EoALt3G7cMDKEwMv0wc=; b=ZabNohb1Ov7Qpl94i2LkES1qCgvVL+TuRQa8Ggm8p1CxpmvMtt2krVwMkcY50smlKnikst EDHJzshSKw5EZwH9dxmP63m+fecA2lUG8uJYr48s5FuuExPXESKQ0hn/jn6BgB4+ru6x/w 74wBehmlxp83cpfMt1GDcvy36b+zbbz1cqDX4cMabOMVp7XEPrV/sXm4uFOz2g2DY6Qz8i 8rTUIWJb5E1WNkRw6Zw1upKUdzIxDMp9lyWdRyiPUaFphxWhsT/r4XHQ7SmQNcCIyYtHMN J7qyG0jTyxiI7Ywx6WeojHboWS70McGprz6XX3HGDXTSN91S1S7mZ5v1j6UJKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712242733; a=rsa-sha256; cv=none; b=j3Pizi3H7260+FttOM4q53qH86jrngKL8L72kjet8+RhjBvG6h8b9CvgBFGcYYfnCyMh5Z uiAXZmW89llhj3NiT71pYwUMGmT32Jj7bcvxxpfqlwqYntXQIpBOBgzZ0DmWX3mfBynz2Z 0cg1mGpf7NPiySAg4Xo31LmXzELsSRZ5NqygKVntj/Felpr3HNdGhQVFLp+meH9NYVb+A0 +e6WU+9uvkNyQO8JQ5kNmVBfSODZP8SVYbkkNw4RY06GZAhx5mJoF6jUYaVd6s3CKiL0qP h2oI+P2mPicirs1DmoeDltOattyCK4MAZtbin6PD3QVrogBt7zPJlepvIt7GRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712242733; 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=/MQGjVcPvHNLaC8BuZ/GKqn5EoALt3G7cMDKEwMv0wc=; b=koaIOnBBxSt2LlsVIdcKvRYWMLY71uxsYHJta3r5gtOW/bzORgtdJ/VnnBvCEu0PiFRgLG lLi3VSEoWnE6vLTwClu2PVQJwFMhESEvhoMbfgegdVzTuTISu+nHcvE+fbJgXnhhMZgkgA ldSg008MW9TTPN1NLQmK/Wp7kb5Al5qPW/MsNM72FwCozb3rc0OZMk8LxaDVzG6TSZMdxR CCXSdD0R0YUh5cC/8jITn9vyhZwQO3JYm1p6QrYJXnnS7AilgO/PVSp4ytsTvgYEHou3YD uNIMKwCQlbOuf52/2hgu43wQKkJm72rtfJ6lUojCuYmYS6rVamxFAUL4F1Qz+w== 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 4V9Prs34PJzLCd; Thu, 4 Apr 2024 14:58:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 434EwrQv098756; Thu, 4 Apr 2024 14:58:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 434EwrLx098753; Thu, 4 Apr 2024 14:58:53 GMT (envelope-from git) Date: Thu, 4 Apr 2024 14:58:53 GMT Message-Id: <202404041458.434EwrLx098753@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: 91eca1855155 - main - tarfs: Inherit mnt_iosize_max from the lower vnode List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 91eca18551554b7aca80fcfd3c648f524b321252 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=91eca18551554b7aca80fcfd3c648f524b321252 commit 91eca18551554b7aca80fcfd3c648f524b321252 Author: Mark Johnston AuthorDate: 2024-04-04 14:54:06 +0000 Commit: Mark Johnston CommitDate: 2024-04-04 14:54:06 +0000 tarfs: Inherit mnt_iosize_max from the lower vnode There is no obvious reason to use a value smaller than that. Reviewed by: des, kib MFC after: 1 week Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D44627 --- sys/fs/tarfs/tarfs_vfsops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/fs/tarfs/tarfs_vfsops.c b/sys/fs/tarfs/tarfs_vfsops.c index 365234113168..a534b18ebf34 100644 --- a/sys/fs/tarfs/tarfs_vfsops.c +++ b/sys/fs/tarfs/tarfs_vfsops.c @@ -881,6 +881,8 @@ tarfs_alloc_mount(struct mount *mp, struct vnode *vp, VOP_UNLOCK(vp); mtime = va.va_mtime.tv_sec; + mp->mnt_iosize_max = vp->v_mount->mnt_iosize_max; + /* Allocate and initialize tarfs mount structure */ tmp = malloc(sizeof(*tmp), M_TARFSMNT, M_WAITOK | M_ZERO); TARFS_DPF(ALLOC, "%s: Allocated mount structure\n", __func__);