[Bug 249871] NFSv4 faulty directory listings under heavy load

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 22 00:17:31 UTC 2020


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

--- Comment #13 from Rick Macklem <rmacklem at FreeBSD.org> ---
I've put a small program called rdir.c in the
attachments. You could run this program on
the directory (locally on the NFS server)
as follows:
# rdir -v <directory>
It should print out a bunch of numbers, which
are the d_off value for each directory entry.
If it spits out "Not monotonically increasing",
I'm not sure if that is considered an error for
ZFS (I think they're supposed to be monotonically
increasing, but I'm not sure for ZFS.)

If you run it repeatedly (locally on the server,
not on an NFS mount) when the server is under heavy
load, the output should always be the same.
If the output changes, then that would explain
the problem, although I have no idea what the
fix might be (it's a ZFS issue).

If you can try it on the problematic directory,
it would be interesting to hear what the results are.

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


More information about the freebsd-bugs mailing list