]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test if device delete ends up with losing raid profile
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 16 Oct 2017 16:51:20 +0000 (10:51 -0600)
committerEryu Guan <eguan@redhat.com>
Sun, 22 Oct 2017 11:16:56 +0000 (19:16 +0800)
commitf711dfad6c273e8108dd91f45d20686c867a0205
tree6b2f93ef1eebf6a24b7dcb08c86a6028a054b1c9
parent954d9953c5450e277c8cddb210c420a81914382d
btrfs: test if device delete ends up with losing raid profile

Currently running 'btrfs device delete' can end up with losing data
raid profile (if any), this test is to reproduce the problem.

The fix is
     "Btrfs: avoid losing data raid profile when deleting a device"

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