1. 23 Apr, 2019 10 commits
    • Danny Auble's avatar
      Merge branch 'bug5613' · 2a46955b
      Danny Auble authored
      2a46955b
    • Felip Moll's avatar
      Track scripts run by slurmctld · 78f5a097
      Felip Moll authored
      We will store the pid of running scripts on a list in order to kill them
      when slurmctld is shutting down. This will make the thread running the script
      to end, so we will join this thread too, but only during a specified timeout,
      because if the pid forked by the caller thread is stuck in IO, slurmctld will
      be stuck too.
      
      We also need to diferentiate when a sigkill is send by a human or OOM, from
      the one send by slurmctld when killing it, so the one way wil be to set
      ctld_script_rec_t jobid to -1 when we are killing the process.
      
      Work to do includes adding this logic to the burst_buffer functions which use
      the run_command() function.
      
      Work to do also may need to add locks for accessing ctld_script_rec_t records.
      
      Bug 5913
      78f5a097
    • Tim Wickberg's avatar
      Rename container_{g,p}_add_pid() to container_{g,p}_join(). · 0097f089
      Tim Wickberg authored
      Now that the pid is no longer an argument, the name doesn't make sense.
      Change to container_g_join() to reflect the underlying functionality.
      
      Bug 6567.
      0097f089
    • Tim Wickberg's avatar
      Fix typo. · 9f7bb12c
      Tim Wickberg authored
      9f7bb12c
    • Aditi Gaur's avatar
      Remove the pid argument from container_{g,p}_add_pid(). · 30280215
      Aditi Gaur authored
      Removal of this argument forces the use of this function call only for
      adding the calling process - and not any other process - to the job
      container. This is needed for an in-development job container
      plugin that adds jobs to namespaces. As it uses setns() system call -
      which can only work on the calling process - the plugin thus relies
      on being called from the calling process.
      
      Bug 6567.
      30280215
    • Tim Wickberg's avatar
      Remove unnecessary includes. · a7b7daec
      Tim Wickberg authored
      a7b7daec
    • Tim Wickberg's avatar
      Use the correct file name. · 506abd93
      Tim Wickberg authored
      506abd93
    • Tim Wickberg's avatar
      Fix wrong structure name in comment. · 5dabd463
      Tim Wickberg authored
      5dabd463
    • Danny Auble's avatar
      Add list_remove_first. · 339319f9
      Danny Auble authored
      Every once in a while I want to remove an element from a list but not
      delete it.  This function does that.
      339319f9
    • Tim Wickberg's avatar
      Fix typo. · 01bf7724
      Tim Wickberg authored
      01bf7724
  2. 22 Apr, 2019 4 commits
  3. 20 Apr, 2019 1 commit
  4. 19 Apr, 2019 14 commits
  5. 18 Apr, 2019 11 commits