<div dir="ltr">Looking at the code in master (and ignoring tests), the only drivers I see reference to volume_clear are the LVM and block device drivers:<div><br></div><div><div>$ git grep -l volume_clear</div><div>driver.py</div><div>drivers/block_device.py</div><div>drivers/lvm.py</div><div>utils.py</div></div><div><br></div><div>So other drivers (netapp, smb, gluster, and of course Ceph/RBD) simply ignore this option (or more accurately, don't take any action).</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 4, 2015 at 8:52 AM, Chris Friesen <span dir="ltr"><<a href="mailto:chris.friesen@windriver.com" target="_blank">chris.friesen@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 11/04/2015 08:46 AM, Saverio Proto wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello there,<br>
<br>
I am using cinder with rbd, and most volumes are created from glance<br>
images on rbd as well.<br>
Because of ceph features, these volumes are CoW and only blocks<br>
different from the original parent image are really written.<br>
<br>
Today I am debugging why in my production system deleting cinder<br>
volumes gets very slow. Looks like the problem happens only at scale,<br>
I can't reproduce it on my small test cluster.<br>
<br>
I read all the cinder.conf reference, and I found this default value<br>
=>   volume_clear=0.<br>
<br>
Is this parameter evaluated when cinder works with rbd ?<br>
</blockquote>
<br></span>
I don't think that's actually used with rbd, since as you say Ceph uses CoW internally.<br>
<br>
I believe it's also ignored if you use LVM with thin provisioning.<span><font color="#888888"><br>
<br>
Chris</font></span><div><div><br>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>David W.</div>Unix, because every barista in Seattle has an MCSE.</div></div>
</div></div>