Re: [PATCH 04/16] virtio-blk: use virtqueue_start_buf on bio path

2013-02-20 Thread Rusty Russell
Asias He writes: > On 02/19/2013 03:56 PM, Rusty Russell wrote: >> (This is a respin of Paolo Bonzini's patch, but it calls >> virtqueue_add_sgs() instead of his multi-part API). ... > (This subject needs to be changed to reflect using of virtqueue_add_sgs) Thanks, done. >> -static inline int _

Re: [PATCH 04/16] virtio-blk: use virtqueue_start_buf on bio path

2013-02-20 Thread Asias He
On 02/19/2013 03:56 PM, Rusty Russell wrote: > (This is a respin of Paolo Bonzini's patch, but it calls > virtqueue_add_sgs() instead of his multi-part API). > > Move the creation of the request header and response footer to > __virtblk_add_req. vbr->sg only contains the data scatterlist, > the h

[PATCH 04/16] virtio-blk: use virtqueue_start_buf on bio path

2013-02-19 Thread Rusty Russell
(This is a respin of Paolo Bonzini's patch, but it calls virtqueue_add_sgs() instead of his multi-part API). Move the creation of the request header and response footer to __virtblk_add_req. vbr->sg only contains the data scatterlist, the header/footer are added separately using virtqueue_add_sgs