public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* "laptop mode" for floppies too?
@ 2002-06-17  9:32 Marek Michalkiewicz
  2002-06-17 10:02 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Michalkiewicz @ 2002-06-17  9:32 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-20 22:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-17  9:32 "laptop mode" for floppies too? Marek Michalkiewicz
2002-06-17 10:02 ` Andrew Morton
2002-06-17 12:34   ` Marek Michalkiewicz
2002-06-20 22:01     ` Daniel Kobras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox