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

rework a transaction restart for OST

XMLWordPrintable

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

      OST may failed with transaction credits in quota and current code don't helps with it.
      it caused a panic

      2026-05-11 08:43:05 [4749461.803719] Kernel panic - not syncing: LDISKFS-fs (device md1): panic forced after error
      2026-05-11 08:43:05 [4749461.816664] CPU: 13 PID: 1759200 Comm: ll_ost_io03_056 Kdump: loaded Tainted: P        W  O      -------  ---  5.14.0-427.42.1.x7.2.030.35.x86_64 #1
      2026-05-11 08:43:05 [4749461.837524] Hardware name: Viking Enterprise Solutions VSSEP1ED/VSSES1ED, BIOS 5.27 03/28/2025
      2026-05-11 08:43:05 [4749461.853268] Call Trace:
      2026-05-11 08:43:05 [4749461.862230]  <TASK>
      2026-05-11 08:43:05 [4749461.870751]  dump_stack_lvl+0x34/0x48
      2026-05-11 08:43:05 [4749461.882281]  panic+0x107/0x2f7
      2026-05-11 08:43:05 [4749461.889285]  ldiskfs_handle_error.cold+0x13/0x13 [ldiskfs]
      2026-05-11 08:43:05 [4749461.902795]  __ldiskfs_std_error+0x83/0xe0 [ldiskfs]
      2026-05-11 08:43:05 [4749461.912279]  __ldiskfs_journal_stop+0x82/0xb0 [ldiskfs]
      2026-05-11 08:43:05 [4749461.925293]  ldiskfs_write_dquot+0x8e/0xb0 [ldiskfs]
      2026-05-11 08:43:05 [4749461.936426]  __dquot_free_space+0x242/0x310
      2026-05-11 08:43:05 [4749461.947871]  ? ldiskfs_get_group_desc+0x58/0xf0 [ldiskfs]
      2026-05-11 08:43:05 [4749461.961076]  ldiskfs_mb_new_blocks+0x4f9/0x9d0 [ldiskfs]
      2026-05-11 08:43:05 [4749461.973276]  ? ldiskfs_find_extent+0x1af/0x450 [ldiskfs]
      2026-05-11 08:43:05 [4749461.985790]  ? xas_load+0x9/0xa0
      2026-05-11 08:43:05 [4749461.996169]  ldiskfs_ext_map_blocks+0x61b/0x9a0 [ldiskfs]
      2026-05-11 08:43:05 [4749462.009291]  ldiskfs_map_blocks+0x22e/0x610 [ldiskfs]
      2026-05-11 08:43:05 [4749462.022266]  osd_ldiskfs_map_inode_pages+0x41e/0x9d0 [osd_ldiskfs]
      2026-05-11 08:43:05 [4749462.035199]  osd_write_commit+0x795/0xa00 [osd_ldiskfs]
      2026-05-11 08:43:05 [4749462.047274]  ofd_commitrw_write+0xbd5/0x1220 [ofd]
      2026-05-11 08:43:05 [4749462.059287]  ofd_commitrw+0x68e/0xbe0 [ofd]
      2026-05-11 08:43:05 [4749462.070282]  ? obd_commitrw+0x1c1/0x390 [ptlrpc]
      2026-05-11 08:43:05 [4749462.083288]  obd_commitrw+0x1c1/0x390 [ptlrpc]
      2026-05-11 08:43:05 [4749462.096287]  tgt_brw_write+0x149c/0x1b40 [ptlrpc]
      2026-05-11 08:43:05 [4749462.109121]  ? pick_next_task_fair+0x1dc/0x500
      2026-05-11 08:43:05 [4749462.120871]  ? lock_timer_base+0x61/0x80
      2026-05-11 08:43:05 [4749462.132274]  tgt_handle_request0+0x2eb/0x720 [ptlrpc]
      2026-05-11 08:43:05 [4749462.145258]  tgt_request_handle+0x255/0xb70 [ptlrpc]
      2026-05-11 08:43:05 [4749462.158255]  ? obd_export_timed_fini+0xc0/0xe0 [obdclass]
      

      it caused a problem when ext4/ldiskfs want an undo a quota change but it calls a transaction stop who can't fit in transaction and ldskfs_error called.

            shadow Alexey Lyashkov
            shadow Alexey Lyashkov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: