Re: [Qemu-devel] [PATCH v3 11/29] block: Introduce bdrv_aligned_pwritev()

2014-01-21 Thread Benoît Canet
Le Friday 17 Jan 2014 à 15:15:01 (+0100), Kevin Wolf a écrit : > This separates the part of bdrv_co_do_writev() that needs to happen > before the request is modified to match the backend alignment, and a > part that needs to be executed afterwards and passes the request to the > BlockDriver. > > S

[Qemu-devel] [PATCH v3 11/29] block: Introduce bdrv_aligned_pwritev()

2014-01-17 Thread Kevin Wolf
This separates the part of bdrv_co_do_writev() that needs to happen before the request is modified to match the backend alignment, and a part that needs to be executed afterwards and passes the request to the BlockDriver. Signed-off-by: Kevin Wolf Reviewed-by: Max Reitz --- block.c | 62 +++