]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test freeze/rmap repair race
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 21 Jun 2017 21:58:11 +0000 (14:58 -0700)
committerEryu Guan <eguan@redhat.com>
Thu, 29 Jun 2017 09:54:13 +0000 (17:54 +0800)
commitf3a5cbbb34b717f6dbfc83d9a51435899871a939
tree8b18386ecae31e8918535b88fd1416140cd24da5
parentff5eca9b68e650e8ade96ae49cb9bdfb2c5ce5c1
xfs: test freeze/rmap repair race

The rmapbt repair code plays some dirty tricks with the fs freezer
to avoid running afoul of regular xfs locking requirements.  Add a
test to check that filesystem write activities do not deadlock with
the repair program.

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>
tests/xfs/422 [new file with mode: 0755]
tests/xfs/422.out [new file with mode: 0644]
tests/xfs/group