]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
reflink: don't test disjoint block sharing sets
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 11 Dec 2016 21:53:22 +0000 (13:53 -0800)
committerEryu Guan <eguan@redhat.com>
Tue, 13 Dec 2016 06:26:18 +0000 (14:26 +0800)
commitf613638308c9a0a91d83f13dab7d79549d1cacbd
treee3c7ca84efba420099aa93517abf8ecd5cb4667d
parent2257d91fe4a5b018c02cb06e0a4b62ae094e494f
reflink: don't test disjoint block sharing sets

Unlike xfs/btrfs which store refcounting information as part of the
space metadata, ocfs2 implements block sharing (reflink) by creating
refcount btrees that are shared between subsets of files.  Effectively,
this means that a ocfs2 can have multiple disjoint sets of files that
share blocks, which also means that blocks cannot be reflinked between
two disjoint refcounted-file-sets.  generic/119 tests the ability to do
this, so we cannot run it for ocfs2.  Create a _require helper to check
for this.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/reflink
tests/generic/119