Re: [Patch available] SCSI-Idle for 2.2.0

Pavel Machek (pavel@bug.ucw.cz)
Fri, 22 Jan 1999 22:14:57 +0100


Hi!

> > For 2.3.x, when stats per devices will be available, I might come up with a
> > smaller patch (namely, the idle time counting will be doable in user space,
> > hopefully). Then the only remaining thing in the kernel would be the spin up
> > code.
>
> Not exactly. Look at Pavel Machek's changes included in the latest bdflush
> release (V1.6, IIRC). This way, spin down/spin up can well be handled in
> user space, using SCSI_IOCTL_{START,STOP}_UNIT in either a seperate
> utility or maybe a patch to hdparm. The only thing really missing as of
> now is a facility reporting per-drive stats (or idle time
> alternatively).

I'd like per-drive statistics much more than idle-time. Per-drive
statistics are more usefull, and bdflush has to wakeup repeatedly so
reading statistics probably will not hurt that much.

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/