From: Miklos Szeredi Date: Wed, 6 Feb 2008 09:38:39 +0000 (-0800) Subject: fuse: limit queued background requests X-Git-Tag: v2.6.25-rc1~624 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d12def1bcb809b6172ee207a24e00a0a4398df1d;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed