[PATCH v3 0/2] make logical_block_size configurable

linan666@huaweicloud.com posted 2 patches 1 month, 1 week ago
There is a newer version of this series
drivers/md/md.h                |  1 +
include/uapi/linux/raid/md_p.h |  6 ++-
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 +
8 files changed, 92 insertions(+), 2 deletions(-)
[PATCH v3 0/2] make logical_block_size configurable
Posted by linan666@huaweicloud.com 1 month, 1 week ago
From: Li Nan <linan122@huawei.com>

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

 drivers/md/md.h                |  1 +
 include/uapi/linux/raid/md_p.h |  6 ++-
 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 +
 8 files changed, 92 insertions(+), 2 deletions(-)

-- 
2.39.2