fuse: Implement writepages callback
authorPavel Emelyanov <xemul@openvz.org>
Sat, 29 Jun 2013 17:45:29 +0000 (21:45 +0400)
committerMiklos Szeredi <mszeredi@suse.cz>
Tue, 1 Oct 2013 14:44:52 +0000 (16:44 +0200)
commit26d614df1da9d7d255686af5d6d4508f77853c01
tree95840c244bc0f92450db6a7b96e015ff8f07a109
parent72523425fb434e81c0c9f611bd880ce339c4e06b
fuse: Implement writepages callback

The .writepages one is required to make each writeback request carry more than
one page on it. The patch enables optimized behaviour unconditionally,
i.e. mmap-ed writes will benefit from the patch even if fc->writeback_cache=0.

[SzM: simplify, add comments]

Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/file.c