Re: [RFC PATCH 2/3] tcm_iscsi: support multiple sizes in the scatterlist

2012-09-05 Thread Nicholas A. Bellinger
On Wed, 2012-09-05 at 17:13 +0200, Paolo Bonzini wrote: > The next patch will use multiple orders to satisfy the allocation > of the data buffers. > > We need to support this in iscsi_map_iovec and iscsi_unmap_iovec. > The idea here is to walk each relevant page in the scatterlist > (which may

[RFC PATCH 2/3] tcm_iscsi: support multiple sizes in the scatterlist

2012-09-05 Thread Paolo Bonzini
The next patch will use multiple orders to satisfy the allocation of the data buffers. We need to support this in iscsi_map_iovec and iscsi_unmap_iovec. The idea here is to walk each relevant page in the scatterlist (which may not be every page in the scatterlist due to data_offset) and kmap it.

Re: [RFC PATCH 2/3] tcm_iscsi: support multiple sizes in the scatterlist

2012-09-05 Thread Nicholas A. Bellinger
On Wed, 2012-09-05 at 17:13 +0200, Paolo Bonzini wrote: The next patch will use multiple orders to satisfy the allocation of the data buffers. We need to support this in iscsi_map_iovec and iscsi_unmap_iovec. The idea here is to walk each relevant page in the scatterlist (which may not be

[RFC PATCH 2/3] tcm_iscsi: support multiple sizes in the scatterlist

2012-09-05 Thread Paolo Bonzini
The next patch will use multiple orders to satisfy the allocation of the data buffers. We need to support this in iscsi_map_iovec and iscsi_unmap_iovec. The idea here is to walk each relevant page in the scatterlist (which may not be every page in the scatterlist due to data_offset) and kmap it.