[PATCH v9 0/5] make logical block size configurable

linan666@huaweicloud.com posted 5 patches 1 month, 1 week ago
Documentation/admin-guide/md.rst |  10 ++
drivers/md/md.h                  |   1 +
include/uapi/linux/raid/md_p.h   |   3 +-
drivers/md/md-linear.c           |   1 +
drivers/md/md.c                  | 162 +++++++++++++++++++++++--------
drivers/md/raid0.c               |  17 ++--
drivers/md/raid1.c               |   1 +
drivers/md/raid10.c              |   1 +
drivers/md/raid5.c               |   1 +
9 files changed, 148 insertions(+), 49 deletions(-)
[PATCH v9 0/5] make logical block size configurable
Posted by linan666@huaweicloud.com 1 month, 1 week ago
From: Li Nan <linan122@huawei.com>

v9:
 - Add new patch to intorduce check_new_feature to address forward and
   backward compatibility
 - Patch 5: update description of check_new_feature in md.rst

v8:
 - Path 2: remove unnecessary bioset_initialized() check.
 - Path 3: remove the max(blksize, ...)
 - Path 4: set MD_SB_CHANGE_DEVS instead of call md_update_sb()

v7:
 - Add three prerequisite patch to fix some config lbs related issues
 - Update sb when lbs configuration is done
 - This feature should support raid0, update documentation accordingly

Li Nan (5):
  md: delete md_redundancy_group when array is becoming inactive
  md: init bioset in mddev_init
  md/raid0: Move queue limit setup before r0conf initialization
  md: add check_new_feature module parameter
  md: allow configuring logical block size

 Documentation/admin-guide/md.rst |  10 ++
 drivers/md/md.h                  |   1 +
 include/uapi/linux/raid/md_p.h   |   3 +-
 drivers/md/md-linear.c           |   1 +
 drivers/md/md.c                  | 162 +++++++++++++++++++++++--------
 drivers/md/raid0.c               |  17 ++--
 drivers/md/raid1.c               |   1 +
 drivers/md/raid10.c              |   1 +
 drivers/md/raid5.c               |   1 +
 9 files changed, 148 insertions(+), 49 deletions(-)

-- 
2.39.2
Re: [PATCH v9 0/5] make logical block size configurable
Posted by Yu Kuai 1 month ago
在 2025/11/3 20:57, linan666@huaweicloud.com 写道:

> From: Li Nan <linan122@huawei.com>
>
> v9:
>   - Add new patch to intorduce check_new_feature to address forward and
>     backward compatibility
>   - Patch 5: update description of check_new_feature in md.rst
>
> v8:
>   - Path 2: remove unnecessary bioset_initialized() check.
>   - Path 3: remove the max(blksize, ...)
>   - Path 4: set MD_SB_CHANGE_DEVS instead of call md_update_sb()
>
> v7:
>   - Add three prerequisite patch to fix some config lbs related issues
>   - Update sb when lbs configuration is done
>   - This feature should support raid0, update documentation accordingly
>
> Li Nan (5):
>    md: delete md_redundancy_group when array is becoming inactive
>    md: init bioset in mddev_init
>    md/raid0: Move queue limit setup before r0conf initialization
>    md: add check_new_feature module parameter
>    md: allow configuring logical block size
>
>   Documentation/admin-guide/md.rst |  10 ++
>   drivers/md/md.h                  |   1 +
>   include/uapi/linux/raid/md_p.h   |   3 +-
>   drivers/md/md-linear.c           |   1 +
>   drivers/md/md.c                  | 162 +++++++++++++++++++++++--------
>   drivers/md/raid0.c               |  17 ++--
>   drivers/md/raid1.c               |   1 +
>   drivers/md/raid10.c              |   1 +
>   drivers/md/raid5.c               |   1 +
>   9 files changed, 148 insertions(+), 49 deletions(-)

Applied to md-6.19
Thanks