1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Milan Broz 4b13d5a823 Fix snapshot segment import to not use duplicate segments & replace.
The snapshot segment (snapshotX) is created twice
during the text metadata segment processing.

This can cause temporary violation of max_lv count.

Simplify the code, snapshot segment is properly initialized
in init_snapshot_seg function now and do not need to be replaced
by vg_add_snapshot call.

The vg_add_snapshot() is now usefull only for adding new
snapshot and it shares the same initialization function.

The snapshot name is always generated, name paramater can be
removed from function call.
2009-05-13 21:21:58 +00:00
..
activate Do not query nonexistent devices for readahead. 2009-05-13 14:13:54 +00:00
cache Fix pool leak in lvmcache_read_vg error path. 2009-04-24 12:03:55 +00:00
commands Fix error message when archive initialization fails. 2009-04-02 20:46:11 +00:00
config fix some issues when compiling with -D DEBUG_POOL 2009-03-26 09:25:18 +00:00
datastruct more missing bits 2008-11-04 14:57:06 +00:00
device Missed file from previous checkin. 2009-03-17 14:40:00 +00:00
display Added displayable_lvs_in_vg and lv_is_displayable functions to deal with 2008-12-04 15:54:26 +00:00
error Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
filters Add MMC device type to filters. 2009-04-16 10:16:14 +00:00
format1 Fix snapshot segment import to not use duplicate segments & replace. 2009-05-13 21:21:58 +00:00
format_pool Remove snapshot_count from VG and use function instead. 2009-05-12 19:12:09 +00:00
format_text Fix snapshot segment import to not use duplicate segments & replace. 2009-05-13 21:21:58 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Provide da and mda locations in debug message when writing text format label. 2009-02-20 23:19:28 +00:00
locking Remove NON_BLOCKING lock flag from tools and set a policy to auto-set. 2009-05-13 13:02:52 +00:00
log more tweaking to get things to compile - dmlib.h for log fns, list.h 2008-11-03 18:59:59 +00:00
metadata Fix snapshot segment import to not use duplicate segments & replace. 2009-05-13 21:21:58 +00:00
mirror Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
misc Attempt cleanup in child before execing new binary in exec_cmd() 2009-02-28 00:54:06 +00:00
mm fix setpriority int error 2008-05-28 23:12:45 +00:00
report Remove snapshot_count from VG and use function instead. 2009-05-12 19:12:09 +00:00
snapshot Fix snapshot segment import to not use duplicate segments & replace. 2009-05-13 21:21:58 +00:00
striped Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
uuid Add generic function to read /dev/urandom, used in uuid calculation. 2008-12-07 04:23:37 +00:00
zero Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
Makefile.in Detect and wipe swap signatures in pvcreate. 2009-03-17 13:59:56 +00:00