1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/misc
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
..
crc_gen.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
crc.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
crc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
intl.h doc: change fsf address 2016-01-21 12:11:37 +01:00
last-path-component.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lib.h headers: use configure.h as 1st. header 2018-12-14 15:09:13 +01:00
lvm-exec.c Merge branch 'master' into 2018-05-11-fork-libdm 2018-05-16 13:43:02 +01:00
lvm-exec.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-file.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
lvm-file.h log: separate output and make it possible to use given FDs 2016-08-09 18:24:45 +02:00
lvm-flock.c locking: unify global lock for flock and lockd 2019-04-29 13:01:05 -05:00
lvm-flock.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-globals.c pvscan: disable sleeping and retrying for udev 2019-08-16 14:41:26 -05:00
lvm-globals.h pvscan: disable sleeping and retrying for udev 2019-08-16 14:41:26 -05:00
lvm-maths.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-maths.h lib: Move lcm and gcd to lib/misc for wider use. 2016-08-18 14:06:13 +01:00
lvm-percent.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-percent.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-signal.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-signal.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-string.c vdo: enhance activation with layer -vpool 2019-09-17 13:17:19 +02:00
lvm-string.h lvm-string: add function to detect component LV suffix 2017-12-19 15:28:07 +01:00
lvm-wrappers.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-wrappers.h fix: make udev_get_library_context available also for non-udev compilations 2016-04-01 15:35:22 +02:00
sharedlib.c lvm: drop usage of dl library 2018-12-17 10:36:52 +01:00
sharedlib.h lvm: drop usage of dl library 2018-12-17 10:36:52 +01:00
util.h utils: add clzll 2018-06-22 23:37:02 +02:00