Re: [Qemu-devel] [PATCH v3 10/29] block: Introduce bdrv_co_do_preadv()

2014-01-21 Thread Benoît Canet
Le Friday 17 Jan 2014 à 15:15:00 (+0100), Kevin Wolf a écrit : > Similar to bdrv_pread(), which aligns byte-aligned request to 512 byte > sectors, bdrv_co_do_preadv() takes a byte-aligned request and aligns it > to the alignment specified in bs->request_alignment. > > Signed-off-by: Kevin Wolf >

Re: [Qemu-devel] [PATCH v3 10/29] block: Introduce bdrv_co_do_preadv()

2014-01-17 Thread Max Reitz
On 17.01.2014 15:15, Kevin Wolf wrote: Similar to bdrv_pread(), which aligns byte-aligned request to 512 byte sectors, bdrv_co_do_preadv() takes a byte-aligned request and aligns it to the alignment specified in bs->request_alignment. Signed-off-by: Kevin Wolf --- block.c | 64 +++

[Qemu-devel] [PATCH v3 10/29] block: Introduce bdrv_co_do_preadv()

2014-01-17 Thread Kevin Wolf
Similar to bdrv_pread(), which aligns byte-aligned request to 512 byte sectors, bdrv_co_do_preadv() takes a byte-aligned request and aligns it to the alignment specified in bs->request_alignment. Signed-off-by: Kevin Wolf --- block.c | 64 +