RE: [RFD] What error should FS return when I/O failure occurs?

From: fs
Date: Tue May 17 2005 - 01:15:56 EST


On Tue, 2005-05-17 at 02:00, Hua Zhong (hzhong) wrote:
> The thing is the EIO almost always happens at background so there is no
> way to return it to the user space. If you want to see EIO, do fsync
> explicitly.
even with fsync, the result is still EROFS,
you can visit
http://developer.osdl.jp/projects/doubt/fs-consistency-and-coherency/
to see the result.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/