Searched hist:"787 f3133" (Results 1 – 1 of 1) sorted by relevance
/qemu/block/ |
H A D | rbd.c | 787f3133 Tue May 01 06:16:45 GMT 2012 Josh Durgin <josh.durgin@dreamhost.com> 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>
|