HomeFreeBSD

MFC: r230605
rS231330Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

MFC: r230605
A problem with respect to data read through the buffer cache for both
NFS clients was reported to freebsd-fs@ under the subject "NFS
corruption in recent HEAD" on Nov. 26, 2011. This problem occurred when
a TCP mounted root fs was changed to using UDP. I believe that this
problem was caused by the change in mnt_stat.f_iosize that occurred
because rsize was decreased to the maximum supported by UDP. This
patch fixes the problem by using v_bufobj.bo_bsize instead of f_iosize,
since the latter is set to f_iosize when the vnode is allocated, but
does not change for a given vnode when f_iosize changes.

Details

Provenance
rmacklemAuthored on
Parents
rS231329: Fix debug output for MIPS part of rtld
Branches
Unknown
Tags
Unknown

Event Timeline