"laptop mode" for floppies too?

Marek Michalkiewicz (marekm@amelek.gda.pl)
Mon, 17 Jun 2002 11:32:48 +0200 (CEST)


Hi,

I've just read (in Kernel Traffic - don't have enough time to follow
linux-kernel directly...) about your proposed "laptop mode" patch
(basically writing all dirty blocks to disk after it spins up - looks
like a good idea to me). Similar problem exists with floppies (also
in desktop PCs) - it takes a while to spin up, so I think it would
make sense to write all dirty blocks just before spinning down, so
that the drive is less likely to spin up again soon.

So it would be nice to have more general support for this feature in
the block device layer (not limited to IDE devices). Is anyone working
on something like that (for 2.5)?

As a nice side effect, removing a floppy while mounted but not spinning
would be a little less dangerous (still a bad idea of course, but might
happen by accident...) - the filesystem is more likely to be in some
consistent state, not in the middle of a write operation...

Thanks,
Marek

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