md: it panice after reshape from raid1 to raid5
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 of 2 patches 3 repliesIn review
1 of 2 patches is in this archive. The cover letter announces 2.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/2 | md: Move alloc/free acct bioset in to personalitydrivers/ drivers/ drivers/ +1 more | +58 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] md: it panice after reshape from raid1 to raid5
Hi all
After reshape from raid1 to raid5, it can panice when there are I/Os
The steps can reproduce this:
mdadm -CR /dev/md0 -l1 -n2 /dev/loop0 /dev/loop1
mdadm --wait /dev/md0
mkfs.xfs /dev/md0
mdadm /dev/md0 --grow -l5
mount /dev/md0 /mnt
These two patches fix this problem.
Xiao Ni (2):
Free r0conf memory when register integrity failed Move alloc/free acct bioset in to personality
drivers/md/md.c | 27 +++++++++++++++++---------- drivers/md/md.h | 2 ++ drivers/md/raid0.c | 28 ++++++++++++++++++++++++---- drivers/md/raid5.c | 41 ++++++++++++++++++++++++++++++----------- 4 files changed, 73 insertions(+), 25 deletions(-)
Signature · 1 line
2.31.1