Skip to content

md: fix mddev->flags issues

Shaohua Li linux-raid 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3md: takeover should clear unrelated bitsdrivers/md/raid0.c drivers/md/raid1.c drivers/md/raid5.c+14 -22 replies
2/3md: MD_RECOVERY_NEEDED is set for mddev->recoverydrivers/md/md.c+1 -11 reply
3/3md: separate flags for superblock changesdrivers/md/bitmap.c drivers/md/dm-raid.c drivers/md/md.c +6 more+106 -1012 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchNeilBrown
1/3R-b
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] md: fix mddev->flags issues

We had some places the mddev->flags are abused. Today I hit a reshape hang, which is related to this issue.

Neil,

I will appreciate if you could review the patches before the merge window start.

Thanks,
Shaohua

Shaohua Li (3):
md: takeover should clear unrelated bits
md: MD_RECOVERY_NEEDED is set for mddev->recovery
md: separate flags for superblock changes

 drivers/md/bitmap.c      |   4 +-
 drivers/md/dm-raid.c     |   4 +-
 drivers/md/md.c          | 117 ++++++++++++++++++++++++-----------------------
 drivers/md/md.h          |  16 ++++---
 drivers/md/multipath.c   |   2 +-
 drivers/md/raid0.c       |   5 ++
 drivers/md/raid1.c       |  17 ++++---
 drivers/md/raid10.c      |  22 ++++-----
 drivers/md/raid5-cache.c |   6 +--
 drivers/md/raid5.c       |  32 +++++++------
 10 files changed, 121 insertions(+), 104 deletions(-)
Signature · 1 line
2.9.3