Re: [Patch available] SCSI-Idle for 2.2.0

Jon Evans (jon@evansoft.demon.co.uk)
Thu, 21 Jan 1999 16:47:03 +0000 (GMT)


On Thu, 21 Jan 1999, Sylvain Pion wrote:

> On Thu, Jan 21, 1999 at 02:16:46AM +0000, Jon Evans wrote:
> > I've tweaked scsi-idle-2.0.36 and turned it into scsi-idle-2.2.0-pre7.
> > Seems to work great. I even have my swap partition on my scsi drive.
> >
> > Where should I send the tarball?
>
> AFAIK, the 2.1.127p3 version still works perfectly, you can find it at:
> http://www-sop.inria.fr/prisme/personnel/pion/progs/linux/
> Renaming it "2.2" and putting it on sunsite would be a good idea...

I did a search for "scsi-idle linux" on infoseek and www.linux.org, and
only came up with the patches on sunsite. Sorry.

> 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. Hopefully, that one would be includable ;-)

I hope so too.

I downloaded your patch and it has more stuff in it than mine. :-)

+ SCpnt->use_sg = 0; /* No scatter/gather for
START_STOP */
+ SCpnt->bufflen = 0; /* No response for START_STOP */

^^^^^^^^^^^^^^^^^^^
Is this what you have to do to be able to pass NULL as the buffer argument
to scsi_do_cmd (see my other message on this topic)?

Jon.

-- 
Jon Evans

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