master - cachevol: add LV type restrictions to command defs
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7a507583d97c1f4b11d5f1a94958f65cf42b6f9f Commit: 7a507583d97c1f4b11d5f1a94958f65cf42b6f9f Parent: 085760992dc68efbda8fe8e1ad4a5a2eccef9139 Author: David Teigland <[email protected]> AuthorDate: Thu Jul 23 15:10:35 2020 -0500 Committer: David Teigland <[email protected]> CommitterDate: Thu Jul 23 15:10:35 2020 -0500
cachevol: add LV type restrictions to command defs
LV type restrictions were missed on the command definitions.
--- tools/command-lines.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/command-lines.in +2 -2
@@ -498,13 +498,13 @@ FLAGS: SECONDARY_SYNTAX --- -lvconvert --type writecache --cachedevice PV LV +lvconvert --type writecache --cachedevice PV LV_linear_striped_raid OO: OO_LVCONVERT, --cachesize SizeMB, --cachesettings String ID: lvconvert_to_writecache_with_device DESC: Add a writecache to an LV, using a specified cache device. RULE: all and lv_is_visible -lvconvert --type cache --cachedevice PV LV +lvconvert --type cache --cachedevice PV LV_linear_striped_raid_thinpool OO: OO_LVCONVERT, --cachesize SizeMB, --cachesettings String ID: lvconvert_to_cache_with_device DESC: Add a cache to an LV, using a specified cache device.