On Wed, Jun 08, 2016 at 04:10:11PM +0200, Kevin Wolf wrote: > diff --git a/block.c b/block.c > index f54bc25..3d850a2 100644 > --- a/block.c > +++ b/block.c > @@ -937,7 +937,7 @@ static int bdrv_open_common(BlockDriverState *bs, > BdrvChild *file, > goto fail_opts; > } > > - bs->request_alignment = 512; > + bs->request_alignment = drv->bdrv_co_preadv ? 1 : 512;
What happens in the raw-posix.c AIO case? There we should still use 512. Stefan
signature.asc
Description: PGP signature