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:
parent
5ee1727f80
commit
3e547fa952
@ -171,9 +171,10 @@ void cache_check_for_warns(const struct lv_segment *seg)
|
||||
log_warn("WARNING: Data redundancy could be lost with writeback "
|
||||
"caching of raid logical volume!");
|
||||
|
||||
if (lv_is_thin_pool_data(seg->lv))
|
||||
log_warn("WARNING: Cached thin pool's data cannot be currently "
|
||||
"resized and require manual uncache before resize!");
|
||||
if (lv_is_thin_pool_data(seg->lv)) {
|
||||
log_warn("WARNING: thin pool data will not be automatically extended when cached.");
|
||||
log_warn("WARNING: manual splitcache is required before extending thin pool data.");
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user