Thread (9 messages) 9 messages, 2 authors, 2020-07-16

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

From: Guoqing Jiang <hidden>
Date: 2020-06-19 14:16:06

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help