Mandell Degerness | 24 May 2012 01:44
Favicon

write-through cache

I would like to test the effect of using the new write-through cache
on RBD volumes mounted to Openstack VMs.  What, precisely, are the
changes I need to make to the volume XML in order to do so?

-Mandell
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Josh Durgin | 24 May 2012 02:44

Re: write-through cache

On 05/23/2012 04:44 PM, Mandell Degerness wrote:
> I would like to test the effect of using the new write-through cache
> on RBD volumes mounted to Openstack VMs.  What, precisely, are the
> changes I need to make to the volume XML in order to do so?

If your only volumes are rbd, you can append 
:rbd_cache=true:rbd_cache_max_dirty=0 to the image name in the volume 
xml, so it would include something like

<source protocol="rbd" 
name="pool/image:rbd_cache=true:rbd_cache_max_dirty=0">

Josh
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane