Am 01.05.2012 10:39, schrieb Stefan Hajnoczi: > On Tue, May 1, 2012 at 7:16 AM, Josh Durgin <josh.dur...@dreamhost.com> wrote: >> Change the write flag to an operation type in RBDAIOCB, and make the >> buffer optional since discard doesn't use it. >> >> Discard is first included in librbd 0.1.2 (which is in Ceph 0.46). >> If librbd is too old, leave out qemu_rbd_aio_discard entirely, >> so the old behavior is preserved. >> >> Signed-off-by: Josh Durgin <josh.dur...@dreamhost.com> >> --- >> block/rbd.c | 89 >> ++++++++++++++++++++++++++++++++++++++++++++++++---------- >> 1 files changed, 73 insertions(+), 16 deletions(-) > > Reviewed-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>
Thanks, applied to the block branch. Kevin