[Laurent Bigonville]
> The discards commands will also be issued when shrinking or moving a LV 
> to an other PV, if something is going wrong during these operations, the 
> data will be lost.
> So it's not only when explicitly removing an LV.

Aha.  I did not have the imagination required to consider that such
commands would be issued before the operation was sccessfully completed.
It seemed to me quite obvious that the space would be released only
after the shrink or move was complete, but if that is not the case, it
seem quite unsafe to trust LVM to handle discard commands.

Happy hacking
Petter Reinholdtsen

Reply via email to