kernel_optimize_test/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
..
control.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
dev.c fuse: limit queued background requests 2008-02-06 10:41:13 -08:00
dir.c fuse: fix attribute caching after create 2008-02-06 10:41:13 -08:00
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
Makefile [PATCH] fuse: add control filesystem 2006-06-25 10:01:19 -07:00