Re: serialize access to ide device

From: Jens Axboe
Date: Sat Aug 21 2004 - 11:23:27 EST


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.

--
Jens Axboe

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