Skip to content
Snippets Groups Projects
  1. Apr 13, 2021
  2. Apr 12, 2021
  3. Apr 10, 2021
  4. Apr 09, 2021
  5. Apr 07, 2021
  6. Apr 06, 2021
    • Marshall Garey's avatar
      Minor cleanup - remove unneeded code. · 80f9ae05
      Marshall Garey authored
      Due to other changes for bug 9193, finding job_ptr here is no longer
      needed, so remove it. Because job_ptr isn't used here, we can also move
      where we lock the job_write_lock since we don't need it in the else
      block anymore, but we still need it in the if block.
      
      Bug 9193
      80f9ae05
    • Marshall Garey's avatar
      Remove redundant call to set burst buffer state to STAGING_IN. · 2b83531b
      Marshall Garey authored
      The job burst buffer state was already state to BB_STATE_STAGING_IN
      before this function so setting it here was redundant.
      
      Bug 9193
      2b83531b
    • Marshall Garey's avatar
      Fix race condition causing burst buffer not to be state saved. · f1df11af
      Marshall Garey authored
      The burst buffer record which is state saved was not created for a job
      until the middle of the stage-in thread. If slurmctld was shutdown during
      burst buffer stage-in for a job, the thread would be killed before
      creating the burst buffer record, and therefore the burst buffer was
      not state saved.
      
      Bug 9193
      f1df11af
    • Marshall Garey's avatar
      Restore burst buffer state on slurmctld startup. · 0271df11
      Marshall Garey authored
      Previously even though burst buffers were state saved, the state of the
      burst buffer was always reset to PENDING. This commit gets the state of
      the burst buffer when slurmctld was shutdown and then uses that
      information to do whatever is needed: certain threads are restarted and
      the burst buffer state may be changed, or the burst buffer may just be
      cleaned up.
      
      Previously a burst buffer that was state saved was ignored if the job
      was completed. This commit removed that logic since the burst buffer may
      not have completed stage-out and teardown.
      
      Bug 9193
      0271df11
Loading