Skip to content

md: Make raid0 use sector-based quantities

Andre Noll linux-raid 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8md: raid0_make_request(): Remove local variable chunk_size.drivers/md/raid0.c+3 -40 replies
2/8md: raid0_make_request(): Replace local variable block by sector.drivers/md/raid0.c+6 -70 replies
3/8md: raid0: Represent device offset in sectors.drivers/md/raid0.c include/linux/raid/raid0.h+5 -60 replies
4/8md: raid0: Represent zone->zone_offset in sectors.drivers/md/raid0.c include/linux/raid/raid0.h+7 -70 replies
5/8md: raid0 create_strip_zones(): Make two local variables sector-based.drivers/md/raid0.c+13 -140 replies
6/8md: raid0 create_strip_zones(): Add KERN_INFO/KERN_ERR to printk's.drivers/md/raid0.c+25 -210 replies
7/8md: raid0: Represent the size of strip zones in sectors.drivers/md/raid0.c include/linux/raid/raid0.h+14 -140 replies
8/8md: raid0: make hash_spacing and preshift sector-based.drivers/md/raid0.c include/linux/raid/raid0.h+31 -310 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/8] md: Make raid0 use sector-based quantities

This series of patches against Neil's for-next branch converts the internal representations of block-based quantities in the raid0 code to sector-based quantities.

There's also one trivial patch in this series, #6, which adds KERN_INFO/KERN_ERR to a couple of printk's.

checkpatch.pl is happy with all eight patches, and the patched kernel passes the raid0 tests of mdadm's test suite on my i386 UP box.

Please review.
Andre