]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: truncate heavily reflinked file
authorWang Xiaoguang <wangxg.fnst@cn.fujitsu.com>
Fri, 23 Sep 2016 03:12:07 +0000 (11:12 +0800)
committerEryu Guan <eguan@redhat.com>
Fri, 23 Sep 2016 16:39:13 +0000 (00:39 +0800)
commit73ca62e997ce7a341cf856d8d53add09eff9c9f8
tree7d1b866a27219c962a9961133fc8de6fbd49ec0c
parentc27a67f0e7e73ff1132c4d96c382c3faef9e3fba
generic: truncate heavily reflinked file

In btrfs, there is a bug about btrfs' truncate codes, it'll leak
some fs space as the truncate operation proceeds. If this truncate
operation is very large, later metadata request in this truncate
operation may fail for enospc error. I also have sent a kernel
patch fot btrfs to fix this issue.

Signed-off-by: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/387 [new file with mode: 0755]
tests/generic/387.out [new file with mode: 0644]
tests/generic/group