Re: scsi-idle

Pavel Machek (pavel@bug.ucw.cz)
Sat, 1 Aug 1998 11:40:51 +0200


Hi!

> Nice utility for those of us with noisy and/or hot scsi
> disks.
>
> This new version of scsi-idle (spin down idle scsi disks...) with
> daemon utility (it even compiles and works with glibc!) is slightly
> modified from 2.1.105 which turns out to be a modified version from
> an older one.

Few more quick questions: why do you have special ioctl to get idle
time and why do you measure idle time in kernel? In ide case
(bdflush-1.6.2), we do this in userland using /proc/stat. I would like
to do it similar in scsi case.

Also, we should not need any code in kernel for spindown, scsi generic
device should be enough for this one.

Only remaining issue is spinup, which needs to be in kernel; but I
believe it already is there, anyway (JAZ support).

> This utility has been available for IDE users long time ago and
> it is hard to understand why it is not available for SCSI users...

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.altern.org/andrebalsa/doc/lkml-faq.html