[PATCH 0/7] Configurable error behavior [V2]

Carlos Maiolino
2016-05-03T17:55:47Z

Hi folks,

I spoke with Dave and to offload him a bit, I took over his patchset for enable
configurable error handlers.

Since he did most of the design, I kept his signed-off to the patches.

Here are core the changes I did from his last patchset to this one:

- Removed fail_speed configuration
According with what has been discussed, there is no real need to have a
fail_speed configuration, but instead, use the "max_retries" configuration to
get for how long the filesystem should retrying, with the only special case for
"-1", which will make the filesystem to retry forever.

- Fail at unmount is no longer a config option
Having a filesystem stuck forever during unmount due errors is not a
good thing, so just enforce it if we are trying to unmount a failed
filesystem.

I reduced by now, the amount of patches into this patchset, once, our priority
here IMHO is to enable the possibility to shutdown the filesystem when we have
metadata errors, and I can work on disabling specific error configs and add
memory errors later, I hope that with a reduced amount of patches it can be
easier for people to review the core of the error handlers configuration and
speed up the inclusion of this patchset.