Re: [PATCH 1/3] raid5: call clear_batch_ready before set STRIPE_ACTIVE

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

 



On 6/16/20 11:25 AM, Guoqing Jiang wrote:
[593764.644269] stripe state: 2003
kernel: [593764.644299] ------------[ cut here ]------------
kernel: [593764.644308] WARNING: CPU: 12 PID: 856 at drivers/md/raid5.c:4625 break_stripe_batch_list+0x203/0x240 [raid456]

This happens with our own kernel, so the line number can't match with upstream kernel.

static void break_stripe_batch_list(struct stripe_head *head_sh,
                                    unsigned long handle_flags)
{
        struct stripe_head *sh, *next;
        int i;
        int do_wakeup = 0;

        list_for_each_entry_safe(sh, next, &head_sh->batch_list, batch_list) {

                list_del_init(&sh->batch_list);

*WARN_ONCE(sh->state & ((1 << STRIPE_ACTIVE) |*

The warning was happened at above line.

Thanks,
Guoqing



[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