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

lut_client_alloc/free() shouldn't be called for self_export

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.2.0
    • None
    • None
    • 3
    • 4862

    Description

      There are two bad effects with obd_self_export passing to lut_client_alloc/free. First, it is just not needed to allocate client data for it, second, this can cause assertion in lut_client_free() if lut_init() wasn't called due to failed mdt_init0().

      Fix could be just check for exp == exp->exp_obd->obd_self_export in mdt/obdfilter. Alternatively that can be done inside lut_client_alloc/free but I like to keep them generic

      Attachments

        Issue Links

          Activity

            People

              tappro Mikhail Pershin
              tappro Mikhail Pershin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: