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

do not call blocking ops when !TASK_RUNNING; state=402 set at [<0000000008d1b58e>] prepare_to_wait_event+0x90/0x1a0

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 2.15.6
      rhel8.10
    • 3
    • 9223372036854775807

    Description

      Upon lustre client mount, this is reported on the console log:

      do not call blocking ops when !TASK_RUNNING; state=402 set at [<0000000008d1b58e>] prepare_to_wait_event+0x90/0x1a0
      WARNING: CPU: 2 PID: 2529823 at kernel/sched/core.c:7471 __might_sleep+0x62/0x70
      RIP: 0010:__might_sleep+0x62/0x70
      Call Trace:
       ? __warn+0x94/0xe0
       ? __might_sleep+0x62/0x70
       ? __might_sleep+0x62/0x70
       ? report_bug+0xb1/0xe0
       ? do_error_trap+0x9e/0xd0
       ? do_invalid_op+0x36/0x40
       ? __might_sleep+0x62/0x70
       ? invalid_op+0x14/0x20
       ? ptlrpc_request_cache_alloc+0x26/0x100 [ptlrpc]
       ? __might_sleep+0x62/0x70
       ? __might_sleep+0x62/0x70
       kmem_cache_alloc+0x248/0x2b0
       ? srso_alias_return_thunk+0x5/0xfcdf2
       ptlrpc_request_cache_alloc+0x26/0x100 [ptlrpc]
       sptlrpc_cli_unwrap_early_reply+0x3a/0xb90 [ptlrpc]
       ptlrpc_check_set_common+0x1564/0x1ed0 [ptlrpc]
       ? srso_alias_return_thunk+0x5/0xfcdf2
       ptlrpc_set_wait+0x6b7/0x930 [ptlrpc]
       ? srso_alias_return_thunk+0x5/0xfcdf2
       ? lustre_get_jobid+0x2ba/0x300 [obdclass]
       ? finish_wait+0x90/0x90
       ptlrpc_queue_wait+0x81/0x230 [ptlrpc]
       ldlm_cli_enqueue+0x5eb/0xa70 [ptlrpc]
       ? ldlm_expired_completion_wait+0x250/0x250 [ptlrpc]
       ? ll_md_need_convert+0x160/0x160 [lustre]
       ? mdc_changelog_cdev_finish+0x210/0x210 [mdc]
       mdc_enqueue_base+0x386/0x1480 [mdc]
       ? mdc_revalidate_lock+0x1a9/0x1d0 [mdc]
       mdc_intent_lock+0x219/0x560 [mdc]
       ? ll_md_need_convert+0x160/0x160 [lustre]
       ? ldlm_expired_completion_wait+0x250/0x250 [ptlrpc]
       ? mdc_changelog_cdev_finish+0x210/0x210 [mdc]
       lmv_intent_lookup+0x262/0x9b0 [lmv]
       ? ll_md_need_convert+0x160/0x160 [lustre]
       ? ll_prep_md_op_data+0x336/0x820 [lustre]
       ? ll_md_need_convert+0x160/0x160 [lustre]
       lmv_intent_lock+0x320/0x390 [lmv]
       ll_inode_revalidate+0x14d/0x700 [lustre]
       ll_getattr_dentry+0x3a5/0x970 [lustre]
       ? srso_alias_return_thunk+0x5/0xfcdf2
       ? security_inode_getattr+0x30/0x50
       vfs_statx+0x8a/0xe0
       __do_sys_newstat+0x39/0x70
       do_syscall_64+0x5b/0x1a0
       entry_SYSCALL_64_after_hwframe+0x66/0xcb
      

      Attachments

        Activity

          People

            bobijam Zhenyu Xu
            ofaaland Olaf Faaland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: