Re: [PATCH] PAGE_SIZE IO for RAW (RAW VARY)

Badari Pulavarty (pbadari@us.ibm.com)
Thu, 10 Jan 2002 13:15:01 -0800 (PST)


>
> > Does this address everyones concerns ? I am willing to work with the
> > drivers I tested/reviewed/verified to make the change to set the flag.
> > As driver owners verify their drivers, could set the flag (in future).
>
> Im just trying to work out how this deals with the 2.4 scsi case
>

Alan,

The issue with my (mostly) PAGE_SIZE RAW IO patch is, it could generate
buffer heads with different b_size in a single IO request. Jens & Ben
have concerns about some of the low level drivers not able to handle
these. (it would be hard to analyse all the drivers to verify this).

So, Andrea suggested we add a flag in "blk_dev" structure. Only the
drivers which support variable size buffer heads in a single IO will
set it. My RAW VARY patch will use this flag to see if I can do
RAW VARY or not. Makes sense ?

Let me know, what you think about this approach.

Regards,
Badari
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/