Refactor vgremove and move orphan lock inside library, v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Remove unnecessary parameters from vg_remove_single().lib/ lib/ tools/ | +14 | 0 replies | |
| 2/5 | Remove force parameter from vg_remove_single, now the liblvm function.lib/ lib/ tools/ | +32 | 0 replies | |
| 3/5 | Move orphan lock inside vg_remove_single.lib/ tools/ | +7 | 0 replies | |
| 4/5 | Move orphan lock obtain/release inside vg_extend().lib/ tools/ tools/ | +9 | 0 replies | |
| 5/5 | Change lock ordering of vgcfgrestore to be consistent with other tools.tools/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Refactor vgremove and move orphan lock inside library, v2
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 <[email protected]> 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.