linux-stable-rt/fs/fuse
Miklos Szeredi d12def1bcb fuse: limit queued background requests
Libfuse basically creates a new thread for each new request.  This is fine for
synchronous requests, which are naturally limited.  However background
requests (especially writepage) can cause a thread creation storm.

To avoid this, limit the number of background requests available to userspace.

This is done by introducing another queue for background requests, and a
counter for the number of "active" requests, which are currently available for
userspace.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-06 10:41:13 -08:00
..
Makefile
control.c
dev.c fuse: limit queued background requests 2008-02-06 10:41:13 -08:00
dir.c
file.c fuse: save space in struct fuse_req 2008-02-06 10:41:13 -08:00
fuse_i.h fuse: limit queued background requests 2008-02-06 10:41:13 -08:00
inode.c fuse: limit queued background requests 2008-02-06 10:41:13 -08:00