Re: Patch - make config_max_raw_devices work

From: Andrew Morton
Date: Tue Mar 16 2004 - 00:05:44 EST


Anton Blanchard <anton@xxxxxxxxx> wrote:
>
>
> > Badari wrote basically the same patch a couple of months back. I dropped
> > it then, too ;)
> >
> > raw is a deprecated interface and if we keep on adding new features to it,
> > we will never be rid of the thing. If your application requires more than
> > 256 raw devices, please convert it to open the block device directly,
> > passing in the O_DIRECT flag.
>
> We only deprecated this thing on the 4th Feb 2004. I want to see the raw
> driver die but we cant expect apps to change their interfaces in the space
> of a month.

Nobody has complained about the 256-device limit thus far. I fully
expected to lose this one, but I don't think I've bitched about it enough
yet.

> Can we reach a compromise? :)

OK, how about a udelay(10) in each I/O?
-
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/