Re: [Question] Does the kernel ignore errors writng to disk?

From: Bryan Henderson
Date: Thu Apr 28 2005 - 18:16:53 EST

>O_SYNC doesn't work completely on several file systems and only on the
>latest kernels with some of the common ones.

Hmmm. You didn't mention such a restriction when you suggested fsync()
before. Does fsync() work completely on these kernels where O_SYNC
doesn't? Considering that a simple implementation of O_SYNC just does the
equivalent of an fsync() inside every write(), that would be hard to

Bryan Henderson IBM Almaden Research Center
San Jose CA Filesystems

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at