From: Maxim Patlasov Date: Fri, 26 Oct 2012 15:48:51 +0000 (+0400) Subject: fuse: rework fuse_readpages() X-Git-Tag: v3.9-rc1~135^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8dbdf81821b5ab4c5e86e7b2bd7edb892c159c2;p=pandora-kernel.git fuse: rework fuse_readpages() The patch uses 'nr_pages' argument of fuse_readpages() as heuristics for the number of page pointers to allocate. This can be improved further by taking in consideration fc->max_read and gaps between page indices, but it's not clear whether it's worthy or not. Signed-off-by: Maxim Patlasov Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed