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

sanity/416 set task running before dt_trans_create()

    XMLWordPrintable

Details

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

    Description

      Avoid sanity/416 warning:

      [ 5510.451989] Lustre: DEBUG MARKER: == sanity test 416: transaction start failure won't cause system hung ========================================================== 07:30:27 (1761132627)
      [ 5510.806486] Lustre: *** cfs_fail_loc=19a, val=0***
      [ 5511.146042] LustreError: 57852:0:(ofd_dev.c:1877:ofd_destroy_hdl()) lustre-OST0001: error destroying object [0x2c0000400:0x2712:0x0]: -5
      [ 5511.150767] ------------[ cut here ]------------
      [ 5511.150936] LustreError: 57852:0:(ofd_dev.c:1877:ofd_destroy_hdl()) Skipped 2 previous similar messages
      [ 5511.152064] do not call blocking ops when !TASK_RUNNING; state=402 set at [<000000003741e999>] distribute_txn_commit_thread+0x95/0x1000 [ptlrpc]
      [ 5511.159753] WARNING: CPU: 2 PID: 154808 at kernel/sched/core.c:7471 __might_sleep+0x9d/0xc0
      [ 5511.161771] Modules linked in: zfs(O) spl(O) lustre(O) osp(O) ofd(O) lod(O) mdt(O) mdd(O) mgs(O) osd_ldiskfs(O) ldiskfs(O) lquota(O) lfsck(O) obdecho(O) mgc(O) mdc(O) lov(O) osc(O) lmv(O) ec(O) fid(O) fld(O) ptlrpc_gss(O) ptlrpc(O) obdclass(O) ksocklnd(O) lnet(O) libcfs(O) dm_flakey rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver intel_rapl_msr intel_rapl_common sb_edac rapl pcspkr i2c_piix4 squashfs ata_generic crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ata_piix serio_raw libata dm_mirror dm_region_hash dm_log dm_mod sha512_ssse3 sha512_generic
      [ 5511.175032] CPU: 2 PID: 154808 Comm: dist_txn-1 Kdump: loaded Tainted: G           O      -------- -  - 4.18.0rh8.10-debug #2
      [ 5511.178572] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-1.fc38 04/01/2014
      [ 5511.181557] RIP: 0010:__might_sleep+0x9d/0xc0
      [ 5511.183375] Code: a8 12 00 00 48 c7 c7 a8 56 b8 98 48 83 05 ba 89 df 02 01 c6 05 2f 83 52 02 01 48 89 d1 e8 a7 50 fb ff 48 83 05 ab 89 df 02 01 <0f> 0b 48 83 05 a9 89 df 02 01 48 83 05 a9 89 df 02 01 eb 9b 66 66
      [ 5511.190163] RSP: 0018:ffffb6fa87427d78 EFLAGS: 00010202
      [ 5511.191321] RAX: 0000000000000000 RBX: ffffffff98badd7d RCX: 0000000000000000
      [ 5511.192852] RDX: ffff9e168212e640 RSI: ffff9e168211e5a8 RDI: ffff9e168211e5a8
      [ 5511.194287] RBP: 00000000000000e2 R08: 0000000000000000 R09: c0000000ffff7fff
      [ 5511.196203] R10: 0000000000000001 R11: ffffb6fa87427b68 R12: 0000000000000000
      [ 5511.197553] R13: 0000000000000001 R14: 0000000000000058 R15: ffffffffc0d2adb8
      [ 5511.199400] FS:  0000000000000000(0000) GS:ffff9e1682100000(0000) knlGS:0000000000000000
      [ 5511.202733] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      [ 5511.205040] CR2: 000055b688796610 CR3: 0000000080016003 CR4: 0000000000170ee0
      [ 5511.207521] Call Trace:
      [ 5511.208463]  ? show_regs.cold.9+0x22/0x2f
      [ 5511.210167]  ? __warn+0xc8/0x150
      [ 5511.211461]  ? __might_sleep+0x9d/0xc0
      [ 5511.212943]  ? report_bug+0x113/0x140
      [ 5511.214454]  ? do_error_trap+0xb6/0x130
      [ 5511.216083]  ? do_invalid_op+0x46/0x60
      [ 5511.217623]  ? __might_sleep+0x9d/0xc0
      [ 5511.219137]  ? invalid_op+0x14/0x20
      [ 5511.220170]  ? distribute_txn_commit_batchid_update+0x68/0xa60 [ptlrpc]
      [ 5511.222367]  ? __might_sleep+0x9d/0xc0
      [ 5511.223549]  ? __might_sleep+0x95/0xc0
      [ 5511.224980]  slab_pre_alloc_hook.constprop.64+0x11f/0x1d0
      [ 5511.226635]  kmem_cache_alloc_trace+0x5b/0x440
      [ 5511.227872]  distribute_txn_commit_batchid_update+0x68/0xa60 [ptlrpc]
      [ 5511.230892]  distribute_txn_commit_thread+0xa97/0x1000 [ptlrpc]
      [ 5511.233499]  ? distribute_txn_commit_batchid_update+0xa60/0xa60 [ptlrpc]
      [ 5511.236216]  kthread+0x1d1/0x200
      [ 5511.237399]  ? set_kthread_struct+0x70/0x70
      [ 5511.239058]  ret_from_fork+0x1f/0x30
      [ 5511.240505] ---[ end trace 354c2ee7f4c6fbd0 ]---
      [ 5511.307692] Lustre: *** cfs_fail_loc=19a, val=0***
      [ 5511.309912] Lustre: Skipped 76 previous similar messages
      [ 5514.041527] Lustre: DEBUG MARKER: == sanity test 417: disable remote dir, striped dir and dir migration ========================================================== 07:30:30 
      

      Attachments

        Activity

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: