Fixes a flaw in client eio_obj_t setup. There are differences in how
the initial client eio object and later "srun --attach" objects are handled due to the caching. Modifications to the eio engine to move the List of eio_obj_t into the opaque eio_handle_t. New eio calls "eio_new_initial_obj" and "eio_new_obj", both of which add an eio_obj_t to the eio_handle_t's internal object List. However, only the later function is safe to call when the eio mainloop is running. Also caught in this commit is some initial code to implement the RPCs REQUEST_TERMINATE_* and REQUEST_SIGNAL_*.
Showing
- src/common/eio.c 53 additions, 14 deletionssrc/common/eio.c
- src/common/eio.h 17 additions, 1 deletionsrc/common/eio.h
- src/slurmd/io.c 66 additions, 7 deletionssrc/slurmd/io.c
- src/slurmd/io.h 9 additions, 0 deletionssrc/slurmd/io.h
- src/slurmd/mgr.c 10 additions, 5 deletionssrc/slurmd/mgr.c
- src/slurmd/req.c 147 additions, 48 deletionssrc/slurmd/req.c
- src/slurmd/slurmd_job.c 3 additions, 7 deletionssrc/slurmd/slurmd_job.c
- src/slurmd/slurmd_job.h 0 additions, 1 deletionsrc/slurmd/slurmd_job.h
- src/srun/io.c 9 additions, 5 deletionssrc/srun/io.c
- src/srun/srun_job.c 1 addition, 2 deletionssrc/srun/srun_job.c
- src/srun/srun_job.h 0 additions, 1 deletionsrc/srun/srun_job.h
Loading
Please register or sign in to comment