Skip to content

imsm: expand improvements

Mariusz Tkaczyk linux-raid 1 version Applied

Status from this message: Applied!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6imsm: move sum_extents calculations to merge_extents()super-intel.c+19 -180 replies
2/6imsm: imsm_get_free_size() refactor.super-intel.c+14 -130 replies
3/6imsm: introduce round_member_size_to_mb()super-intel.c+21 -100 replies
4/6imsm: move expand verification code into new functionsuper-intel.c+101 -860 replies
5/6imsm: return free space after volume for expandsuper-intel.c+37 -340 replies
6/6imsm: fix free space calculationssuper-intel.c+30 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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