]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test device delete with EIO on src dev
authorAnand Jain <Anand.Jain@oracle.com>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
commit7dc0112d7206468265094428aff250330437d2fc
tree09450061f8ff637d800fde412df96a82f1be5549
parent6a4f7e057eed1d46d64a5d026e26060ed78b7a2c
btrfs: test device delete with EIO on src dev

This test case tests if the device delete works with
the failed (EIO) source device. EIO errors are achieved
usign the DM device.

This test would need following btrfs-progs and btrfs
kernel patch
   btrfs-progs: device delete to accept devid
   Btrfs: device delete by devid

However when btrfs-progs patch is not found this test will
not run, and when kernel patch is not found btrfs-progs
will fail gracefully and thus the test script.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
tests/btrfs/101 [new file with mode: 0755]
tests/btrfs/101.out [new file with mode: 0644]
tests/btrfs/group