[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
O_NONBLOCK problems with an offline file
From: |
Vitezslav Cizek |
Subject: |
O_NONBLOCK problems with an offline file |
Date: |
Mon, 25 Feb 2013 14:20:52 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello,
I'm reporting the very same problem as previously against tar:
http://lists.gnu.org/archive/html/bug-tar/2012-01/msg00000.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 file.
Dropping the O_NONBLOCK flag to open() solves the issue.
A different fix was introduced to tar - dropping the flag with fcntl()
after a subsequent read/write returns EAGAIN.
CCing Ron Kerry, as he originally stumbled upon both these bugs.
--
Vita Cizek
signature.asc
Description: Digital signature
- O_NONBLOCK problems with an offline file,
Vitezslav Cizek <=