]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: EIO error handling test
authorZorro Lang <zlang@redhat.com>
Fri, 19 Aug 2016 17:56:32 +0000 (01:56 +0800)
committerEryu Guan <eguan@redhat.com>
Fri, 26 Aug 2016 07:29:49 +0000 (15:29 +0800)
commitd6a6cf579f59795f7b1a7b7d70a389b3d3a15535
tree8504be8c4ddd62efe92b0522dccd302b3c86eb02
parentd88e01fa7803d5ffb5e69d6620504f9d1588909e
xfs: EIO error handling test

Besides fail_at_unmount, all EIO error handling can stop umount
hanging on IO error too.

This case test EIO/max_retries and EIO/retry_timeout_seconds as
below:

1) fail_at_unmount=0 && \
   EIO/max_retries=1 && \
   EIO/retry_timeout_seconds=0

2) fail_at_unmount=0 && \
   EIO/max_retries=-1 && \
   EIO/retry_timeout_seconds=1

Make sure when fail_at_unmount=0, umount won't hang there.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/006
tests/xfs/264 [new file with mode: 0755]
tests/xfs/264.out [new file with mode: 0644]
tests/xfs/group