Subject: Re: kern/15232: ffs_sync writes out read-only pages to disk
To: Ignatios Souvatzis <>
From: Soren S. Jorvang <>
List: tech-kern
Date: 01/14/2002 20:32:14
On Mon, Jan 14, 2002 at 08:22:44PM +0100, Ignatios Souvatzis wrote:
> > What would be nice is if we could pass info about the spun up/down state
> > further up the kernel, so we could create a class of operations which
> > happen when the disk is spun up, but not when it's spun down. That way we
> > could update atime when the disk is up, but not when it's down.
> Doesn't work for ATA disks - as I understand, the disk handles the stuff
> itself, you can only set the timeouts for the downpower transitions, and
> it powers up automatically (at least if "down" wasn't too "down").

But the timeout could also be implemented in the kernel.. This would
also mean that the same code would work for SCSI disks.