Whamcloud - gitweb
LU-4423 ptlrpc: use delayed_work in sec_gc 24/31724/3
authorDmitry Eremin <dmitry.eremin@intel.com>
Thu, 22 Mar 2018 15:51:00 +0000 (18:51 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 7 Jun 2018 20:07:54 +0000 (20:07 +0000)
commitede9b4f8f5be8a8a93619336d7d8c97b3f9833c5
treeb9f5824d689921bd15abf50be58fcaccc83a22dc
parentf92fcb863cb9114b2217a4489d7b6b2e5332f364
LU-4423 ptlrpc: use delayed_work in sec_gc

The garbage collection for security contexts currently has a dedicated
kthread which wakes up every 30 minutes to discard old garbage.

Replace this with a simple delayed_work item on the system work queue.

Change-Id: I5cdb023783104b5e21f4139731065946ed162af1
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-on: https://review.whamcloud.com/31724
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/sec_gc.c