md: fix mddev->flags issues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | md: takeover should clear unrelated bitsdrivers/ drivers/ drivers/ | +14 | 2 replies | |
| 2/3 | md: MD_RECOVERY_NEEDED is set for mddev->recoverydrivers/ | +1 | 1 reply | |
| 3/3 | md: separate flags for superblock changesdrivers/ drivers/ drivers/ +6 more | +106 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | NeilBrown |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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