Re: [Qemu-devel] [PATCH v2 1/6] block: Fragment reads to max transfer length

2016-07-15 Thread Eric Blake
On 07/14/2016 10:08 PM, Eric Blake wrote: > On 07/08/2016 04:35 PM, Eric Blake wrote: >> Drivers should be able to rely on the block layer honoring the >> max transfer length, rather than needing to return -EINVAL >> (iscsi) or manually fragment things (nbd). This patch adds >> the fragmentation i

Re: [Qemu-devel] [PATCH v2 1/6] block: Fragment reads to max transfer length

2016-07-14 Thread Eric Blake
On 07/08/2016 04:35 PM, Eric Blake wrote: > Drivers should be able to rely on the block layer honoring the > max transfer length, rather than needing to return -EINVAL > (iscsi) or manually fragment things (nbd). This patch adds > the fragmentation in the block layer, after requests have been > al

[Qemu-devel] [PATCH v2 1/6] block: Fragment reads to max transfer length

2016-07-08 Thread Eric Blake
Drivers should be able to rely on the block layer honoring the max transfer length, rather than needing to return -EINVAL (iscsi) or manually fragment things (nbd). This patch adds the fragmentation in the block layer, after requests have been aligned (fragmenting before alignment would lead to mu