14 Mar
2002
14 Mar
'02
11:47
On Thu, Mar 14 2002, Jens Axboe wrote:
An easy way to get it working would be to allocate a dummy buffer_head string set where the b_page's of (at least some of them) line up. IIRC,
That wouldn't even be necessary, btw, just single pages will do. A packet is 64kB, ie 64kB >> PAGE_SHIFT == 16 segments (for x86). This is exactly what the adapter can handle. If the buffer strings always line up, then bhN and bhN + 1 will map to the same page in b_page (only b_data will be offset in bhN + 1). -- Jens Axboe