[Bug 253428] getdirentries does not work correctly on NFS mounts

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 12 14:07:59 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253428

--- Comment #5 from Rick Macklem <rmacklem at FreeBSD.org> ---
I once committed a patch that got rid of
the trailing empty dirent entries that
fill out the block. (Each one is a
strucr dirent of d_reclen == 512 and d_fileno == 0.)

It broke the directory caching badly,
such that there was a much higher miss
ratio on the caching.
I'll admit I cannot remember exactly how,
but I do remember that I couldn't come
up with a way to fix it, so I reverted
the patch. It was bde@ who spotted the
breakage.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list