FreeBSD Bugzilla – Attachment 162553 Details for
Bug 177971
[nfs] FreeBSD 9.1 nfs client dirlist problem w/ nfsv3,rsize=4096,wsize=4096
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix this problem
nfs4kdir.patch (text/plain), 705 bytes, created by
Rick Macklem
on 2015-10-29 00:32:14 UTC
(
hide
)
Description:
patch to fix this problem
Filename:
MIME Type:
Creator:
Rick Macklem
Created:
2015-10-29 00:32:14 UTC
Size:
705 bytes
patch
obsolete
>--- fs/nfsclient/nfs_clvfsops.c.newersav 2015-10-28 19:47:47.000000000 -0400 >+++ fs/nfsclient/nfs_clvfsops.c 2015-10-28 19:58:10.000000000 -0400 >@@ -211,10 +211,12 @@ newnfs_iosize(struct nfsmount *nmp) > * Calculate the size used for io buffers. Use the larger > * of the two sizes to minimise nfs requests but make sure > * that it is at least one VM page to avoid wasting buffer >- * space. >+ * space. It must also be at least NFS_DIRBLKSIZ, since >+ * that is the buffer size used for directories. > */ > iosize = imax(nmp->nm_rsize, nmp->nm_wsize); > iosize = imax(iosize, PAGE_SIZE); >+ iosize = imax(iosize, NFS_DIRBLKSIZ); > nmp->nm_mountp->mnt_stat.f_iosize = iosize; > return (iosize); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 177971
: 162553