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

Andrea Arcangeli (andrea@suse.de)
Sat, 12 Jan 2002 14:14:11 +0100


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/


tthread="start" -->