1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac 6612d8dd5e vdo: enhance activation with layer -vpool
Enhance 'activation' experience for VDO pool to more closely match
what happens for thin-pools where we do use a 'fake' LV to keep pool
running even when no thinLVs are active. This gives user a choice
whether he want to keep thin-pool running (wihout possibly lenghty
activation/deactivation process)

As we do plan to support multple VDO LVs to be mapped into a single VDO,
we want to give user same experience and 'use-patter' as with thin-pools.

This patch gives option to activate VDO pool only without activating
VDO LV.

Also due to 'fake' layering LV we can protect usage of VDO pool from
command like 'mkfs' which do require exlusive access to the volume,
which is no longer possible.

Note: VDO pool contains 1024 initial sectors as 'empty' header - such
header is also exposed in layered LV (as read-only LV).
For blkid we are indentified as LV with UUID suffix - thus private DM
device of lvm2 - so we do not need to store any extra info in this
header space (aka zero is good enough).
2019-09-17 13:17:19 +02:00
..
activate vdo: enhance activation with layer -vpool 2019-09-17 13:17:19 +02:00
cache fix duplicate pv size check 2019-08-27 15:40:24 -05:00
cache_segtype Use "cachevol" to refer to cache on a single LV 2019-02-27 08:52:34 -06:00
commands activation: use cmd pending mem for pending_delete 2019-08-27 15:54:42 +02:00
config Revert "config: cache_policy should be cfg_runtime" 2019-08-07 11:35:45 -05: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: basic vdo segment lvdisplay and lvs support 2018-07-09 15:28:35 +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 md component detection addition in vg_read 2019-08-16 13:24:34 -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 devices: clean up block size functions 2019-08-07 11:48:10 -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 vdo: enhance activation with layer -vpool 2019-09-17 13:17:19 +02:00
mirror lvmlockd: do not allow mirror LV to be activated shared 2019-04-04 13:21:38 -05:00
misc vdo: enhance activation with layer -vpool 2019-09-17 13:17:19 +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 lvmcache: renaming functions and variables 2019-08-16 13:26:11 -05: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: fix archived metadata comment 2019-01-21 12:37:52 +01:00
writecache remove unused string writecache 2019-05-01 16:50:14 -05:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in add device hints to reduce scanning 2019-01-15 10:23:47 -06:00