Re: RAID controller safety

From: Alan Cox
Date: Fri Dec 30 2005 - 19:48:12 EST


On Gwe, 2005-12-30 at 10:58 -0800, Kenny Simpson wrote:
> So all writes would be treated as syncronous in the write-through case (no battery), making fsync
> a no-op?

fsync is never a no-op. fsync ensures material the OS is caching hits
disk drivers/disks. Barriers or write through on the disk driver ensure
that it hits the media.

The two are independant

-
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/