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

shmem_bump() notes "running" bumped without lock control

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.2.0
    • Lustre 1.8.x (1.8.0 - 1.8.5)
    • None
    • all
    • 3
    • 4836

      This code allows "running" to be bumped once for each
      thread that enters "lock()" before "bumped_running"
      gets set to 1. This has been simplified from code in obd.c:

      static int bumped_running;
      lock();
      if (!bumped_running)
      running++;
      unlock();
      bumped_running = 1;

            rread Robert Read
            bkorb Bruce Korb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: