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

call dcb commit callback in osd_trans_stop()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • Lustre 2.8.0
    • Lustre 2.8.0
    • None
    • 3
    • 9223372036854775807

      In osd_trans_stop()

           } else {
                      osd_trans_stop_cb(oh, th->th_result);
                      OBD_FREE_PTR(oh);
           }
      

      It should call dcb commit callback as well, because the dcb callback is registered before transaction start(). Otherwise once error happens before transaction start, local commit callback will never be called, which will stop the llog cancellation, and cumulate a lot of update logs, cause long time recovery. This issue might be related with endless recovery found in soak-test.

            di.wang Di Wang (Inactive)
            di.wang Di Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: