lkml.org 
[lkml]   [2002]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Mostly PAGE_SIZE IO for RAW (NEW VERSION)
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/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.136 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site