[LTP] [PATCH v4] syscalls/sync_file_range: add partial file sync test-cases

Cyril Hrubis chrubis@suse.cz
Wed Jun 19 11:58:05 CEST 2019


Hi!
> > With these modification the test was stable and worked fine for more
> > than 100 iterations for me. It still fails for FUSE based filesystems
> > but that is to be expected since FUSE does not implement sync_file_range
> > yet.
> >
> 
> What is the proposed way to resolve this failure?
> If FUSE does not implement sync_file_range, shouldn't test detect
> it and return TCONF?

Well the call returns success but does not sync anything on FUSE based
filesystems so the choices here are:

1) Disable the test of FUSE
2) Keep the test failing and ignore the failures

Which one do you prefer?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list