Re: serialize access to ide device

From: Bartlomiej Zolnierkiewicz
Date: Sat Aug 21 2004 - 12:16:24 EST


On Saturday 21 August 2004 18:21, Jens Axboe wrote:
> On Sat, Aug 21 2004, Bartlomiej Zolnierkiewicz wrote:
> > On Saturday 21 August 2004 12:32, Jens Axboe wrote:
> > > > What about adding new kind of REQ_SPECIAL request and converting
> > > > set_using_dma(), set_xfer_rate(), ..., to be callback functions for
> > > > this request?
> > > >
> > > > This should be a lot cleaner and will cover 100% cases.
> > >
> > > That will still only serialize per-channel. But yes, a lot cleaner.
> >
> > per hwgroup not per channel
> > (serializing per host device will be better but requires even more work)
>
> Sorry yes hwgroup, that's what I meant. The case I worried about in my
> patch (and noted) is that it doesn't cover per-hwif and neither would a
> special request.

I guess you meant 'per-host' because hwif == channel.

[ You are of course right for about 'per-host' case. ]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/