]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: extract helper for range writeback
authorMiklos Szeredi <mszeredi@redhat.com>
Tue, 28 May 2019 11:22:50 +0000 (13:22 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 28 May 2019 11:22:50 +0000 (13:22 +0200)
commitf5f39cb030e50f7fa28c3761d54ea2a5b7eca383
tree0aabc5a7dde34e3c1b5aec26dcca8bb3067bfaab
parent4926bfa0e39e4a76a9d00af268636bed1e321701
fuse: extract helper for range writeback

The fuse_writeback_range() helper flushes dirty data to the userspace
filesystem.

When the function returns, the WRITE requests for the data in the given
range have all been completed.  This is not equivalent to fsync() on the
given range, since the userspace filesystem may not yet have the data on
stable storage.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c