Re: Disk access just before shutdown power off.

From: Jon Masters
Date: Tue Jul 21 2009 - 12:25:59 EST


On Mon, 2009-07-20 at 14:34 +0100, James Courtier-Dutton wrote:

> When I shutdown my Linux laptop, it does an orderly shutdown with quite
> a lot of HD activity during shutdown which eventually stops when the
> screen goes blank. Then there is some delay (5-10 seconds) and then a
> quick flurry of HD access just before it powers itself off.

That would be the journal being synced back to disk as an fsync is done
prior to unmounting/remounting-ro. You can't do anything about this
because it needs to be the last thing that is done.

Jon.


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