]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/098: update test for truncating a file into the middle of a hole
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 16 Nov 2016 19:17:03 +0000 (11:17 -0800)
committerEryu Guan <eguan@redhat.com>
Fri, 18 Nov 2016 08:41:02 +0000 (16:41 +0800)
commit775e2d0c03176c5a084e65ef1407864610891fc8
treeb52139cd8e55fc28e694f8e15b1ec316b16b7fc9
parent9c5a3fa344a87fd6b9bf6989cd9ef880c97104f5
generic/098: update test for truncating a file into the middle of a hole

This updates generic/098 by adding a sync option, i.e. 'sync' after
the second write, and with btrfs's NO_HOLES, we could still get
wrong isize after remount.

This gets fixed by the patch

'Btrfs: fix truncate down when no_holes feature is enabled'

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/098
tests/generic/098.out