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

missed semaphore release in gss_do_ctx_init_rpc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.2.0
    • Lustre 2.1.0, Lustre 2.2.0
    • None
    • 3
    • 4818

      Shadow reports that in gss_do_ctx_init_rpc we have this nice code:

      cfs_down_read(&obd->u.cli.cl_sem);
      if (obd->u.cli.cl_import == NULL)

      { CERROR("obd %s: import has gone\n", obd->obd_name); RETURN(-EINVAL); <<< - missing up read before here. }

      imp = class_import_get(obd->u.cli.cl_import);
      cfs_up_read(&obd->u.cli.cl_sem);

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

              Created:
              Updated:
              Resolved: