]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
src/fsync-err: write to different offset on each fd
authorJeff Layton <jlayton@redhat.com>
Wed, 13 Sep 2017 13:06:24 +0000 (09:06 -0400)
committerEryu Guan <eguan@redhat.com>
Sun, 17 Sep 2017 14:24:28 +0000 (22:24 +0800)
commit39f31eb2838f34a5fd0284927adeebaeb71f6eb5
tree0948077b174f3b11e8ae431c5cf3c9846aa8dca8
parent71d1ae5b8f5c4292c12dc119cb7c82f66dc96fbf
src/fsync-err: write to different offset on each fd

NFS currently has slightly different semantics from other fs' and
fails this test due to the fact that the same range is overwritten
via each fd.

Change it so that each fd overwrites a different region, which is
more representative of a real workload anyway.

Reported-by: Neil Brown <neilb@suse.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
src/fsync-err.c