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

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

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • Lustre 2.15.6
    • None
    • lustre-2.15.6_4.llnl-2.t4.x86_64
      4.18.0-553.40.1.1toss.t4.x86_64
    • 3
    • 9223372036854775807

    Description

      Upon Lustre target mount, this is always logged the console:

      do not call blocking ops when !TASK_RUNNING; state=402 set at [<0000000078a4a089>] prepare_to_wait_event+0x90/0x1a0
      WARNING: CPU: 0 PID: 454288 at kernel/sched/core.c:7471 __might_sleep+0x62/0x70
      Modules linked in: osp(OE) ofd(OE) lfsck(OE) ost(OE) mgc(OE) osd_zfs(OE) lquota(OE) lustre(OE) lmv(OE) mdc(OE) lov(OE) osc(OE) fid(OE) fld(OE) ptlrpc(OE) obdclass(OE) pciehp_craye1k kkfilnd(OE) lnet(OE) libcfs(OE) nft_counter xt_owner xt_conntrack nft_compat nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set ipmi_devintf ip_set_hash_net nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables libcrc32c nfnetlink kfi_cxi(OE) kfabric(OE) intel_rapl_msr cxi_eth(OE) cxi_user(OE) amd_atl intel_rapl_common amd64_edac edac_mce_amd amd_energy kvm irqbypass rapl acpi_cpufreq pcspkr ipmi_ssif cxi_core(OE) iommu_v2 cxi_sl(OE) acpi_ipmi sp5100_tco sbl(OE) ipmi_si ses i2c_piix4 enclosure ptdma k10temp ipmi_msghandler zfs(POE) spl(OE) binfmt_misc nfsv3 nfs_acl nfs lockd grace fscache overlay ext4 mbcache jbd2 dm_service_time
       nvme_tcp(X) nvme_fabrics sd_mod sg irdma ice ib_uverbs ib_core 8021q garp mrp stp llc ast i2c_algo_bit drm_shmem_helper drm_kms_helper crct10dif_pclmul crc32_pclmul crc32c_intel syscopyarea sysfillrect sysimgblt mpt3sas ghash_clmulni_intel drm i40e nvme raid_class ccp scsi_transport_sas nvme_core t10_pi dm_multipath sunrpc dm_mirror dm_region_hash dm_log dm_mod be2iscsi bnx2i cnic uio cxgb4i cxgb4 tls libcxgbi libcxgb qla4xxx iscsi_boot_sysfs iscsi_tcp libiscsi_tcp libiscsi xpmem(OE) fuse scsi_transport_iscsi [last unloaded: nft_reject]
      CPU: 0 PID: 454288 Comm: ll_ost_io00_089 Kdump: loaded Tainted: P           OE  X  -------- -  - 4.18.0-553.40.1.1toss.t4.x86_64 #1
      Hardware name: Viking Enterprise Solutions VSSEP1EC/VSSEP1EC, BIOS RWH3LJ-10.09.04 05/12/2023
      RIP: 0010:__might_sleep+0x62/0x70
      Code: ee 48 89 df 5b 5d 41 5c e9 2b ff ff ff 48 8b 90 f8 12 00 00 48 c7 c7 40 ac af ad c6 05 a4 48 e4 01 01 48 89 d1 e8 bb fb fc ff <0f> 0b eb ce 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 8b 05 1d
      RSP: 0018:ffffb8fcd0c6f730 EFLAGS: 00010286
      RAX: 0000000000000000 RBX: ffffffffadafd2ea RCX: 0000000000000000
      RDX: ffff8d57ee82eec0 RSI: ffff8d57ee81e698 RDI: ffff8d57ee81e698
      RBP: 00000000000005f1 R08: 0000000000000000 R09: c0000000ffff7fff
      R10: 0000000000000001 R11: ffffb8fcd0c6f548 R12: 0000000000000000
      R13: ffff8d1c3d055800 R14: ffff8d1bff845440 R15: 0000000000000000
      FS:  0000000000000000(0000) GS:ffff8d57ee800000(0000) knlGS:0000000000000000
      CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      CR2: 000055555585f730 CR3: 0000001040c10000 CR4: 0000000000350ef0
      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
       ? __might_sleep+0x62/0x70
       down_read+0x1c/0xc0
       lquota_disk_read+0x74/0x3e0 [lquota]
       qsd_refresh_usage+0xbd/0x2c0 [lquota]
       qsd_acquire+0xba/0xdf0 [lquota]
       qsd_op_begin0+0x42c/0x8d0 [lquota]
       ? finish_wait+0x90/0x90
       qsd_op_begin+0x288/0x4b0 [lquota]
       osd_declare_quota+0x108/0x510 [osd_zfs]
       osd_declare_write_commit+0x3ba/0x7e0 [osd_zfs]
       ofd_commitrw_write+0x65e/0x1ad0 [ofd]
       ofd_commitrw+0x5b4/0xd20 [ofd]
       ? obd_commitrw+0x1b6/0x370 [ptlrpc]
       ? ofd_preprw+0x900/0x900 [ofd]
       obd_commitrw+0x1b6/0x370 [ptlrpc]
       tgt_brw_write+0x137b/0x1cc0 [ptlrpc]
       ? lock_timer_base+0x67/0x90
       ? internal_add_timer+0x42/0x70
       ? _cond_resched+0x15/0x30
       ? mutex_lock+0x21/0x40
       tgt_request_handle+0xce0/0x1a40 [ptlrpc]
       ? ptlrpc_nrs_req_get_nolock0+0xff/0x1f0 [ptlrpc]
       ptlrpc_server_handle_request+0x23f/0xc60 [ptlrpc]
       ptlrpc_main+0xc24/0x1580 [ptlrpc]
       ? ptlrpc_wait_event+0x5d0/0x5d0 [ptlrpc]
       kthread+0x14c/0x170
      

      Attachments

        Issue Links

          Activity

            People

              hongchao.zhang Hongchao Zhang
              ofaaland Olaf Faaland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: