mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
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
This commit is contained in:
parent
bee7cf9e97
commit
91eca18551
|
@ -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__);
|
||||
|
|
Loading…
Reference in a new issue