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
..
2008-01-28 23:58:27 -05:00
2007-10-19 11:53:37 -07:00
2008-02-03 17:33:42 +02:00
2007-12-05 09:25:20 -08:00
2007-10-22 08:13:21 -07:00
2008-02-06 10:41:08 -08:00
2008-02-06 10:41:02 -08:00
2008-02-03 17:33:42 +02:00
2008-01-30 13:31:20 +01:00
2008-01-30 13:31:20 +01:00
2008-02-03 15:14:02 +02:00
2008-02-03 15:42:53 +02:00
2007-10-18 14:37:31 -07:00
2008-02-06 10:41:04 -08:00
2007-12-05 09:21:18 -08:00
2008-02-03 18:05:15 +02:00
2008-01-30 13:31:46 +01:00
2008-01-28 23:21:18 +01:00
2008-02-06 10:41:07 -08:00
2008-02-05 09:44:07 -08:00
2008-02-06 10:41:07 -08:00
2008-02-05 14:37:15 -08:00
2008-01-30 13:31:46 +01:00
2008-02-03 17:51:36 -05:00
2008-01-30 13:31:46 +01:00
2008-02-06 10:41:09 -08:00
2007-11-14 18:45:42 -08:00
2008-02-06 10:41:02 -08:00
2008-02-05 09:44:07 -08:00