Re: [PATCH 0/2] md: it panice after reshape from raid1 to raid5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Song

Ping. Do I still change something else?

Regards

Xiao

在 2021/12/10 17:31, Xiao Ni 写道:
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(-)





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux