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

cache: improve warning message about cached thin data

This commit is contained in:
David Teigland 2018-11-05 16:08:31 -06:00
parent 5ee1727f80
commit 3e547fa952

View File

@ -171,9 +171,10 @@ void cache_check_for_warns(const struct lv_segment *seg)
log_warn("WARNING: Data redundancy could be lost with writeback " log_warn("WARNING: Data redundancy could be lost with writeback "
"caching of raid logical volume!"); "caching of raid logical volume!");
if (lv_is_thin_pool_data(seg->lv)) if (lv_is_thin_pool_data(seg->lv)) {
log_warn("WARNING: Cached thin pool's data cannot be currently " log_warn("WARNING: thin pool data will not be automatically extended when cached.");
"resized and require manual uncache before resize!"); log_warn("WARNING: manual splitcache is required before extending thin pool data.");
}
} }
/* /*