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 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

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

[try #2, this time with the missing patch included]

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, #7, which adds KERN_INFO/KERN_ERR to a couple of printk's.

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

Please review.
Andre