diff options
author | David Teigland <teigland@redhat.com> | 2020-09-02 14:45:52 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2020-09-02 14:45:52 -0500 |
commit | d8bb85d9638e1b0cad96c654a1e4a61b6d33aa97 (patch) | |
tree | a9c355128414e1403f9e36a43e9615cbdb68f656 /tools/pvmove.c | |
parent | f5a669f3145c92220346871bad4ab1c0149a1cc2 (diff) | |
download | lvm2-d8bb85d9638e1b0cad96c654a1e4a61b6d33aa97.tar.gz |
writecache: allow pvmove on origin
The removed check didn't actually prevent pvmoving the origin,
which was possible by naming the wcorig lv, or naming no lv.
Diffstat (limited to 'tools/pvmove.c')
-rw-r--r-- | tools/pvmove.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/pvmove.c b/tools/pvmove.c index a346b5338..cc512b9de 100644 --- a/tools/pvmove.c +++ b/tools/pvmove.c @@ -626,11 +626,6 @@ static int _pvmove_setup_single(struct cmd_context *cmd, return ECMD_FAILED; } - if (lv_is_writecache(lv)) { - log_error("pvmove not allowed on LV using writecache."); - return ECMD_FAILED; - } - if (lv_is_raid(lv) && lv_raid_has_integrity(lv)) { log_error("pvmove not allowed on raid LV with integrity."); return ECMD_FAILED; |