All of lore.kernel.org
 help / color / mirror / Atom feed
* write-through cache
@ 2012-05-23 23:44 Mandell Degerness
  2012-05-24  0:44 ` Josh Durgin
  0 siblings, 1 reply; 2+ messages in thread
From: Mandell Degerness @ 2012-05-23 23:44 UTC (permalink / raw)
  To: ceph-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: write-through cache
  2012-05-23 23:44 write-through cache Mandell Degerness
@ 2012-05-24  0:44 ` Josh Durgin
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Durgin @ 2012-05-24  0:44 UTC (permalink / raw)
  To: Mandell Degerness; +Cc: ceph-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-24  0:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 23:44 write-through cache Mandell Degerness
2012-05-24  0:44 ` Josh Durgin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.