Querying file information and concurrent file access
Querying file information and concurrent file access
Posted Apr 28, 2011 19:02 UTC (Thu) by abacus (guest, #49001)Parent article: The return of SEEK_HOLE
Posted Apr 29, 2011 13:09 UTC (Fri)
by CChittleborough (subscriber, #60775)
[Link]
Posted Apr 29, 2011 16:01 UTC (Fri)
by dark (guest, #8483)
[Link]
Querying file information and concurrent file access
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.
Querying file information and concurrent file access