Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2021 23:39:34 +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-sXYUvboJHs@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 #3 from Rick Macklem <rmacklem@FreeBSD.org> ---
Ok. I think the best change would be to note that
d_off =3D=3D 0 can be generated by certain file
systems. such as NFS.
I think a value of 0 for d_off is always meaningless
and should be ignored.

An offset =3D=3D 0 refers to beginning of directory and would
never refer to a valid "next entry", I think?

Feel free to update the man page, or I may get around
to it someday.

Now that I'm done with NFS over TLS, I am going
to start to work on directory delegations.
For the case of servers that present monotonically
increasing offset cookies, more might be doable
here.
--> I plan on proposing an extension to NFSv4.2
    which is a new attribute to indicate monotonically
    increasing directory offset cookies, because that
    is the only case where the NFS client can implement
    directory delegations.
    --> These allow a directory cache to be updated via
        callbacks with add/remove entry info. from
        a server. No one has implemented these, but
        they might be useful.

--=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-sXYUvboJHs>