[Top][All Lists]

[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)

I'm reporting the very same problem as previously against tar:

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

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]