Re: Force IDE cache flush on shutdown

From: Jens Axboe
Date: Thu May 06 2004 - 02:59:31 EST


On Thu, May 06 2004, Arjan van de Ven wrote:
> Hi,
>
> Alan discovered the hard way that the current 2.6 IDE code doesn't do a
> cache-flush on shutdown. The patch below forward ports this from 2.4. In
> addition it fixes a bug where the ->wcache value only got determined for
> removable disks not all disks. (that fix is from Alan, all other bugs are
> mine ;)

Yeah that's a dumb bug, I fixed that in the barrier patches as well (but
forgot to send it in).

Maybe you could send that in seperately first, it needs to go in
regardless.

--
Jens Axboe

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