aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/core.c
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@dreamhost.com>2012-04-30 23:16:45 -0700
committerKevin Wolf <kwolf@redhat.com>2012-05-02 18:41:42 +0200
commit787f31330eb51ef7621d7c316b90262c7bb5d6d3 (patch)
treea1e2f657dfafcfbd1e6fe8fde1ccbb8c95d14dec /hw/ide/core.c
parent647cc472232608f268fe48da78bea81e6d01b1ea (diff)
rbd: add discard support
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.durgin@dreamhost.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/core.c')
0 files changed, 0 insertions, 0 deletions