Skip to content

md patches heading for 3.4

NeilBrown linux-raid 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23md/raid5: make sure reshape_position is cleared on error path.drivers/md/raid5.c+1 -00 replies
2/23md/raid10: remove unnecessary smp_mb() from end_sync_writedrivers/md/raid10.c+1 -30 replies
3/23md/raid5: removed unused 'added_devices' variable.drivers/md/raid5.c+2 -50 replies
4/23md: Use existed macros instead of numbersinclude/linux/raid/md_p.h+5 -10 replies
5/23md/raid5: use atomic_dec_return() instead of atomic_dec() and atomic_read().drivers/md/raid5.c+3 -40 replies
6/23md: allow last device to be forcibly removed from RAID1/RAID10.drivers/md/md.c drivers/md/md.h drivers/md/multipath.c +3 more+35 -330 replies
7/23md: allow re-add to failed arrays.drivers/md/raid10.c drivers/md/raid5.c+2 -20 replies
8/23md: don't set md arrays to readonly on shutdown.drivers/md/md.c+15 -2212 replies
9/23md/bitmap: ensure to load bitmap when creating via sysfs.drivers/md/bitmap.c+2 -00 replies
10/23md/raid1, raid10: avoid deadlock during resync/recovery.drivers/md/raid1.c drivers/md/raid10.c+30 -40 replies
11/23md: tidy up rdev_for_each usage.drivers/md/bitmap.c drivers/md/dm-raid.c drivers/md/faulty.c +8 more+66 -630 replies
12/23md: add proper merge_bvec handling to RAID0 and Linear.drivers/md/linear.c drivers/md/raid0.c drivers/md/raid0.h+107 -880 replies
13/23md/raid10: handle merge_bvec_fn in member devices.drivers/md/md.c drivers/md/md.h drivers/md/raid10.c+90 -410 replies
14/23md/raid1: handle merge_bvec_fn in member devices.drivers/md/raid1.c+56 -210 replies
15/23md/raid10 - support resizing some RAID10 arrays.drivers/md/raid10.c+38 -06 replies
16/23md/bitmap: remove some unused noise from bitmap.hdrivers/md/bitmap.h+0 -180 replies
17/23md/bitmap: move printing of bitmap status to bitmap.cdrivers/md/bitmap.c drivers/md/bitmap.h drivers/md/md.c+30 -220 replies
18/23md/bitmap: change a 'goto' to a normal 'if' construct.drivers/md/bitmap.c+21 -190 replies
19/23md/bitmap: remove some pointless locking.drivers/md/bitmap.c+2 -120 replies
20/23md/bitmap: remove unnecessary indirection when allocating.drivers/md/bitmap.c+3 -280 replies
21/23md/bitmap: discard CHUNK_BLOCK_SHIFT macrodrivers/md/bitmap.c drivers/md/bitmap.h+19 -190 replies
22/23md: fix clearing of the 'changed' flags for the bad blocks list.drivers/md/md.c+2 -10 replies
23/23md: Add judgement bb->unacked_exist in function md_ack_all_badblocks().drivers/md/md.c+1 -10 replies

Reviews trailers per patch

None of the 23 patches has a Reviewed-by or Acked-by.

PatchRay Morris
1/23
2/23
3/23
4/23
5/23
6/23
7/23
8/23
9/23
10/23T-b
11/23
12/23
13/23
14/23
15/23
16/23
17/23
18/23
19/23
20/23
21/23
22/23
23/23

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [md PATCH 00/23] md patches heading for 3.4

Following are a bunch of patches that I'm planing to submit in the next merge window (which I expect to open just after LWN publishes this week :-).

There is nothing really exciting - mostly clean-up patches that are the product of the development some other features that I'm still working on (like reshaping some RAID10 arrays to more devices).

The features here are:
- RAID10 can grow or shrink to match changes in the underlying devices.
- linear, RAID0, RAID1, RAID10 now call the merge_bvec_fn in member devices, so that if you stack one of these atop LVM or RAID0 or similar, it won't insist on breaking all requests up into single page requests for the path through the multiple layers.

Review, as always, is most welcome.

NeilBrown

---

NeilBrown (20):
md: fix clearing of the 'changed' flags for the bad blocks list. md/bitmap: discard CHUNK_BLOCK_SHIFT macro
md/bitmap: remove unnecessary indirection when allocating. md/bitmap: remove some pointless locking.
md/bitmap: change a 'goto' to a normal 'if' construct. md/bitmap: move printing of bitmap status to bitmap.c md/bitmap: remove some unused noise from bitmap.h md/raid10 - support resizing some RAID10 arrays. md/raid1: handle merge_bvec_fn in member devices. md/raid10: handle merge_bvec_fn in member devices.
md: add proper merge_bvec handling to RAID0 and Linear.
md: tidy up rdev_for_each usage.
md/raid1,raid10: avoid deadlock during resync/recovery. md/bitmap: ensure to load bitmap when creating via sysfs.
md: don't set md arrays to readonly on shutdown.
md: allow re-add to failed arrays.
md: allow last device to be forcibly removed from RAID1/RAID10. md/raid5: removed unused 'added_devices' variable. md/raid10: remove unnecessary smp_mb() from end_sync_write md/raid5: make sure reshape_position is cleared on error path.

majianpeng (3):
md: Add judgement bb->unacked_exist in function md_ack_all_badblocks(). md/raid5: use atomic_dec_return() instead of atomic_dec() and atomic_read().
md: Use existed macros instead of numbers

 drivers/md/bitmap.c       |  152 ++++++++++++++++-----------------
 drivers/md/bitmap.h       |   22 -----
 drivers/md/dm-raid.c      |   16 ++-
 drivers/md/faulty.c       |    2 
 drivers/md/linear.c       |   32 +++----
 drivers/md/md.c           |  156 ++++++++++++++--------------------
 drivers/md/md.h           |   17 +++-
 drivers/md/multipath.c    |    8 +-
 drivers/md/raid0.c        |  164 ++++++++++++++++++++----------------
 drivers/md/raid0.h        |   11 ++
 drivers/md/raid1.c        |  111 +++++++++++++++++-------
 drivers/md/raid10.c       |  206 ++++++++++++++++++++++++++++++++-------------
 drivers/md/raid5.c        |   35 +++-----
 include/linux/raid/md_p.h |    6 +
 14 files changed, 531 insertions(+), 407 deletions(-)
Signature · 1 line
Signature