imsm: expand improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | imsm: move sum_extents calculations to merge_extents()super-intel.c | +19 | 0 replies | |
| 2/6 | imsm: imsm_get_free_size() refactor.super-intel.c | +14 | 0 replies | |
| 3/6 | imsm: introduce round_member_size_to_mb()super-intel.c | +21 | 0 replies | |
| 4/6 | imsm: move expand verification code into new functionsuper-intel.c | +101 | 0 replies | |
| 5/6 | imsm: return free space after volume for expandsuper-intel.c | +37 | 0 replies | |
| 6/6 | imsm: fix free space calculationssuper-intel.c | +30 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] imsm: expand improvements
merge_extents() was initially designed to support creation only. Expand feature was added later and the current code was not updated properly. Now, we can see two issues:
1. --size=max used with expand and create result in different array size.
2. In scenarios, where volume were deleted an recreated it may not be possible to expand the volume.
The patchset addresses listed issues and removes limitation to the last volume for expand.
Mariusz Tkaczyk (6):
imsm: move sum_extents calculations to merge_extents()
imsm: imsm_get_free_size() refactor.
imsm: introduce round_member_size_to_mb()
imsm: move expand verification code into new function
imsm: return free space after volume for expand
imsm: fix free space calculations
super-intel.c | 363 ++++++++++++++++++++++++++++---------------------- 1 file changed, 202 insertions(+), 161 deletions(-)
Signature · 1 line
2.26.2