commit | f8dbdf81821b5ab4c5e86e7b2bd7edb892c159c2 | [log] [tgz] |
---|---|---|
author | Maxim Patlasov <mpatlasov@parallels.com> | Fri Oct 26 19:48:51 2012 +0400 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Thu Jan 24 16:21:26 2013 +0100 |
tree | c44427d2912a4c4245fe19b59f621a4280a07bf3 | |
parent | 4d53dc99baf139e4fa0d395f7658032cc2eb3297 [diff] |
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 <mpatlasov@parallels.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>