diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2016-02-17 22:11:21 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-19 01:23:24 +0100 |
commit | 0918f1c309b86301605650c836ddd2021d311ae2 (patch) | |
tree | 973765405f04bda0739f6649b5cca78cac719ca7 /arch/x86 | |
parent | Revert "fsnotify: destroy marks with call_srcu instead of dedicated thread" (diff) | |
download | linux-0918f1c309b86301605650c836ddd2021d311ae2.tar.xz linux-0918f1c309b86301605650c836ddd2021d311ae2.zip |
fsnotify: turn fsnotify reaper thread into a workqueue job
We don't require a dedicated thread for fsnotify cleanup. Switch it
over to a workqueue job instead that runs on the system_unbound_wq.
In the interest of not thrashing the queued job too often when there are
a lot of marks being removed, we delay the reaper job slightly when
queueing it, to allow several to gather on the list.
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Tested-by: Eryu Guan <guaneryu@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Eric Paris <eparis@parisplace.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions