rhia...@falu.nl (Rhialto) writes:

>Can I at least hope that if fsync() returns an error, and the device
>doesn't recover, that next attempts to fsync() keep reporting the error?

No. The data is lost and the next fsync will only report a failure if the
new fsync operation fails. Even worse, if the write error includes metadata
then the filesystem may panic if it tries to read and interpret the data.

-- 
-- 
                                Michael van Elst
Internet: mlel...@serpens.de
                                "A potential Snark may lurk in every tree."

Reply via email to