]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test that corruption counter is incremented correctly
authorNikolay Borisov <nborisov@suse.com>
Thu, 2 Jul 2020 14:38:23 +0000 (17:38 +0300)
committerEryu Guan <guaneryu@gmail.com>
Sun, 19 Jul 2020 16:41:10 +0000 (00:41 +0800)
commit5231c9fa161391b941bb6cdb695c481e6b8471e1
treea5329293a140d501c1346f1b8326724f76d5852b
parent3423e3326ebe2f15dd3a7b3914a0cbb166817cfe
btrfs: test that corruption counter is incremented correctly

This patch ensures device corrupted counter is being modified when we try to
read broken data.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/215 [new file with mode: 0755]
tests/btrfs/215.out [new file with mode: 0644]
tests/btrfs/group