Whamcloud - gitweb
LU-17710 obdclass: background jobid garbage collection 26/54726/3
authorEtienne AUJAMES <etienne.aujames@cea.fr>
Wed, 10 Apr 2024 12:16:41 +0000 (14:16 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 Jun 2024 04:51:15 +0000 (04:51 +0000)
commit16854cad1c9f5db93c94686b45b1a57e82beafe6
tree1052f67047cd255bbe9a1408d8329f99f8edbc47
parent7869bb320e735547410a7d3e31061b9044389c53
LU-17710 obdclass: background jobid garbage collection

The jobid pidmap garbage collection is done directly in
lustre_get_jobid()/jobid_get_from_cache() every 5 min.

This patch run the garbage collection in background with a "delayed
work" handler.

Signed-off-by: Etienne AUJAMES <eaujames@ddn.com>
Change-Id: I5719e278ec6bde0f8c15fd2e3fe9757c714747c4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54726
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Thomas Bertschinger <bertschinger@lanl.gov>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/jobid.c