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

port bug18896 to master(replay-single test_61d: @@@@@@ FAIL: cannot restart mds on Cray xt3)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.1.0
    • Lustre 1.8.6
    • None
    • 3
    • 18,896
    • 4935

    Description

      for mgc, it doesn't cleanup its obd_import if it setup the import but never connect, should add cleanup code in mgc_precleanup just like mdc_precleanup

      /* client import will not have been cleaned. */
      cfs_down_write(&obd->u.cli.cl_sem);
      if (obd->u.cli.cl_import)

      { struct obd_import *imp; imp = obd->u.cli.cl_import; CERROR("client import never connected\n"); class_destroy_import(imp); obd->u.cli.cl_import = NULL; }

      cfs_up_write(&obd->u.cli.cl_sem);

      Attachments

        Activity

          People

            hongchao.zhang Hongchao Zhang
            hongchao.zhang Hongchao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: