]> git.proxmox.com Git - mirror_qemu.git/commit - block/rbd.c
rbd: hook up cache options
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 17 May 2012 20:42:29 +0000 (13:42 -0700)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Jun 2012 12:03:42 +0000 (14:03 +0200)
commitb11f38fcdf837c6ba1d4287b1c685eb3ae5351a8
treee4b8bc9573bd38b7ee5a842cac01c6fc955031e6
parent166acf546f476d3594a1c1746dc265f1984c5c85
rbd: hook up cache options

Writeback caching was added in Ceph 0.46, and writethrough will be in
0.47. These are controlled by general config options, so there's no
need to check for librbd version.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/rbd.c