Skip to content

md patches destined for -next and the next merge window

NeilBrown linux-raid 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest28 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28md: remove some dead fields from mddev_sdrivers/md/md.h+0 -30 replies
2/28md: expose max value of behind writes counterdrivers/md/bitmap.c drivers/md/bitmap.h+29 -10 replies
3/28drivers/md: Remove unnecessary casts of void *drivers/md/bitmap.c drivers/md/faulty.c drivers/md/multipath.c +3 more+21 -210 replies
4/28md: discard StateChanged device flag.drivers/md/md.c drivers/md/md.h+1 -90 replies
5/28md: don't use mddev->raid_disks in raid0 or raid10 while array is active.drivers/md/raid0.c drivers/md/raid10.c+18 -130 replies
6/28md:Add support for Raid0->Raid5 takeoverdrivers/md/md.c drivers/md/raid5.c+39 -00 replies
7/28md: Add support for Raid5->Raid0 and Raid10->Raid0 takeoverdrivers/md/md.c drivers/md/raid0.c drivers/md/raid0.h+129 -60 replies
8/28md: Add support for Raid0->Raid10 takeoverdrivers/md/raid10.c drivers/md/raid10.h+154 -510 replies
9/28md: Correctly handle device removal via sysfsdrivers/md/md.c+1 -00 replies
10/28md: Relax checks on ->max_disks when external metadata handling is used.drivers/md/md.c+4 -30 replies
11/28md: remove unneeded sysfs files more promptlydrivers/md/md.c+31 -100 replies
12/28md: manage redundancy group in sysfs when changing level.drivers/md/md.c drivers/md/md.h drivers/md/raid5.c+38 -130 replies
13/28md: notify level changes through sysfs.drivers/md/md.c+1 -00 replies
14/28md: add support for raid5 to raid4 conversiondrivers/md/raid5.c+13 -00 replies
15/28md/raid5: small tidyup in raid5_align_endiodrivers/md/raid5.c+2 -20 replies
16/28md: move io accounting out of personalities into md_make_requestdrivers/md/linear.c drivers/md/md.c drivers/md/multipath.c +4 more+12 -450 replies
17/28md: don't reference gendisk in getgeodrivers/md/md.c+1 -10 replies
18/28md: remove ->changed and related code.drivers/md/md.c drivers/md/md.h drivers/md/raid1.c +1 more+1 -250 replies
19/28md: factor do_md_run to separate accesses to ->gendiskdrivers/md/md.c+16 -80 replies
20/28md: start to refactor do_md_stopdrivers/md/md.c+55 -430 replies
21/28md: factor md_stop_writes out of do_md_stop.drivers/md/md.c+22 -150 replies
22/28md: split md_set_readonly out of do_md_stopdrivers/md/md.c+51 -390 replies
23/28md: call md_stop_writes from md_stopdrivers/md/md.c+3 -40 replies
24/28md: pass mddev to make_request functions rather than request_queuedrivers/md/faulty.c drivers/md/linear.c drivers/md/md.c +6 more+18 -260 replies
25/28md: factor out init code for an mddevdrivers/md/md.c+22 -170 replies
26/28md: don't unregister the thread in mddev_suspenddrivers/md/md.c+6 -70 replies
27/28md/raid1: fix confusing 'redirect sector' message.drivers/md/raid1.c+4 -40 replies
28/28md/raid1: delay reads that could overtake behind-writes.drivers/md/bitmap.c drivers/md/bitmap.h drivers/md/raid1.c+22 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [md PATCH 00/28] md patches destined for -next and the next merge window

Hi all,
I thought it was time I posted my patch queue for review to be sure it would be ready for the next merge window.

Apart from sundry bug fixes and minor improvements there are two big themes here
1/ enhancements to level conversion so e.g. we can now convert RAID0
to RAID5 or RAID10 (near-2 only) and back.
2/ general refactoring of bits of md code - some functions
(e.g. do_md_stop) had become really big and were just a mess of stuff that all had to be done at much the same time. It is now broken into somewhat meaningful parts. There is a deeper reason for doing this refactoring .... you'll find out soon. :-)

This is all available at
git://neil.brown.name/md for-next
and should be in linux-next in a day or two.

All review, testing, and comments most welcome.

Unfortunately it doesn't contain a fix for
https://bugzilla.kernel.org/show_bug.cgi?id=15464

I stared at that for some time and haven't made any headway.

NeilBrown

---

H Hartley Sweeten (1):
drivers/md: Remove unnecessary casts of void *

Maciej Trela (2):
md: Correctly handle device removal via sysfs
md: notify level changes through sysfs.

NeilBrown (21):
md: remove some dead fields from mddev_s
md: discard StateChanged device flag.
md: don't use mddev->raid_disks in raid0 or raid10 while array is active.
md: Relax checks on ->max_disks when external metadata handling is used.
md: remove unneeded sysfs files more promptly
md: manage redundancy group in sysfs when changing level.
md: add support for raid5 to raid4 conversion
md/raid5: small tidyup in raid5_align_endio
md: move io accounting out of personalities into md_make_request
md: don't reference gendisk in getgeo
md: remove ->changed and related code.
md: factor do_md_run to separate accesses to ->gendisk
md: start to refactor do_md_stop
md: factor md_stop_writes out of do_md_stop.
md: split md_set_readonly out of do_md_stop
md: call md_stop_writes from md_stop
md: pass mddev to make_request functions rather than request_queue
md: factor out init code for an mddev
md: don't unregister the thread in mddev_suspend
md/raid1: fix confusing 'redirect sector' message.
md/raid1: delay reads that could overtake behind-writes.

Paul Clements (1):
md: expose max value of behind writes counter

Trela Maciej (1):

      md:Add support for Raid0->Raid5 takeover

Trela, Maciej (2):

      md: Add support for Raid5->Raid0 and Raid10->Raid0 takeover
      md: Add support for Raid0->Raid10 takeover
 drivers/md/bitmap.c    |   41 ++++-
 drivers/md/bitmap.h    |    2 
 drivers/md/faulty.c    |    9 -
 drivers/md/linear.c    |   15 --
 drivers/md/md.c        |  437 +++++++++++++++++++++++++++++-------------------
 drivers/md/md.h        |   10 -
 drivers/md/multipath.c |   13 -
 drivers/md/raid0.c     |  155 ++++++++++++++---
 drivers/md/raid0.h     |    3 
 drivers/md/raid1.c     |   52 +++---
 drivers/md/raid10.c    |  231 +++++++++++++++++--------
 drivers/md/raid10.h    |   12 +
 drivers/md/raid5.c     |   78 ++++++---
 13 files changed, 699 insertions(+), 359 deletions(-)
Signature · 1 line
Signature