From: Maxim Patlasov Date: Thu, 10 Oct 2013 13:11:54 +0000 (+0400) Subject: fuse: fuse_flush() should wait on writeback X-Git-Tag: v3.15-rc1~94^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe38d7df230b022e72014ef7aa799a4f2acfecf3;p=pandora-kernel.git fuse: fuse_flush() should wait on writeback The aim of .flush fop is to hint file-system that flushing its state or caches or any other important data to reliable storage would be desirable now. fuse_flush() passes this hint by sending FUSE_FLUSH request to userspace. However, dirty pages and pages under writeback may be not visible to userspace yet if we won't ensure it explicitly. Signed-off-by: Maxim Patlasov Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed