1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/lib
Dave Wysochanski 03660b3045 Move orphan lock inside vg_remove_single.
Move the vg orphan lock inside vg_remove_single, now a complete liblvm
function.  Note that this changes the order of the locks - originally
VG_ORPHAN was obtained first, then the vgname lock.  With the current
policy of non-blocking second locks, this could mean we get a failure
obtaining the orphan lock.  In the case of a vg with lvs being removed,
this could result in the lvs being removed but not the vg.  Such a
scenario could have happened prior though with a different failure.
Other tools were examined for side-effects, and no major problems
were noted.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
2009-07-10 20:08:37 +00:00
..
activate Fix backward compatibility for major:minor query. 2009-06-17 20:55:24 +00:00
cache Fix pool leak in lvmcache_read_vg error path. 2009-04-24 12:03:55 +00:00
commands Make destroy_toolcontext() better able to handle NULL pointers. 2009-07-08 18:12:08 +00:00
config Fix confusing metadata syntax error messages. 2009-07-09 11:29:00 +00:00
datastruct more missing bits 2008-11-04 14:57:06 +00:00
device Check MD devices for a partition table during device scan. 2009-07-09 22:50:45 +00:00
display Continue to make --units and --size consistent (in code and man pages): 2009-07-07 19:28:57 +00:00
error Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
filters Add extended device (blkext) and MD partition (mdp) types to filters. 2009-07-09 22:34:02 +00:00
format1 Merge lv_is_displayable and lv_is_visible. 2009-05-13 21:27:43 +00:00
format_pool Introduce link_lv_to_vg and unlink_lv_from_vg functions. 2009-05-13 21:25:01 +00:00
format_text Fix and precise metadata read errors for segment areas. 2009-07-09 11:29:41 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Make exit paths more robust when some init function fails. 2009-07-08 22:18:32 +00:00
locking Re-instate partial activation support in clustered mode. (mornfall) 2009-06-12 08:30:19 +00:00
log Add dm_log_with_errno and dm_log_with_errno_init, deprecating the old 2009-07-10 09:59:37 +00:00
metadata Move orphan lock inside vg_remove_single. 2009-07-10 20:08:37 +00:00
mirror Fix confusing metadata syntax error messages. 2009-07-09 11:29:00 +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 Pre-release cleanups. 2009-05-21 03:04:52 +00:00
snapshot Fix snapshot segment import to not use duplicate segments & replace. 2009-05-13 21:21:58 +00:00
striped Fix confusing metadata syntax error messages. 2009-07-09 11:29:00 +00:00
uuid Add generic function to read /dev/urandom, used in uuid calculation. 2008-12-07 04:23:37 +00:00
zero Attempt to load dm-zero module if zero target needed but not present. (mbroz) 2009-05-27 13:05:53 +00:00
Makefile.in Build shared parts with 'make' command (mpatocka) 2009-06-03 11:31:06 +00:00