[LTP] [PATCH v4 9/9] syscalls/sync_file_range: add sync device test-case
Tue Feb 26 10:02:56 CET 2019
On Mon, 25 Feb 2019 at 20:57, Cyril Hrubis <email@example.com> wrote:
> This tests fails for me for fuse based filesystems, the call returns 0
> but does not write anything, the questions is if this is desired
> behavior or not.
Interesting case. Do you see similar behaviour with other sync related syscalls?
AFAIK, fuse file-system operations are implemented in user-space
daemons exported to kernel as callbacks via libfuse. Maybe we need to
check fsync() callback operation  implementation?
> Also we should as well add a second test here that sync only a middle of
> a written region of a file and expects that the data written are
> somewhere between a few percents of the synced size.
Sure, will add a test for this.
> Cyril Hrubis
More information about the ltp