Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Oct 2020 02:40:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 249871] NFSv4 faulty directory listings under heavy load
Message-ID:  <bug-249871-227-RyvDFbEXdH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249871-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249871-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #3 from Rick Macklem <rmacklem@FreeBSD.org> ---
Created attachment 218479
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218479&action=edit
log readdirplus VOP_LOOKUP() failures

This little patch adds a printf() that logs VOP_LOOKUP()
errors, if any occur in the NFSv4 server's readdir.
--> VOP_LOOKUP() gets used instead of VFS_VGET() when
    the NFSv4 server is performing Readdir over ZFS,
    since VFS_VGET() is not reliable for ZFS.

    - If the VOP_LOOKUP() fails (I do not think it ever
      should), that would corrupt the Readdir reply.

If you can add this patch to your server and note if
the printf() happens (especially when "ls" fails),
please do so.

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249871-227-RyvDFbEXdH>