Re: [PATCH] Mostly PAGE_SIZE IO for RAW (NEW VERSION)

From: Andrea Arcangeli (andrea@suse.de)
Date: Sat Jan 12 2002 - 08:14:11 EST


On Fri, Jan 11, 2002 at 03:51:08PM -0800, Badari Pulavarty wrote:
> + iosize = PAGE_SIZE - offset;

BTW, I'd be careful with true PAGE_SIZE I/O, PAGE_SIZE can be easily as
large as 32k and not every driver is been tested to digest a b_size of
32k, so I'd use 4k instead, noop for x86 so I think you won't mind to go
safe here :). I'd define a RAWIO_BLOCKSIZE in iobuf.h defined to 4096.

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



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:38 EST