LWN.net Logo

Querying file information and concurrent file access

Querying file information and concurrent file access

Posted Apr 29, 2011 16:01 UTC (Fri) by dark (subscriber, #8483)
In reply to: Querying file information and concurrent file access by abacus
Parent article: The return of SEEK_HOLE

I think it makes sense. It's not really different from a read() that might return data that's already obsolete because another process is writing there. This can be fixed with locks or other techniques (such as tar's habit of displaying a warning if the file changed), and it's up to you to use them if you want to.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds