[lvm-devel] [PATCH 0/5] Refactor vgremove and move orphan lock inside library, v2

Dave Wysochanski dwysocha at redhat.com
Fri Jul 10 15:38:50 UTC 2009


The following 5 patches refactor vgremove and move the orphan lock inside
a few library calls.  After these patches we will have vgcreate, vgremove,
and vgextend library calls.  The last few patches also reorders VG orphan
locks and VG name locks consistently throughout the code.  Now VG orphan
locks are obtained second.  Previously in most cases they were obtained
first, but in at least one case (vgreduce) they were second.

Passes testsuite and applies on:
commit 7e7274b002956a377d1f02c97d2ba96f4da1de59
Author: Alasdair Kergon <agk at redhat.com>
Date:   Fri Jul 10 09:59:37 2009 +0000

    Add dm_log_with_errno and dm_log_with_errno_init, deprecating the old
    Change plog to use dm_log_with_errno unless deprecated dm_log_init was
used.
    Rename plog macro to LOG_LINE and use in dm_dump_memory_debug.





More information about the lvm-devel mailing list