readdir conftest
Jeremy Allison
jra at samba.org
Wed Feb 18 18:27:53 MST 2009
On Wed, Feb 18, 2009 at 11:56:21AM -0800, Herb Lewis wrote:
> Currently in samba configure there is a test to see if readdir
> is broken and then to see if it can be replaced by other calls
> such as getdirentries. This tests assumes that a directory that
> is opened will not do directory compaction while still open -
> it uses seekdir to go to the location after deleted files. This
> is not true of course for NFS mounted filesystems (or in our case
> for panfs).
>
> Where in samba do we rely on this behavior?
It's for the old OS/2 and DOS deltree behavior.
Not sure if any new clients will use this, but
we have torture tests to ensure we don't regress.
What does directory compaction do to the ordering
returned (just another good reason not to do NFS
re-exports IMHO) ?
Jeremy.
More information about the samba-technical
mailing list