Re: [PATCH] md: use mddev->external to select holder in export_rdev()

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

 



On Wed, Jun 21, 2023 at 4:21 PM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> 在 2023/06/21 16:10, Xiao Ni 写道:
> > Hi Song
> >
> > After applying your patch, there are still warning messages in the
> > calltrace. It looks like a deadlock. The test case is
> > 10ddf-fail-stop-readd.
> >
> > [  381.825307] INFO: task md126_raid1:1896 blocked for more than 122 seconds.
> > [  381.825722]       Tainted: G           OE      6.4.0-rc2+ #1
> > [  381.826626] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> > disables this message.
> > [  381.827080] task:md126_raid1     state:D stack:0     pid:1896
> > ppid:2      flags:0x00004000
> > [  381.827864] Call Trace:
> > [  381.828013]  <TASK>
> > [  381.828514]  __schedule+0x2ad/0x7c0
> > [  381.829126]  schedule+0x5a/0xd0
> > [  381.829733]  schedule_preempt_disabled+0x11/0x20
> > [  381.830396]  __mutex_lock+0x5c8/0xcc0
>
> Looks like this is the same deadlock that should be fixed by following
> patch:
>
> https://lore.kernel.org/linux-raid/20230621142933.1395629-1-yukuai1@xxxxxxxxxxxxxxx/
>
> Thanks,
> Kuai

After applying these two patches, the warning messages disappear.

Regards
Xiao





[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