]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: ptlrpc: use delayed_work in sec_gc
authorNeilBrown <neilb@suse.com>
Thu, 1 Mar 2018 23:31:25 +0000 (10:31 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 12:20:22 +0000 (04:20 -0800)
commitcb6db07cb1833ef819bce849802a4cc5bbd4b434
treeee1fc281c503300986624f52e91e959b6b62f95f
parent190abe72dd101bfa452bcde1fc5fa4d3617efe71
staging: lustre: 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.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/sec_gc.c