Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18838

stat ahead panic at _atomic_dec_and_lock()

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The Janitor testing on racer slow failed and crash as follows:

      https://knox.linuxhacker.ru/crashdb_ui_external.py.cgi?newid=69679

      Hardware name: Red Hat KVM, BIOS 1.16.0-3.module_el8.7.0+1218+f626c2ff 04/01/2014
      task: ffff8802e7a59280 ti: ffff88031be08000 task.ti: ffff88031be08000
      RIP: 0010:[<ffffffff813f502c>] [<ffffffff813f502c>] _atomic_dec_and_lock+0xc/0x70
      [<ffffffffa11048a1>] ll_statahead_thread+0xe01/0x22b0 [lustre]
      [<ffffffff817e320e>] ? _raw_spin_lock+0x1e/0x20
      [<ffffffff810dbb51>] ? put_prev_entity+0x31/0x400
      [<ffffffff814119f9>] ? do_raw_spin_unlock+0x49/0x90
      [<ffffffff817e329e>] ? _raw_spin_unlock_irq+0xe/0x30
      [<ffffffff810c834d>] ? finish_task_switch+0x5d/0x1b0
      [<ffffffffa1103aa0>] ? ll_statahead_handle.constprop.29+0x1c0/0x1c0 [lustre]
      [<ffffffff810ba114>] kthread+0xe4/0xf0
      [<ffffffff810ba030>] ? kthread_create_on_node+0x140/0x140
      [<ffffffff817ede5d>] ret_from_fork_nospec_begin+0x7/0x21
      [<ffffffff810ba030>] ? kthread_create_on_node+0x140/0x140 

      The panic line of code:

      static inline void ll_sax_put(struct inode *dir,
      			      struct ll_statahead_context *ctx)
      {
      	struct ll_inode_info *lli = ll_i2info(dir);
      
      	if (atomic_dec_and_lock(&ctx->sax_refcount, &lli->lli_sa_lock)) { ===> panic
      		LASSERT(list_empty(&ctx->sax_sai_list));
      		lli->lli_sai = NULL;
      

      Attachments

        Activity

          People

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: