Update of patch #9705 (project findutils):

                  Status:                    Done => None                   

    _______________________________________________________

Follow-up Comment #5:

I couldn't reproduce with that test case on XFS, but I played a bit
with trying to create races.

It seems there are more race conditions which -ignore_readdir_race
should catch.  The following creates 'tmp/d' alternatively as a
directory and a regular file:

  $ while mkdir -p tmp tmp/d && rm -fr tmp/d && touch tmp/d && rm -f tmp/d ;
do : ; done

Now, in a second terminal, the following command should ideally run without
errors:

  $ while : ; do ~/findutils/find/find -D search -ignore_readdir_race -delete
|| break; done

It turns out, that find terminates at least when it gets an error
from newstatat(), and from open().
Needs some more investigation ...



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9705>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to