shailesh jain wrote: ... >> POSIX allows readdir to work that way. >> > Sorry I do not follow your comment. What way POSIX allows readdir to work ?
As was demonstrated by that strace output: returning an entry for a file that had been unlinked. >> I already suggested that making this change might help you: >> >> - CONSECUTIVE_READDIR_UNLINK_THRESHOLD = 10 >> + CONSECUTIVE_READDIR_UNLINK_THRESHOLD = 1 > > I did not try above option. I will try this later tonight. You might want to try the new version of rm (fts-based) for which I've posted patches recently.
