[Samba] Missing Files/Missing Folders from an NFS Share

Jeremy Allison jra at samba.org
Fri Feb 17 01:43:37 UTC 2023


On Fri, Feb 17, 2023 at 12:57:09AM +0100, Conor Armstrong via samba wrote:
>Alternately, we could possibly modify the dptr_TellDir function to set a
>flag somewhere if it ever returns a negative offset. Then any calls to
>dptr_SeekDir checks if the flag is set and does a slower approach of a
>RewindDir and then multiple ReadDir & TellDir calls until we get the
>matching offset.  If flag is not set then go with the normal SeekDir call???

Again, we need to understand the specific brokenness of NFS telldir()/seekdir()
first. Doing a rewinddir() on every FindNext would be the death
of performance :-(.



More information about the samba mailing list