Re: /dev/changer

Jeroen Massar (fuzzel@defiant.cistron.nl)
Wed, 31 Mar 1999 09:24:38 +0200


On 30 Mar 1999, Dennis Moore wrote:

> On Tue, Mar 30, 1999 at 11:03:24AM +0200, Jeroen Massar wrote:
>
> > Currently we only have the following problems:
> > - It's a changer so you technically CAN'T access two slots at the same
> > time. Thus whenever you spool two movies, one from slot 0 and the other
> > from slot 3 the /dev/changer code will keep swapping between them every
> > request. It'll get very slow because of this.
>
> > I'll work on something like a timer or alike (see the source-code) which
> > will fix this by simply only allowing a slotchange every n seconds and
> > thus effectivly allowing datatransfer from/to that slot for that time.
>
> while this one is for atapi/ide(?), my scsi changer faces this same
> problem. not only does it constantly swap, it also pegs the cpu. are there
> any plans to resolve this in the scsi drivers?
>
Wellps, it should work for both atapi/ide AND scsi changers. I'm currently
busy implementing some way of delay/queueing so hold on your pants :)

Greets,
Jeroen Massar

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