public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [Question] Behaviour of directory listing in XFS with concurrent deletes
@ 2018-04-05 23:53 Vairavanathan, Emalayan
  2018-04-06  1:18 ` Dave Chinner
  0 siblings, 1 reply; 5+ messages in thread
From: Vairavanathan, Emalayan @ 2018-04-05 23:53 UTC (permalink / raw)
  To: linux-xfs@vger.kernel.org

Hi There,


We have an application that  iterates through a large directory (that has around 1.2 million files)  and lists the names of all the files in the directory. 

Files stored in the directory could be concurrently deleted by another thread in the application while the application lists the files. 

Our application can tolerate false positives when listing a directory. However false negatives in directory listing *cannot* be tolerated.

To this end could someone tell  me how directory listing in XFS behaves with concurrent deletes? Is it  possible to see false negatives ?

Thank you
 Emalayan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-10 20:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-05 23:53 [Question] Behaviour of directory listing in XFS with concurrent deletes Vairavanathan, Emalayan
2018-04-06  1:18 ` Dave Chinner
2018-04-10  0:24   ` Vairavanathan, Emalayan
2018-04-10  9:20     ` Dave Chinner
2018-04-10 20:10       ` Vairavanathan, Emalayan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox