1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

thin: fix lvchange of discards and zero flag

Reload of thin-pool origin_only is designed to only post messages
to a thin-pool. It's not intended to be used for reload of thin-pool
table. Fix it by using standard call  'lv_update_and_reload()'.
This commit is contained in:
Zdenek Kabelac 2016-04-23 21:09:09 +02:00
parent c2c2721d00
commit 0e8449a5b9
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.166 -
=====================================
Fix lvchange --discard|--zero for active thin-pool.
Enforce 4MiB or 25% metadata free space for thin pool operations.
Fix lock-holder device for thin pool with inactive thin volumes.
Use --alloc normal for mirror logs even if the mimages were stricter.

View File

@ -136,7 +136,7 @@ static int _lvchange_pool_update(struct cmd_context *cmd,
if (!update)
return 0;
if (!lv_update_and_reload_origin(lv))
if (!lv_update_and_reload(lv))
return_0;
return 1;