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>
This commit is contained in:
Zorro Lang
2016-08-20 01:56:32 +08:00
committed by Eryu Guan
parent d88e01fa78
commit d6a6cf579f
4 changed files with 149 additions and 1 deletions
+1
View File
@@ -261,6 +261,7 @@
261 auto quick quota
262 auto quick quota
263 auto quick quota
264 auto quick mount
265 auto clone
266 dump ioctl auto quick
267 dump ioctl tape