Re: [Cluster-devel] [PATCH 1/2] gfs2: Ignore recovery attempts if gfs2 has io error or is withdrawn

2018-11-29 Thread Andreas Gruenbacher
Hi, On Wed, 21 Nov 2018 at 19:53, Bob Peterson wrote: > This patch addresses various problems with gfs2/dlm recovery. > > For example, suppose a node with a bunch of gfs2 mounts suddenly > reboots due to kernel panic, and dlm determines it should perform > recovery. DLM does so from a pseudo-stat

[Cluster-devel] [PATCH 1/2] gfs2: Ignore recovery attempts if gfs2 has io error or is withdrawn

2018-11-21 Thread Bob Peterson
This patch addresses various problems with gfs2/dlm recovery. For example, suppose a node with a bunch of gfs2 mounts suddenly reboots due to kernel panic, and dlm determines it should perform recovery. DLM does so from a pseudo-state machine calling various callbacks into lock_dlm to perform a se

[Cluster-devel] [PATCH 1/2] gfs2: Ignore recovery attempts if gfs2 has io error or is withdrawn

2018-11-08 Thread Bob Peterson
Before this patch, when a node had an io error or was withdrawn, the dlm would send its normal callbacks to start recovery. But if the file system has an io error, it cannot safely replay its journal anyway; someone else needs to do it. Also, if it's withdrawn, we don't want it messing with the jou