From nobody Mon Apr 15 14:05:26 2024 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 4VJ8866PWRz5GfXB; Mon, 15 Apr 2024 14:05:26 +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 4VJ8865js2z4VjZ; Mon, 15 Apr 2024 14:05:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713189926; 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=+GtwuQkah5DmT+FsA45wqxq0tICD7Phg0TNR64pYu14=; b=k1h0i0bHp6StE7/TjbsAiw8VvG6odg1oXwKLhXPVlvnAMLZrfShWX8GRio3X1zAHRMehhZ 3oonwlT3RJQD6owU6qCqE2ynFuCbPcYCzaF0+WjGU1OkD8GbyJ+Gz32qj+4RfnJZcXR7Tv hd2fvJF+zG+3kILNgnnxGUP5TzYJWZ/FPQd0Rs5ciQYaIkt0uCc0NRHOv24X+cvpI3Zbgv lA0j5C/YPUBh/Swwb3dJ6eLVkPGMAcCjgAHfPvwQMqXLHoNzyQn9gUt9wi3I8xFb0oaX/L MqLGIyaijL/k8M4sGB/JXNVZpXvijlrUHZSe+aQpVHnTsME44w3YigHBGYKUqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713189926; a=rsa-sha256; cv=none; b=Wa/6QnVaSXaoo4F+wwyu6V7Re/y2X8Iu6DjQWZZR5PSHEa4O61guDhQdr5+VXktNryVJ4f H4mpNqyLHhFHdPiWT8NduEgoMabZAZq++Vp2+rTTQoZP89uyk6pjMVQji2xuU3WQ+xG/aM O/LDty1PpJmfjrtLJzjLaXDzqSvrB/+O5MEJYQgPLCRY8R63TeysAQbMMnfbg5uEBh5GSb gdFDrg4+nZF5tZPDKUQ8KnnmHOGZLMIO1sB448wzy5fjANv5K3yBtqVXJtAdg2hAvl0Exn Cjxhi3w72PGDjqJm2aNf9W5yHpY5KCFJ+XbYXnsBBRrH0VhKiDAoblQuxcoDbA== 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=1713189926; 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=+GtwuQkah5DmT+FsA45wqxq0tICD7Phg0TNR64pYu14=; b=LxcdodN1OdZy6+6ksEGLzUZCJ8e4YivwAVbafN2UiFeZDIuGnZNbsZmZUKDFHeh8Fx8fhY 6HAq9aJ1D1CrdOLcawVVe7RArezS0GCeujRXJSt3v9j02dP7a5vI9zjt+P5cTVhlzNGqkv y/UbXAX/SsUQ4tbijYok1poNgIdrnVZSKSoSigD42UJFZY/lDWh1+GeAyHLOodBNZslFBr AiYe0rlIbxZcqMPbM8EQoSafKaxgLFF243mNSizdLiPceGV/w8O1JXwnmuIHuaYg3oRZT/ Rkesz7K4ABn26MPC6Jgl1EdfUAJhZRfc6tEH71GjUNhe3LeHYywFk6Qogg4kHA== 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 4VJ8865L8Xz12qS; Mon, 15 Apr 2024 14:05:26 +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 43FE5Qfi069806; Mon, 15 Apr 2024 14:05:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43FE5Qiu069803; Mon, 15 Apr 2024 14:05:26 GMT (envelope-from git) Date: Mon, 15 Apr 2024 14:05:26 GMT Message-Id: <202404151405.43FE5Qiu069803@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: a006c6a0d452 - stable/14 - tarfs: Inherit mnt_iosize_max from the lower vnode 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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/stable/14 X-Git-Reftype: branch X-Git-Commit: a006c6a0d45232d9bde1c50984462a69b058a313 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=a006c6a0d45232d9bde1c50984462a69b058a313 commit a006c6a0d45232d9bde1c50984462a69b058a313 Author: Mark Johnston AuthorDate: 2024-04-04 14:54:06 +0000 Commit: Mark Johnston CommitDate: 2024-04-15 14:05:13 +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 (cherry picked from commit 91eca18551554b7aca80fcfd3c648f524b321252) --- 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__);