diff options
author | Maxim Patlasov <MPatlasov@parallels.com> | 2013-10-10 17:11:54 +0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-04-02 15:38:50 +0200 |
commit | fe38d7df230b022e72014ef7aa799a4f2acfecf3 (patch) | |
tree | 58ac02af5d0c373b85841f355dc0f4b5641fb885 /fs/fuse/cuse.c | |
parent | 6b12c1b37e5556af073c1ebfa04c1f9df3a2beaf (diff) |
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 <MPatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/cuse.c')
0 files changed, 0 insertions, 0 deletions