O_NONBLOCK problems with an offline file

2013-02-25 Thread Vitezslav Cizek
Hello, I'm reporting the very same problem as previously against tar: http://lists.gnu.org/archive/html/bug-tar/2012-01/msg0.html The O_NONBLOCK flag causes problems on hierarchical storage systems. Accessing an offline or partial-state file on these file systems thus results with a corrupted

Re: O_NONBLOCK problems with an offline file

2013-02-25 Thread Paul Eggert
On 02/25/13 05:20, Vitezslav Cizek wrote: > Dropping the O_NONBLOCK flag to open() solves the issue. Doing that would have bad effects elsewhere, as it would allow some denial of service attacks. > A different fix was introduced to tar - dropping the flag with fcntl() > after a subsequent read