Skip to content

md: More sector_t conversions -- intro

Andre Noll linux-raid 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6md: Make mddev->chunk_size sector-based.drivers/md/linear.c drivers/md/md.c drivers/md/md.h +4 more+74 -681 reply
2/6md: Fix a bug in super_1_sync().drivers/md/md.c+1 -12 replies
3/6md: Convert mddev->new_chunk to sectors.drivers/md/md.c drivers/md/md.h drivers/md/raid1.c +1 more+43 -380 replies
4/6md: convert conf->chunk_size and conf->prev_chunk to sectors.drivers/md/raid5.c drivers/md/raid5.h+19 -181 reply
5/6md/raid5: Use is_power_of_2() in raid5_reconfig()/raid6_reconfig().drivers/md/raid5.c+2 -40 replies
6/6md/raid5: Kill outdated comment.drivers/md/raid5.c+0 -20 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/6] md: More sector_t conversions -- intro

Hi

this patch set against the for-next tree as of last Friday converts a couple of remaining internal representation of md sizes to sector_t, fixes a bug in the reshape code and adds a couple of trivial cleanups.

Patch #1 converts mddev->chunk_size which was previously stored in bytes. Patch #2 fixes what I believe is a bug in super_1_sync() and might be a candiate for -stable. Patches #3 and #4 are further straight-forward conversions that deal with mddev->new_chunk, conf->chunk_size and conf->prev_chunk. Patches #5 and #6 are pure cleanups.

All patches pass the tests of the mdadm test suite except 07reshape5intr which appears fail also for the vanilla for-next tree.

Please review and consider for inclusion into for-next.

Thanks
Andre