]> err.no Git - linux-2.6/commit
[PATCH] fuse: clean up request accounting
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 11 Apr 2006 05:54:58 +0000 (22:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:49 +0000 (06:18 -0700)
commitce1d5a491f0ee50560416a73faa5e4ddbab074bd
tree21f91d983b467ad05df0213f54fe00aad84e5761
parenta87046d822f2d982d25b24c4a644d34f22d4888a
[PATCH] fuse: clean up request accounting

FUSE allocated most requests from a fixed size pool filled at mount time.
However in some cases (release/forget) non-pool requests were used.  File
locking operations aren't well served by the request pool, since they may
block indefinetly thus exhausting the pool.

This patch removes the request pool and always allocates requests on demand.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/dev.c
fs/fuse/dir.c
fs/fuse/file.c
fs/fuse/fuse_i.h
fs/fuse/inode.c