1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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
..
activate cachevol: drop no longer needed functions 2019-10-14 15:20:25 +02:00
cache vgck: let updatemetadata repair mismatched metadata 2019-10-11 12:57:39 -05:00
cache_segtype cachevol: add dm uuid suffixes to hidden lvs 2019-09-20 09:59:37 -05:00
commands activation: use cmd pending mem for pending_delete 2019-08-27 15:54:42 +02:00
config vdo: raise VDO default bio threads to 4 2019-10-04 17:31:55 +02:00
datastruct build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
device bcache: change log level for prefetch message 2019-09-03 12:02:09 -05:00
display display: try to show status for inactive vdopool 2019-10-04 17:31:55 +02:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters devs: rename dev_is_md dev_is_md_component 2019-05-21 11:44:39 -05:00
format_text cache: change cachevol flags for backward compat 2019-10-15 09:05:52 -05:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
label hints: check for malloc failure 2019-08-28 12:41:57 -05:00
locking vgremove: remove internal lvmlock LV 2019-10-04 12:01:30 -05:00
log logging: remove unused code 2019-02-28 10:30:54 -06:00
lvmpolld device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
metadata cache: change default cachevol metadata sizes 2019-10-15 14:36:03 -05:00
mirror pvmove: remove some cmirror related code 2019-10-11 11:31:42 -05:00
misc cachevol: put _cvol as protected suffix. 2019-10-14 15:16:05 +02:00
mm memlock: extend exception list 2018-07-02 10:24:20 +02:00
notify build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
report vdo: add lvs fields to query vdo volume properties 2019-10-04 17:31:55 +02:00
snapshot Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
vdo vdo: remember configure VDO write policy in metadata 2019-10-04 17:31:55 +02:00
writecache cachevol: put _cvol as protected suffix. 2019-10-14 15:16:05 +02:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in writecache: move code into new file 2019-09-24 15:51:05 -05:00