]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/xfs_mount.h
xfs: add configuration handlers for specific errors
authorCarlos Maiolino <cmaiolino@redhat.com>
Wed, 18 May 2016 01:09:28 +0000 (11:09 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 18 May 2016 01:09:28 +0000 (11:09 +1000)
commite0a431b3a3cc3d0a4c38ccfca8c7320fde40efb6
tree66ded33cb0840fca7f2b0f986a4e14401e34ba9c
parenta5ea70d25d76950e11690110b526374307d05d81
xfs: add configuration handlers for specific errors

now most of the infrastructure is in place, we can start adding
support for configuring specific errors such as ENODEV, ENOSPC, EIO,
etc. Add these error configurations and configure them all to have
appropriate behaviours. That is, all will be configured to retry
forever by default, except for ENODEV, which is an unrecoverable
error, so it will be configured to not retry on error

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_mount.h
fs/xfs/xfs_sysfs.c