]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: test partial block device failure
authorEryu Guan <eguan@redhat.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)
commitd7ae61359f3b02a49c9a0fa69814fd12d3326acf
tree5e4362daca348038e310db2556fef8e8bc315605
parentd3046b54e125df5f244b47966c7d12d41f3ee973
generic: test partial block device failure

Calls like fsync() should report failure on partial I/O failure, e.g. a
single failed disk in a raid 0 stripe.

This test is motivated by an XFS bug, and this commit fixed the issue
xfs: return errors from partial I/O failures to files

This case is written by David Jeffery <djeffery@redhat.com> originally.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/108 [new file with mode: 0755]
tests/generic/108.out [new file with mode: 0644]
tests/generic/group