1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Zdenek Kabelac 8563c3e1a9 thin: check for new pool before creating thin volume
Call check_new_thin_pool() to detect in-use thin-pool.
Save extra reactivation of thin-pool when thin pool is not active.
(it's now a bit more expensive to invoke thin_check for new pools.)

For new pools:

We now active locally exclusively thin-pool as 'public' LV.
Validate transaction_id is till 0.
Deactive.
Prepare create message for thin-pool and exclusively active pool.
Active new thin LV.
And deactivate thin pool if it used to be inactive.
2014-11-04 15:29:19 +01:00
..
cache_manip.c cleanup: correcting tracing 2014-11-03 14:19:34 +01:00
lv_alloc.h thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
lv_manip.c thin: check for new pool before creating thin volume 2014-11-04 15:29:19 +01:00
lv.c segments: introduce lvseg_name 2014-10-24 16:39:30 +02:00
lv.h segments: introduce lvseg_name 2014-10-24 16:39:30 +02:00
merge.c thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
metadata-exported.h thin: add lv_is_new_thin_pool 2014-11-04 15:28:00 +01:00
metadata.c cleanup: extents_from_size is 32bit value 2014-10-30 23:58:49 +01:00
metadata.h thin: validate unused thin pool 2014-11-04 15:28:00 +01:00
mirror.c mirror: extra parsing for mirrorlog arg 2014-10-24 16:39:32 +02:00
pool_manip.c cleanup: use extents to pass size to /lib 2014-11-03 14:19:33 +01:00
pv_alloc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
pv_manip.c pv_manip: check for pe_ranges 2014-10-30 23:58:49 +01:00
pv_map.c logging: classify log_debug messages 2013-01-07 22:30:29 +00:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_vg_name: do not expose internal orphans to lvm2 users 2014-03-19 00:57:59 +01:00
pv.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
raid_manip.c raid: query lock holder 2014-10-24 16:39:31 +02:00
replicator_manip.c cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h segtype: drop cmdcontex pointer 2014-10-30 23:58:49 +01:00
snapshot_manip.c cleanup: fix typo and use vg mempool 2014-09-24 10:54:47 +02:00
thin_manip.c thin: validate unused thin pool 2014-11-04 15:28:00 +01:00
vg.c vgcreate: Permit non-power-of-2 extent sizes. 2014-10-14 18:12:15 +01:00
vg.h vgcreate: Permit non-power-of-2 extent sizes. 2014-10-14 18:12:15 +01:00