: RFC - Add infrastructure for metadata balancing.
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 | Change 'filler' to 'flags' in on-disk 'raw_locn' structure.lib/ | +1 | 0 replies | |
| 2/5 | Add mda_is_disabled and mda_set_disabled to metadata_area_ops.include/ lib/ lib/ +3 more | +55 | 0 replies | |
| 3/5 | Define new functions and vgs/pvs fields related to mda disable/enable.lib/ lib/ lib/ +1 more | +85 | 0 replies | |
| 4/5 | Add --metadatadisable to pvchange, allowing for disabling of metadata areas.tools/ tools/ tools/ | +30 | 0 replies | |
| 5/5 | Update pvchange, pvs and vgs man pages for metadata disable.man/ man/ man/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5]: RFC - Add infrastructure for metadata balancing.
This patchset is a start towards metadata balancing by introducing --metadatadisable to pvchange as well as new fields to vgs and pvs to count the number of disabled mdas.
The disable/enable is implemented at the low level by taking advantage of the 'filler' field in the mda_header structure on disk. Normally this is written to 0, but I propose we change this 32-bit field to a 'flags' field and then define one flag that is a MDA disable.
This code works for orphan pvs but not yet for pvs in vgs (see FIXME in the code). I am somewhat undecided about possible refactorings in this regard.
Applies cleanly and tested on top of latest upstream:
commit 8e44e884a2b5430097c33641fd155fdf3ff4213c
Author: Alasdair Kergon <[email protected]> Date: Fri Jan 22 01:09:09 2010 +0000
post-release