Messages in this thread | | | Date | Fri, 25 Oct 2002 23:31:45 +0200 | From | Jens Axboe <> | Subject | Re: [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/
| |