LWN.net Logo

Correctness

Correctness

Posted Dec 15, 2008 21:06 UTC (Mon) by grundler (subscriber, #23450)
In reply to: Correctness by ncm
Parent article: Tux3: the other next-generation filesystem

ncm wrote:
> There's a widespread myth (originating where?!) that disks
> detect a power drop and use the last few milliseconds to do
> something safe, such as finish up the sector they're writing.
> It's not true. A disk will happily write half a sector and scribble trash.

It was true for SCSI disks in the 90's. The feature was called "Sector Atomicity". As expected, there is a patent for one implementation:
http://www.freepatentsonline.com/5359728.html

AFAIK, every major server vendor required it. I have no idea if this was ever implemented for IDE/ATA/SATA drives. But UPS's became the norm for avoiding power failure issues.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds