1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
Zdenek Kabelac b493811968 cache: introduce cache_pool_max_chunks
Introduce 'hard limit' for max number of cache chunks.
When cache target operates with too many chunks (>10e6).

When user is aware of related possible troubles he
may increase the limit in lvm.conf.

Also verbosely inform user about possible solution.

Code works for both lvcreate and lvconvert.

Lvconvert fully supports change of chunk_size when caching LV
(and validates for compatible settings).
2016-08-29 20:47:31 +02:00
..
config_settings.h cache: introduce cache_pool_max_chunks 2016-08-29 20:47:31 +02:00
config.c cache: introduce cache_pool_max_chunks 2016-08-29 20:47:31 +02:00
config.h cache: introduce cache_pool_max_chunks 2016-08-29 20:47:31 +02:00
defaults.h cache: introduce cache_pool_max_chunks 2016-08-29 20:47:31 +02:00