lkml.org 
[lkml]   [2002]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.5.44-ac3, cciss, more scatter gather elements
On Fri, Oct 25 2002, Jens Axboe wrote:
> } else {
> new_segment:
> - memset(&sg[nsegs],0,sizeof(struct scatterlist));
> - sg[nsegs].page = bvec->bv_page;
> - sg[nsegs].length = nbytes;
> - sg[nsegs].offset = bvec->bv_offset;
> -
> + sg.page = bvec->bv_page;
> + sg.offset = bvec->bv_offset;
> + sg.length = nbytes;
> + map(q, &sg, nsegs, cookie);
if (sgprev)
map(q, sgprev, nsegs, cookie);

of course, and likewise for the cluster check. I'll cut a clean version
tomorrow, I'm out for today..

--
Jens Axboe

-
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:30    [W:0.025 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site