]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: add configuration handlers for specific errors
authorCarlos Maiolino <cmaiolino@redhat.com>
Wed, 18 May 2016 01:09:28 +0000 (11:09 +1000)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 10 Jun 2017 00:25:17 +0000 (17:25 -0700)
commit43b0ffd3cfb2687d83a0686fa967316f11912d7a
tree8dddb60f7a87ed76afc205d381a7d705a2e02e29
parent983c0fc6c19a304698daf5e5b627c6d11576e1fa
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>
(cherry picked from commit e0a431b3a3cc3d0a4c38ccfca8c7320fde40efb6)

Orabug: 26130728

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
fs/xfs/xfs_mount.h
fs/xfs/xfs_sysfs.c