more sector_t conversions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | md: Fix check for overlapping devices.drivers/ | +2 | 0 replies | |
| 2/4 | md: Make super_type->rdev_size_change() take sector-based sizes.drivers/ | +19 | 0 replies | |
| 3/4 | md: Make mddev->array_size sector-based.drivers/ drivers/ drivers/ +6 more | +27 | 2 replies | |
| 4/4 | md: linear: Make array_size sector-based and rename it to array_sectors.drivers/ include/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)