Home
last modified time | relevance | path

Searched hist:b8d71c09f31a9cae248d167dddc75c66d5135ff2 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff b8d71c09f31a9cae248d167dddc75c66d5135ff2 Fri Nov 22 06:39:48 CST 2013 Paolo Bonzini <pbonzini@redhat.com> block: make bdrv_co_do_write_zeroes stricter in producing aligned requests

Right now, bdrv_co_do_write_zeroes will only try to align the
beginning of the request. However, it is simpler for many
formats to expect the block layer to separate both the head *and*
the tail. This makes sure that the format's bdrv_co_write_zeroes
function will be called with aligned sector_num and nb_sectors for
the bulk of the request.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>