1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-31 05:47:43 +03:00
Zdenek Kabelac a125a3bb50 lv_remove: reduce commits for removed LVs
This patch postpones update of lvm metadata for each removed
LV for later moment depending on LV type.

It also queues messages to be printed after such write & commit.

As such there is some change in the behavior - although before
prompt we do make  write&commit happens automatically in some
other error case we rather keep 'existing' state - so there
could be difference in amount of removed & commited LVs.

IMHO introduce logic is slightly better and more save.

But some cases still need the early commit - i.e. thin-removal
and fixing this needs some more thinking.

TODO: improve removal at least with the case of the whole thin-pool.
i.e. we can simply recognize removal of 'all LVs/whole VG'.
2021-03-08 15:25:05 +01:00
..
2021-03-02 22:57:35 +01:00
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00
2019-02-28 10:30:54 -06:00
2021-02-08 23:43:38 +01:00
2021-02-23 16:43:32 -06:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2021-02-08 23:43:38 +01:00
2018-06-08 13:40:53 +01:00
2021-02-17 11:21:35 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2021-02-23 16:43:32 -06:00