On 06/08/2016 08:10 AM, Kevin Wolf wrote: > If block drivers say that they can do an alignment < 512 bytes, let's > just suppose they mean it. raw-posix used to be an offender with respect > to this, but it can actually deal with byte-aligned requests now. > > The default is still 512 bytes for any drivers that only implement > sector-based interfaces, but it is 1 now for drivers that implement > .bdrv_co_preadv. > > Signed-off-by: Kevin Wolf <[email protected]> > --- > block.c | 2 +- > block/io.c | 8 +++----- > 2 files changed, 4 insertions(+), 6 deletions(-) >
Reviewed-by: Eric Blake <[email protected]> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
