Re: Disk (block) write strangeness

Alan Cox (alan@lxorguk.ukuu.org.uk)
05 Aug 2002 21:17:12 +0100


On Mon, 2002-08-05 at 19:49, Jakob Oestergaard wrote:
> *) Either the disk writes backwards (no I don't believe that)
> *) Or the kernel is writing 256 B blocks (AFAIK it can't)
> *) The disk has some internal magic that cause a power-loss during
> a full block write to leave the first half of the block intact with
> old data, and update the second half of a block correctly with new
> data. (And I don't believe that either).

You forgot to add

*) or the disk internal logic bears no resemblance to the antiquated API
it fakes for the convenience of interface hardware and software

Linux also won't neccessarily do write outs in order.

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