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

writing process hung at txg_wait_open

    XMLWordPrintable

Details

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

    Description

      I saw an iozone writing process hung at waiting transaction to open. The backtrace is as follows:

      [10459.403319] iozone          D ffff88082f353440     0  6714      1 0x00000004
      [10459.403321]  ffff880085e83b28 0000000000000082 ffff88055b805180 ffff880085e83fd8
      [10459.403323]  0000000000013440 0000000000013440 ffff880803713d20 ffff8807f3701368
      [10459.403326]  ffff8807f3701220 ffff8807f3701370 ffff8807f3701248 0000000000000000
      [10459.403328] Call Trace:
      [10459.403330]  [<ffffffff81766c59>] schedule+0x29/0x70
      [10459.403334]  [<ffffffffc09b4b45>] cv_wait_common+0xe5/0x120 [spl]
      [10459.403337]  [<ffffffff810b4cd0>] ? prepare_to_wait_event+0x100/0x100
      [10459.403341]  [<ffffffffc09b4b95>] __cv_wait+0x15/0x20 [spl]
      [10459.403360]  [<ffffffffc0ab2f43>] txg_wait_open+0x83/0xd0 [zfs]
      [10459.403379]  [<ffffffffc0a6e760>] dmu_tx_wait+0x380/0x390 [zfs]
      [10459.403387]  [<ffffffff817690b2>] ? mutex_lock+0x12/0x2f
      [10459.403406]  [<ffffffffc0a6e80a>] dmu_tx_assign+0x9a/0x510 [zfs]
      [10459.403423]  [<ffffffffc0a5f69c>] dmu_free_long_range+0x18c/0x240 [zfs]
      [10459.403449]  [<ffffffffc0ad266d>] zfs_rmnode+0x5d/0x340 [zfs]
      [10459.403473]  [<ffffffffc0af2bb8>] zfs_zinactive+0x168/0x180 [zfs]
      [10459.403494]  [<ffffffffc0aecc30>] zfs_inactive+0x60/0x200 [zfs]
      [10459.403518]  [<ffffffffc0b034c3>] zpl_evict_inode+0x43/0x60 [zfs]
      [10459.403521]  [<ffffffff811ee864>] evict+0xb4/0x180
      [10459.403523]  [<ffffffff811ef045>] iput+0xf5/0x180
      [10459.403525]  [<ffffffff811e3a83>] do_unlinkat+0x193/0x2c0
      [10459.403528]  [<ffffffff811d8cbf>] ? SYSC_newstat+0x2f/0x40
      [10459.403530]  [<ffffffff811e4b06>] SyS_unlink+0x16/0x20
      [10459.403532]  [<ffffffff8176aced>] system_call_fastpath+0x1a/0x1f
      

      I will attach the backtrace of all running processes soon

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              jay Jinshan Xiong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: