From: Miklos Szeredi Date: Tue, 7 Dec 2010 19:16:56 +0000 (+0100) Subject: fuse: allow batching of FORGET requests X-Git-Tag: v2.6.38-rc1~448^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02c048b919455aaa38628563cdcc2e691c8a9f53;p=pandora-kernel.git fuse: allow batching of FORGET requests Terje Malmedal reports that a fuse filesystem with 32 million inodes on a machine with lots of memory can take up to 30 minutes to process FORGET requests when all those inodes are evicted from the icache. To solve this, create a BATCH_FORGET request that allows up to about 8000 FORGET requests to be sent in a single message. This request is only sent if userspace supports interface version 7.16 or later, otherwise fall back to sending individual FORGET messages. Reported-by: Terje Malmedal Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed