From: Li Nan <linan122@xxxxxxxxxx> v4: patch 1: add fix tag. patch 2: - add documentation for sysfs. - only support metadata format 1.x. - do not call md_update_sb when writing sysfs. mddev->pers is NULL here. - return directly before hold lock in lbs_store. v3: - logical_block_size must not exceed PAGE_SIZE for bio device. - Assign lim to mddev rather than to gendisk in mddev_stack_rdev_limits(). - Remove the patch that modifies the return value. v2: No new exported interfaces are introduced. Li Nan (2): md: prevent adding disks with larger logical_block_size to active arrays md: allow configuring logical_block_size Documentation/admin-guide/md.rst | 7 +++ drivers/md/md.h | 1 + include/uapi/linux/raid/md_p.h | 3 +- drivers/md/md-linear.c | 1 + drivers/md/md.c | 82 ++++++++++++++++++++++++++++++++ drivers/md/raid0.c | 1 + drivers/md/raid1.c | 1 + drivers/md/raid10.c | 1 + drivers/md/raid5.c | 1 + 9 files changed, 97 insertions(+), 1 deletion(-) -- 2.39.2