Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2021 14:07:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 253428] getdirentries does not work correctly on NFS mounts
Message-ID:  <bug-253428-3630-JB4jv12VHf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253428-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253428-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253428

--- Comment #5 from Rick Macklem <rmacklem@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 =3D=3D 512 and d_fileno =3D=3D 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253428-3630-JB4jv12VHf>