Skip to content

md fixes for 4.14

Jack Wang stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6md: always hold reconfig_mutex when calling mddev_suspend()drivers/md/dm-raid.c drivers/md/md.c drivers/md/raid5-cache.c+24 -70 replies
2/6md: don't call bitmap_create() while array is quiesced.drivers/md/md.c+10 -60 replies
3/6md: move suspend_hi/lo handling into core md codedrivers/md/md.c drivers/md/raid1.c drivers/md/raid5.c+28 -370 replies
4/6md: use mddev_suspend/resume instead of ->quiesce()drivers/md/md.c+12 -120 replies
5/6md: allow metadata update while suspending.drivers/md/md.c drivers/md/md.h+20 -00 replies
6/6md: remove special meaning of ->quiesce(.., 2)drivers/md/md-cluster.c drivers/md/md.c drivers/md/md.h +6 more+37 -690 replies

Reviews trailers per patch

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

PatchXiao Ni
1/6
2/6
3/6
4/6
5/6Reported-and-tested-by
6/6

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

Read the v1 thread

Cover letter [stable-4.14 0/6] md fixes for 4.14

Hi Greg,

We hit a panic in 4.14.43 with md raid1.

It's easy to reproduce with a test case, running Fio, and doing mdadm --grow bitmap=none /dev/mdx && mdadm --grow bitmap=internal /dev/mdx in a loop.

With following patches applied, we can no longer reproduce the problem.

Please consider to apply the patches to 4.14, they can be applied cleanly on 4.14.52.

Cheers,
Jack

NeilBrown (6):
md: always hold reconfig_mutex when calling mddev_suspend()
md: don't call bitmap_create() while array is quiesced.
md: move suspend_hi/lo handling into core md code
md: use mddev_suspend/resume instead of ->quiesce()
md: allow metadata update while suspending.
md: remove special meaning of ->quiesce(.., 2)

 drivers/md/dm-raid.c     | 10 ++++--
 drivers/md/md-cluster.c  |  6 ++--
 drivers/md/md.c          | 90 ++++++++++++++++++++++++++++++------------------
 drivers/md/md.h          | 15 +++++---
 drivers/md/raid0.c       |  2 +-
 drivers/md/raid1.c       | 27 +++++----------
 drivers/md/raid10.c      | 10 ++----
 drivers/md/raid5-cache.c | 30 ++++++++++------
 drivers/md/raid5-log.h   |  2 +-
 drivers/md/raid5.c       | 40 ++++-----------------
 10 files changed, 116 insertions(+), 116 deletions(-)
Signature · 1 line
2.7.4