[PATCH v2 0/5] md: bitmap grow fixes
Su Yue <[email protected]>
| Newsgroups | gmane.linux.raid |
|---|---|
| Message-ID | <[email protected]> |
Hi, This v2 series is to fixes bugs exposed by mdadm/clustermd-autotest.
The bugs are not cluster md only but also bitmap related.
The series based on v7.0-rc7 passes tests with mdadm v4.6 without regression.
v2:
Add a dummy bitmap operations per Kuai's suggestion.
To Yu Kuai:
A NULL group can't used for internal_bitmap_group since
the entries from internal_bitmap_attrs should be under bitmap.
So instead of sysfs_create_groups(), sysfs_create_group() and sysfs_merge_group()
are still needed /sigh.
Su Yue (5):
md/md-bitmap: call md_bitmap_create,destroy in location_store
md/md-bitmap: add an extra sysfs argument to md_bitmap_create and
destroy
md/md-bitmap: add dummy bitmap ops for none to fix wrong bitmap offset
md: skip ID_BITMAP_NONE when show available bitmap types
md/md-bitmap: remove member group from bitmap_operations
drivers/md/md-bitmap.c | 121 ++++++++++++++++++++++++++++++++++++---
drivers/md/md-bitmap.h | 3 +-
drivers/md/md-llbitmap.c | 13 ++++-
drivers/md/md.c | 55 +++++++++---------
drivers/md/md.h | 2 +
5 files changed, 155 insertions(+), 39 deletions(-)
--
2.53.0