Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d3293501 authored by Maxim Patlasov's avatar Maxim Patlasov Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarMaxim Patlasov <MPatlasov@parallels.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
Git-commit:  fe38d7df230b022e72014ef7aa799a4f2acfecf3
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git


Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent fc3bf9f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment