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. Change-Id: I98af8c91a417ceee645a8c2b8b877b302c38b303 Signed-off-by:Maxim Patlasov <MPatlasov@parallels.com> Signed-off-by:
Miklos Szeredi <mszeredi@suse.cz> Git-commit: fe38d7df230b022e72014ef7aa799a4f2acfecf3 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git Signed-off-by:
Nikhilesh Reddy <reddyn@codeaurora.org>
Loading
Please register or sign in to comment