Skip to content

md patches for 3.1 - part 1

NeilBrown linux-raid 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest34 patches 36 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/34md/raid10: get rid of duplicated conditional expressiondrivers/md/raid10.c+1 -20 replies
2/34md/raid10: factor out common bio handling codedrivers/md/raid10.c+23 -210 replies
3/34md/raid10: share pages between read and write bio's during recoverydrivers/md/raid10.c+12 -110 replies
4/34md/raid5: use kmem_cache_zalloc()drivers/md/raid5.c+3 -50 replies
5/34md/raid5: get rid of duplicated call to bio_data_dir()drivers/md/raid5.c+2 -20 replies
6/34md/raid5: Remove use of sh->lock in sync_requestdrivers/md/raid5.c drivers/md/raid5.h+27 -191 reply
7/34md/raid5: Protect some more code with ->device_lock.drivers/md/raid5.c+16 -141 reply
8/34md/raid5: replace sh->lock with an 'active' flag.drivers/md/raid5.c drivers/md/raid5.h+14 -147 replies
9/34md/raid5: move common code into handle_stripedrivers/md/raid5.c+6 -121 reply
10/34md/raid5: unify stripe_head_state and r6_statedrivers/md/raid5.c drivers/md/raid5.h+41 -465 replies
11/34md/raid5: add some more fields to stripe_head_statedrivers/md/raid5.c drivers/md/raid5.h+28 -302 replies
12/34md/raid5: move stripe_head_state and more code into handle_stripe.drivers/md/raid5.c+158 -1821 reply
13/34md/raid5: Move code for finishing a reconstruction into handle_stripe.drivers/md/raid5.c+57 -962 replies
14/34md/raid5: move more code into common handle_stripedrivers/md/raid5.c+32 -582 replies
15/34md/raid5: rearrange a test in fetch_block6.drivers/md/raid5.c+5 -71 reply
16/34md/raid5: unite fetch_block5 and fetch_block6drivers/md/raid5.c+23 -841 reply
17/34md/raid5: unite handle_stripe_dirtying5 and handle_stripe_dirtying6drivers/md/raid5.c+21 -566 replies
18/34md/raid5: move more common code into handle_stripedrivers/md/raid5.c+61 -1001 reply
19/34md/raid5: move some more common code into handle_stripedrivers/md/raid5.c+66 -1122 replies
20/34md/raid5: finalise new merged handle_stripe.drivers/md/raid5.c+5 -953 replies
21/34md: use proper little-endian bitopsdrivers/md/bitmap.c+5 -30 replies
22/34md/raid: use printk_ratelimited instead of printk_ratelimitdrivers/md/raid1.c drivers/md/raid10.c drivers/md/raid5.c+53 -420 replies
23/34md: introduce link/unlink_rdev() helpersdrivers/md/md.c drivers/md/md.h drivers/md/raid1.c +1 more+36 -500 replies
24/34md: remove ro check in md_check_recovery()drivers/md/md.c+0 -30 replies
25/34md: change managed of recovery_disabled.drivers/md/md.c drivers/md/md.h drivers/md/raid1.c +1 more+19 -70 replies
26/34md/raid10: Make use of new recovery_disabled handlingdrivers/md/raid10.c drivers/md/raid10.h+41 -260 replies
27/34md/raid10: Improve decision on whether to fail a device with a read error.drivers/md/raid10.c+28 -290 replies
28/34md: get rid of unnecessary casts on page_address()drivers/md/md.c+11 -120 replies
29/34md/raid1: move rdev->corrected_errors countingdrivers/md/raid1.c+6 -110 replies
30/34md/raid5: move rdev->corrected_errors countingdrivers/md/raid5.c+1 -40 replies
31/34md/raid10: move rdev->corrected_errors countingdrivers/md/raid10.c+1 -10 replies
32/34md/raid5: Avoid BUG caused by multiple failures.drivers/md/raid5.c+5 -10 replies
33/34MD: raid1 s/sysfs_notify_dirent/sysfs_notify_dirent_safedrivers/md/raid1.c+1 -10 replies
34/34MD bitmap: Revert DM dirty log hooksdrivers/md/bitmap.c drivers/md/bitmap.h drivers/md/md.h+43 -1000 replies

Reviews trailers per patch

15 of 34 patches have a Reviewed-by or Acked-by.

PatchNamhyung Kim
1/34
2/34
3/34
4/34
5/34
6/34R-b
7/34R-b
8/34R-b
9/34R-b
10/34R-b
11/34R-b
12/34R-b
13/34R-b
14/34R-b
15/34R-b
16/34R-b
17/34R-b
18/34R-b
19/34R-b
20/34R-b
21/34
22/34
23/34
24/34
25/34
26/34
27/34
28/34
29/34
30/34
31/34
32/34
33/34
34/34

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/34] md patches for 3.1 - part 1

As 3.0 is fast approaching it is long past time to publish my patch queue for 3.1. Much of it has been in -next for a while and while that enabled testing it doesn't really encourage review.

So this is the first of 2 patch-bombs I will be sending which comprise all of the changes is (currently) plan to submit for 3.1.

This set is mostly ad-hoc bits and pieces. Code clean up and minor bugs fixes and so forth. Probably the strongest theme is some refactoring in raid5 to reduce code duplication between RAID5 and RAID6. (almost) all similar code has been factored into common routines.

All "Reviewed-by" lines gratefully accepted ... until early-ish next week when I will submit that code to Linus. If anyone is keen to do some review, the RAID5 changes is where I would be most happy to have it focused. Remember: if something doesn't look right, it probably isn't.

Some of these patches have been seen on the list already, but I thought it best to simply include them all for completeness.

NeilBrown

---

Akinobu Mita (1):
md: use proper little-endian bitops

Christian Dietrich (1):
md/raid: use printk_ratelimited instead of printk_ratelimit

Jonathan Brassow (2):
MD bitmap: Revert DM dirty log hooks
MD: raid1 s/sysfs_notify_dirent/sysfs_notify_dirent_safe

Namhyung Kim (11):
md/raid10: move rdev->corrected_errors counting md/raid5: move rdev->corrected_errors counting md/raid1: move rdev->corrected_errors counting
md: get rid of unnecessary casts on page_address()
md: remove ro check in md_check_recovery()
md: introduce link/unlink_rdev() helpers
md/raid5: get rid of duplicated call to bio_data_dir() md/raid5: use kmem_cache_zalloc()
md/raid10: share pages between read and write bio's during recovery md/raid10: factor out common bio handling code md/raid10: get rid of duplicated conditional expression

NeilBrown (19):
md/raid5: Avoid BUG caused by multiple failures.
md/raid10: Improve decision on whether to fail a device with a read error. md/raid10: Make use of new recovery_disabled handling
md: change managed of recovery_disabled.
md/raid5: finalise new merged handle_stripe.
md/raid5: move some more common code into handle_stripe md/raid5: move more common code into handle_stripe
md/raid5: unite handle_stripe_dirtying5 and handle_stripe_dirtying6 md/raid5: unite fetch_block5 and fetch_block6
md/raid5: rearrange a test in fetch_block6.
md/raid5: move more code into common handle_stripe
md/raid5: Move code for finishing a reconstruction into handle_stripe. md/raid5: move stripe_head_state and more code into handle_stripe. md/raid5: add some more fields to stripe_head_state md/raid5: unify stripe_head_state and r6_state
md/raid5: move common code into handle_stripe
md/raid5: replace sh->lock with an 'active' flag.
md/raid5: Protect some more code with ->device_lock. md/raid5: Remove use of sh->lock in sync_request

 drivers/md/bitmap.c |  137 +++-----
 drivers/md/bitmap.h |    5 
 drivers/md/md.c     |   77 ++---
 drivers/md/md.h     |   28 +-
 drivers/md/raid1.c  |   66 ++--
 drivers/md/raid1.h  |    6 
 drivers/md/raid10.c |  214 +++++++------
 drivers/md/raid10.h |    5 
 drivers/md/raid5.c  |  832 ++++++++++++++-------------------------------------
 drivers/md/raid5.h  |   45 +--
 10 files changed, 505 insertions(+), 910 deletions(-)
Signature · 1 line
Signature