On Mon, Jun 22, 2015 at 08:27:09PM +0200, Vratislav Podzimek wrote:
Determining parameters of the cache automagically is hard, but if users tell use
s/use/us/
+def cachepool_default_md_size(cache_size):
needs a docstring
- # according to lvmcache(7)
- return max(cache_size / 1000, LVM_MIN_CACHE_MD_SIZE)
+def cachepool_create(vg_name, lv_name, data_size, md_size, mode, pvs):
- """Create a cache pool LV with the given parameters"""
docstring for the args.
+def lvcreate_cached(vg_name, lv_name, lv_size, cache_data_size, cache_md_size,
mode, slow_pvs, fast_pvs):- """Create a cached LV with the given parameters"""
same