1. 23 Jul, 2018 4 commits
    • Tim Wickberg's avatar
      Handle locking for assoc_mgr_clear_used_info() upstream. · 4b7ad3b6
      Tim Wickberg authored
      Avoid a double-locking issue by moving the locks previously
      required by assoc_mgr_clear_used_info() up in the calling path
      to _restore_job_dependencies().
      
      Add commented out lock annotations to use later.
      4b7ad3b6
    • Tim Wickberg's avatar
      Remove slurm_shutdown_msg_engine() in favor of close(). · 2cf8ceef
      Tim Wickberg authored
      Nothing ever checks this return code anyways.
      2cf8ceef
    • Tim Wickberg's avatar
      Remove slurm_shutdown_msg_conn() in favor of close(). · e3f45f55
      Tim Wickberg authored
      This also cleans up several locations that could try to repeatedly call
      close(). See prior commit for further details on why that is best avoided.
      e3f45f55
    • Tim Wickberg's avatar
      Do not retry close() syscall on error. · a1e5c264
      Tim Wickberg authored
      Quoting part of the close() man page:
      
             Retrying  the  close() after a failure return is the wrong thing to do,
             since this may cause a reused file descriptor from another thread to be
             closed.   This  can  occur because the Linux kernel always releases the
             file descriptor early in the close operation, freeing it for reuse; the
             steps that may return an error, such as flushing data to the filesystem
             or device, occur only later in the close operation.
      a1e5c264
  2. 21 Jul, 2018 4 commits
  3. 20 Jul, 2018 3 commits
  4. 19 Jul, 2018 12 commits
  5. 18 Jul, 2018 12 commits
  6. 17 Jul, 2018 5 commits