mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
thin: don't use writecache for poolmetadata
This commit is contained in:
parent
cba06012ac
commit
db1d66859f
@ -3104,8 +3104,9 @@ static int _lvconvert_to_pool(struct cmd_context *cmd,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* FIXME Tidy up all these type restrictions. */
|
||||
/* FIXME Tidy up all these type restrictions. (Use a type whitelist?) */
|
||||
if (lv_is_cache_type(metadata_lv) ||
|
||||
lv_is_writecache(metadata_lv) ||
|
||||
lv_is_thin_type(metadata_lv) ||
|
||||
lv_is_cow(metadata_lv) || lv_is_merging_cow(metadata_lv) ||
|
||||
lv_is_origin(metadata_lv) || lv_is_merging_origin(metadata_lv) ||
|
||||
|
Loading…
Reference in New Issue
Block a user