Hide Forgot
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/when-deleting-volume-dd-performance. Description: I had in trouble in cinder volume deleting. I am developing for supporting big data storage such as hadoop in lvm . it use as a full disk io for deleting of cinder lvm volume because of dd The high disk I/O affects the other hadoop instance on same host. So when i delete the volume, i added disk io schduler, ionice Used in the following way. def _copy_volume(self, srcstr, deststr, size_in_g): - self._execute('dd', 'if=%s' % srcstr, 'of=%s' % deststr, + self._execute('ionice', '-c3', 'dd', 'iflag=direct', 'oflag=direct', + 'if=%s' % srcstr, 'of=%s' % deststr, 'count=%d' % (size_in_g * 1024), 'bs=1M', run_as_root=True) Specification URL (additional information): None
Code was merged upstream Tracking for Kilo feature freeze Sean
Did not made it into Kilo, pushing to rhos‑8.0 review, Sean
Was implemented in Kilo, upstream blueprint just isn't in sync yet.
(In reply to Eric Harney from comment #5) > Was implemented in Kilo, upstream blueprint just isn't in sync yet. Although it has been merged in 2014-04-28, It was not flagged as implemented yet. Might get pushed to rhos-8.0, Sean
This has existed since Icehouse. Set volume_clear_ionice to "-c3" or similar to test.