Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760665AbYARPct (ORCPT ); Fri, 18 Jan 2008 10:32:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758192AbYARPck (ORCPT ); Fri, 18 Jan 2008 10:32:40 -0500 Received: from terminus.zytor.com ([198.137.202.10]:40961 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754744AbYARPcj (ORCPT ); Fri, 18 Jan 2008 10:32:39 -0500 Message-ID: <4790C0EE.10207@zytor.com> Date: Fri, 18 Jan 2008 10:08:30 -0500 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Bryan Henderson CC: Ric Wheeler , Al Boldi , Alan Cox , David Chinner , linux-kernel@vger.kernel.org, Pavel Machek , Daniel Phillips , Rik van Riel , Theodore Tso , Valerie Henson Subject: Re: [Patch] document ext3 requirements (was Re: [RFD] Incremental fsck) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1564 Lines: 35 Bryan Henderson wrote: > > We weren't actually talking about writing out the cache. While that was > part of an earlier thread which ultimately conceded that disk drives most > probably do not use the spinning disk energy to write out the cache, the > claim was then made that the drive at least survives long enough to finish > writing the sector it was writing, thereby maintaining the integrity of > the data at the drive level. People often say that a disk drive > guarantees atomic writes at the sector level even in the face of a power > failure. > > But I heard some years ago from a disk drive engineer that that is a myth > just like the rotational energy thing. I added that to the discussion, > but admitted that I haven't actually seen a disk drive write a partial > sector. > Did he work for Maxtor, by any chance? :-/ A disk drive whose power is cut needs to have enough residual power to park its heads (or *massive* data loss will occur), and at that point it might as well keep enough on hand to finish an in-progress sector write. There are two possible sources of onboard temporary power: a large enough capacitor, or the rotational energy of the platters (an electrical motor also being a generator.) I don't care which one they use, but they need to do something. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/