Home
last modified time | relevance | path

Searched hist:"23 b0d9fb1dd39d85fc2e0cabba5cbe005126e7b5" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/block/
H A Dio.cdiff 23b0d9fb1dd39d85fc2e0cabba5cbe005126e7b5 Fri Jun 03 09:45:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Don't enforce 512 byte minimum alignment

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 <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/
H A Dblock.cdiff 23b0d9fb1dd39d85fc2e0cabba5cbe005126e7b5 Fri Jun 03 09:45:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Don't enforce 512 byte minimum alignment

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 <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>