From 1da1889b6f9256ba84a916e300d90485befd62cb Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Tue, 13 Dec 2016 11:33:18 -0700 Subject: [PATCH] burst_buffer/cray: Log buffers found on slurmctld restart --- src/plugins/burst_buffer/cray/burst_buffer_cray.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/burst_buffer/cray/burst_buffer_cray.c b/src/plugins/burst_buffer/cray/burst_buffer_cray.c index 3d829d23de5..d78d9be21d5 100644 --- a/src/plugins/burst_buffer/cray/burst_buffer_cray.c +++ b/src/plugins/burst_buffer/cray/burst_buffer_cray.c @@ -690,7 +690,7 @@ static bb_job_t *_get_bb_job(struct job_record *job_ptr) } /* At slurmctld start up time, for every currently active burst buffer, - * update that user's limit */ + * update that user's limit. Also log every recovered buffer */ static void _apply_limits(void) { bool emulate_cray = false; @@ -703,6 +703,9 @@ static void _apply_limits(void) for (i = 0; i < BB_HASH_SIZE; i++) { bb_alloc = bb_state.bb_ahash[i]; while (bb_alloc) { + info("Recovered buffer Name:%s User:%u Pool:%s Size:%"PRIu64, + bb_alloc->name, bb_alloc->user_id, + bb_alloc->pool, bb_alloc->size); _set_assoc_mgr_ptrs(bb_alloc); bb_limit_add(bb_alloc->user_id, bb_alloc->size, bb_alloc->pool, &bb_state, emulate_cray); -- GitLab