Re: Linux Kernel 2.6.6 IDE shutdown problems.

From: Ian Stirling
Date: Wed May 26 2004 - 05:23:53 EST


Bartlomiej Zolnierkiewicz wrote:
On Tuesday 25 of May 2004 11:05, Giuliano Pochini wrote:

On Mon, 24 May 2004, Eric D. Mudama wrote:

Picture a nice fast drive doing 100 writes/second to the media... if
you give it over 200 writes at a time, it'll occupy your 2 seconds.
Newer drives with 8MB or larger buffers are certainly capable of
caching a lot more than 200 writes...

Quite unlikely. Usually disks have a big cache but it can hold a very
limited number of blocks. 8MB of cache is probably divided in 8 blocks
of 1MB each.


No.

It is indeed likely that the worst case is around 16000 writes, which if
on seperate tracks may take over 30 seconds to complete if done individually.

However, it's likely that any drive designer with a clue would allocate a
couple of journal tracks, so that the write cache and two backup copies can
be stored for replay when the drive is powered on again.

Why do I suspect that some designers don't have clue, or haven't really thought
enough about this case.
-
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/