Add full metadata balancing support, v5.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest35 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/35 | Change 'filler' to 'flags' in on-disk 'raw_locn' structure.lib/ | +1 | 0 replies | |
| 2/35 | Add text format specific 'rlocn' ignore flag and access functions.include/ lib/ lib/ +1 more | +25 | 0 replies | |
| 3/35 | Add location independent flag and functions to ignore mdas.lib/ lib/ lib/ | +20 | 0 replies | |
| 4/35 | Move dev_open / dev_close outside _vg_read_raw_area().lib/ | +30 | 0 replies | |
| 5/35 | Move dev_open/dev_close outside vgname_from_mda().lib/ lib/ | +13 | 0 replies | |
| 6/35 | Allow raw_read_mda_header to be called from text_label.c.lib/ lib/ lib/ +1 more | +37 | 0 replies | |
| 7/35 | Ensure in-memory state matches on-disk state of mda ignore bit.lib/ lib/ | +5 | 0 replies | |
| 8/35 | Add mda_locn_match() internal library function for mapping pv/device to VG mda.lib/ lib/ lib/ | +52 | 0 replies | |
| 9/35 | Add mda location specific mda_copy constructor.lib/ lib/ lib/ | +42 | 0 replies | |
| 10/35 | Use vg_mda_count() in vgdisplay.lib/ | +1 | 0 replies | |
| 11/35 | Add metadata_areas_ignored list and functions to manage ignored mdas.lib/ lib/ lib/ +4 more | +31 | 0 replies | |
| 12/35 | Define new functions and vgs/pvs fields related to mda ignore.lib/ lib/ lib/ +1 more | +146 | 0 replies | |
| 13/35 | Add --metadataignore to pvchange, allowing for ignoring of metadata areas.tools/ tools/ tools/ | +35 | 0 replies | |
| 14/35 | Update pvchange, pvs and vgs man pages for metadata ignore.man/ man/ man/ | +12 | 0 replies | |
| 15/35 | Implement ignore of mda if bit set by skipping r/w of metadata.lib/ | +6 | 0 replies | |
| 16/35 | Add mdas_empty_or_ignored() helper function.lib/ lib/ | +14 | 0 replies | |
| 17/35 | Use mdas_empty_or_ignored() in place of checks for empty mda list.lib/ lib/ | +20 | 0 replies | |
| 18/35 | Update _vg_read and _text_create_text_instance to use fid_add_mda[s].lib/ lib/ | +12 | 0 replies | |
| 19/35 | Refactor vg_commit() to add _vg_commit_mdas().lib/ | +17 | 0 replies | |
| 20/35 | Before committing each mda, arrange mdas so ignored mdas get committed first.lib/ | +12 | 0 replies | |
| 21/35 | Add tests for phase 1 of metadata balance - manage per-PV ignore bit.test/ | +41 | 0 replies | |
| 22/35 | Define vgmetadatacopies in vgchange man page.man/ | +20 | 0 replies | |
| 23/35 | Add mda_copies to VG structures and initialization.lib/ lib/ lib/ +1 more | +6 | 0 replies | |
| 24/35 | Add vg get/set methods for VG metadata copies.lib/ lib/ | +18 | 0 replies | |
| 25/35 | Make vg->mda_copies persistent in on disk vg metadata.lib/ lib/ | +6 | 1 reply | |
| 25/35 | Make vg->mda_copies persistent in on disk vg metadata. | +0 | 1 reply | |
| 26/35 | Add vg_mda_copies display field to 'vgs' command.lib/ lib/ | +13 | 0 replies | |
| 27/35 | Update vgchange tool to accept --vgmetadatacopies.tools/ tools/ tools/ | +51 | 0 replies | |
| 28/35 | Implement _vg_metadata_balance and call from vg_write() path.lib/ | +88 | 0 replies | |
| 29/35 | Set vg_mda_copies when pvchange --metadataignore is given.tools/ | +12 | 0 replies | |
| 30/35 | Add --vgmetadatacopies to vgcreate man page, command, and lvm.conf.man/ man/ tools/ +2 more | +55 | 0 replies | |
| 31/35 | Ensure fid mda lists are populated correctly during vgextend.lib/ | +17 | 0 replies | |
| 32/35 | Update check in vg_split_mdas to account for ignored mdas list.lib/ | +28 | 0 replies | |
| 33/35 | Update _vgmerge_single() to move fid->metadata_areas_ignored.tools/ | +6 | 0 replies | |
| 34/35 | Add --vgmetadatacopies to vgsplit man page and command.tools/ tools/ | +6 | 0 replies | |
| 35/35 | Update tests to handle phase 2 (vg based) metadata balance.test/ | +151 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/35] Add full metadata balancing support, v5.
This patchset is a fifth round of the metadata balancing support, makes minor revisions and builds on the fourth round of patches submitted (5/26/2010). There are still some definite warts and FIXMEs in the code but this is now a complete patchset for the metadata balance feature.
Changes from the fourth round start around patch 19 and include:
1) Sort mdas so that ignored mdas get committed to disk first. This reduces the time that we may get an inconsistent on-disk state that would require auto-repair.
2) Fixed a few bugs in pv-based metadata balance patchset.
3) Add "phase 2" (vg-based) of metadata balance. Define one function which implements the metadata balancing and call it from the vg_write() path. In most cases, this works just fine, but there are a few checks that need updated for the new 'fid' list of ignored mdas.
4) Update nightly test cases to include all "phase 2" commands such as vgcreate, vgchange, vgsplit, etc.