Le 27/11/2014 11:17, Federico Simoncelli a écrit :
Hi Nicolas,
you can find more information on this at:
https://bugzilla.redhat.com/show_bug.cgi?id=981626
First of all an important note (that was already mentioned): vdsm
is not using lvm.conf, so whatever change you make there it won't
affect vdsm behavior.
Anyway long story short, enabling issue_discards in lvm would lead
to lvm commands starvation when the lv that you're removing is large
and the granularity is small.
The correct solution is to use blkdiscard on the lv and I happened
to submit a patch series for that yesterday:
http://gerrit.ovirt.org/#/q/status:open+project:vdsm+branch:master+topic:...
(very much experimental)
Thank you Frederico,
This sounds very clever and encouraging.
Would it be possible to imagine see it appear in a future 3.6.? release?
--
Nicolas Ecarnot