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

call dcb commit callback in osd_trans_stop()

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: