diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2016-02-17 13:11:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-18 16:23:24 -0800 |
commit | 0918f1c309b86301605650c836ddd2021d311ae2 (patch) | |
tree | 973765405f04bda0739f6649b5cca78cac719ca7 /fs/devpts | |
parent | 13d34ac6e55b8284c592c67e166ac614b3c4c1d7 (diff) | |
download | linux-0918f1c309b86301605650c836ddd2021d311ae2.tar.gz linux-0918f1c309b86301605650c836ddd2021d311ae2.tar.bz2 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 'fs/devpts')
0 files changed, 0 insertions, 0 deletions