1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/metadata
David Teigland 81fe045714 cache: change default cachevol metadata sizes
The first part of a cachevol LV is used for metadata,
and the rest of the space is used for data.  The
division of space between metadata and data depends
on the total size of the cachevol.

The previous division gave more space than needed to
metadata, it was:

cachevol size 8M to 128M -> metadata size 16M *
cachevol size 128M to 1G -> metadata size 32M
cachevol size 1G and up  -> metadata size 64M

(* if this resulted in over half the LV used as
metadata, then half the cachevol would be used
for metadata, and the other half for data.)

The division of space now gives less space to
metadata, it is:

cachevol size 8M to 16M  -> metadata size 4M
cachevol size 16M to 4G  -> metadata size 8M
cachevol size 4G to 16G  -> metadata size 16M
cachevol size 16G to 32G -> metadata size 32M
cachevol size 32G and up -> metadata size 64M
2019-10-15 14:36:03 -05:00
..
cache_manip.c cache: change default cachevol metadata sizes 2019-10-15 14:36:03 -05:00
lv_alloc.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lv_manip.c cachevol: use lv_cache_remove 2019-10-14 15:20:25 +02:00
lv.c writecache: use dm suffixes and lv attributes 2019-09-20 14:08:51 -05:00
lv.h Remove unused clvm variations for active LVs 2018-06-07 16:17:04 +01:00
merge.c lvconvert: cachevol LV can have multiple segments 2019-09-20 09:59:37 -05:00
metadata-exported.h cache: change cachevol flags for backward compat 2019-10-15 09:05:52 -05:00
metadata.c allow activating known LVs when other LVs have unknown segtypes 2019-10-15 14:34:53 -05:00
metadata.h vgck: let updatemetadata repair mismatched metadata 2019-10-11 12:57:39 -05:00
mirror.c pvmove: remove some cmirror related code 2019-10-11 11:31:42 -05:00
pool_manip.c cache: change cachevol flags for backward compat 2019-10-15 09:05:52 -05:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_manip.c pvresize: add missing return 2018-06-08 14:36:56 +02:00
pv_map.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
pv_map.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
pv.c lvmcache: renaming functions and variables 2019-08-16 13:26:11 -05:00
pv.h metadata: import device name hint from metadata 2019-09-30 11:38:10 -05:00
raid_manip.c cleanup: use unsigned type 2019-05-03 13:17:22 +02:00
segtype.c segtype: add linear 2018-06-05 16:23:18 +02:00
segtype.h Add dm-writecache support 2018-11-06 14:18:41 -06:00
snapshot_manip.c lv_manip: add synchronizations 2019-08-26 15:32:19 +02:00
takeover_matrix.h lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
thin_manip.c lv_manip: add synchronizations 2019-08-26 15:32:19 +02:00
vdo_manip.c vdo: introduce get_vdo_write_policy_name 2019-10-04 17:31:55 +02:00
vg.c improve reading and repairing vg metadata 2019-06-07 15:54:04 -05:00
vg.h metadata: include description with command in metadata areas 2019-06-20 16:09:05 -05:00
writecache_manip.c writecache: move code into new file 2019-09-24 15:51:05 -05:00