Re: [Qemu-devel] [PATCH] rbd: hook up cache options

2012-05-22 Thread Josh Durgin
On 05/22/2012 02:18 AM, Paolo Bonzini wrote: Il 17/05/2012 22:42, Josh Durgin ha scritto: + * Fallback to more conservative semantics if setting cache + * options fails. Ignore errors from setting rbd_cache because the + * only possible error is that the option does not exist, and +

Re: [Qemu-devel] [PATCH] rbd: hook up cache options

2012-05-22 Thread Paolo Bonzini
Il 17/05/2012 22:42, Josh Durgin ha scritto: > + * Fallback to more conservative semantics if setting cache > + * options fails. Ignore errors from setting rbd_cache because the > + * only possible error is that the option does not exist, and > + * librbd defaults to no caching. If

Re: [Qemu-devel] [PATCH] rbd: hook up cache options

2012-05-22 Thread Kevin Wolf
Am 17.05.2012 22:42, schrieb Josh Durgin: > 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 Thanks, applied to the block-next branch for

[Qemu-devel] [PATCH] rbd: hook up cache options

2012-05-17 Thread Josh Durgin
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 --- block/rbd.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) di