Skip to content

more sector_t conversions

Andre Noll linux-raid 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4md: Fix check for overlapping devices.drivers/md/md.c+2 -20 replies
2/4md: Make super_type->rdev_size_change() take sector-based sizes.drivers/md/md.c+19 -210 replies
3/4md: Make mddev->array_size sector-based.drivers/md/faulty.c drivers/md/linear.c drivers/md/md.c +6 more+27 -272 replies
4/4md: linear: Make array_size sector-based and rename it to array_sectors.drivers/md/linear.c include/linux/raid/linear.h+9 -90 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/4] more sector_t conversions

Hi

here's the next batch of patches against Neil's for-next branch that change some of the remaining 1k-based representations to sector-based representations.

Patch #1 fixes what I believe is a bug in the check for overlapping partitions. This patch might also be suitable for -stable while #2-#4 are definitely material for -next.

Patch #2 changes the rdev_size_change function pointer of struct super_type. The patched version takes the number of sectors instead of the number of blocks.

Patches #3 and #4 convert the array_size fields of struct mddev_s and of struct linear_private_data to sector-based representations respectively.

Please review.
Andre
---

 drivers/md/faulty.c         |    2 +-
 drivers/md/linear.c         |   18 +++++++-------
 drivers/md/md.c             |   52 ++++++++++++++++++++----------------------
 drivers/md/multipath.c      |    2 +-
 drivers/md/raid0.c          |    8 +++---
 drivers/md/raid1.c          |   10 ++++----
 drivers/md/raid10.c         |    2 +-
 drivers/md/raid5.c          |   14 +++++-----
 include/linux/raid/linear.h |    2 +-
 include/linux/raid/md_k.h   |    2 +-
 10 files changed, 55 insertions(+), 57 deletions(-)