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

shmem_bump() notes "running" bumped without lock control

    XMLWordPrintable

Details

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

    Description

      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;

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: