Re: New filesystem for Linux

From: Phillip Susi
Date: Sun Nov 05 2006 - 21:48:58 EST


Mikulas Patocka wrote:
There was discussion about it here some times ago, and I think the result was that the IDE bus is reset prior to capacitors discharge and total loss of power and disk has enough time to finish a sector --- but if you have crap power supply (doesn't signal power loss), crap motherboard (doesn't reset bus) or crap disk (doesn't respond to reset), it can fail.

BTW. reiserfs and xfs depend on this feature too. ext3 is the only one that doesn't.

Mikulas

Yes, if your disk can not atomically commit a single sector, then it is broken. And ALL filesystems rely on this behavior because they all expect NOT to have hardware IO read failures of important metadata after a power failure ( due to the sector ECC failing ).


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