1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac 00a45ca491 thin: new pool is activated without overlay
Activate of new/unused/empty thin pool volume skips
the 'overlay' part and directly provides 'visible' thin-pool LV to the user.

Such thin pool still gets 'private' -tpool UUID suffix for easier
udev detection of protected lvm2 devices, and also gets udev flags to
avoid any scan.

Such pool device is 'public' LV with regular /dev/vgname/poolname link,
but it's still 'udev' hidden device for any other use.

To display proper active state we need to do few explicit tests
for this condition.

Before it's used for any lvm2 thin volume, deactivation is
now needed to avoid any 'race' with external usage.
2014-11-04 15:29:22 +01:00
..
activate thin: new pool is activated without overlay 2014-11-04 15:29:22 +01:00
cache lvmcache: Skip VG_GLOBAL cache lock state update. 2014-10-07 01:15:43 +01:00
cache_segtype segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
commands segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
config sparse: configurable type for sparse volumes 2014-10-30 23:58:48 +01:00
datastruct cleanup: consolidate lv_layout and lv_role reporting 2014-08-25 16:14:40 +02:00
device device: Fix BLKSSZGET definition check. 2014-10-13 18:15:41 +01:00
display segments: introduce lvseg_name 2014-10-24 16:39:30 +02:00
error segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
filters filters: change return code 2014-11-03 14:19:32 +01:00
format1 thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
format_pool thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
format_text thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
freeseg segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
label debug: drop printing debug trace without labeler 2014-09-24 10:54:48 +02:00
locking file-locking: skip locking of VG_SYNC_NAMES 2014-10-24 16:39:30 +02:00
log report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
metadata thin: check for new pool before creating thin volume 2014-11-04 15:29:19 +01:00
mirror segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
misc sparse: configurable type for sparse volumes 2014-10-30 23:58:48 +01:00
mm valgrind: don't eat mem with valgrind 2014-09-28 13:49:01 +02:00
properties report: add separate fields for PV/VG/LV attributes 2014-07-04 15:40:17 +02:00
raid segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
replicator cleanup: drop default implementation 2014-10-24 16:39:31 +02:00
report cleanup: use lv_is_pool 2014-11-03 14:19:34 +01:00
snapshot segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
striped segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
thin segments: mark more of them unzeroable 2014-10-24 16:39:32 +02:00
unknown segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
uuid cleanup: drop unused define 2014-03-12 19:12:34 +01:00
zero segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
Makefile.in filters: add "usable device" filter 2014-09-30 13:11:58 +02:00