Re: [Cluster-devel] [DLM PATCH] dlm_controld: add option of enable_force_kick

2016-05-16 Thread David Teigland
On Mon, May 16, 2016 at 04:07:18PM +0800, Eric Ren wrote: > When there are 3 or more partitions that merge, none may see enough > clean nodes. Therefore, DLM would be stuck there forever unitl administrator > manually reset/restart enough nodes to produce sufficient clean nodes. > However,

Re: [Cluster-devel] [DLM PATCH] dlm_controld: handle the case of network transient disconnection

2016-05-16 Thread David Teigland
On Mon, May 16, 2016 at 03:44:27PM +0800, Eric Ren wrote: > Thanks! Hum, according to the long comments, you've handled the 2/2 > even split by way of the low nodeid killing statefull merged > numbers. Interesting, I'd forgotten about that bit of code, so I was wrong to say that we do nothing

Re: [Cluster-devel] [PATCH 0/7] Allow lock dropping before waiting on inodes being freed

2016-05-16 Thread Andreas Gruenbacher
On Fri, May 13, 2016 at 7:42 PM, Andreas Gruenbacher wrote: > This patch set my Bob and me avoids a deadlock in gfs2 when an inode is being > freed: normally, when find_inode finds an inode in I_FREEING or I_WILL_FREE > state, it waits for the inode to go away before

[Cluster-devel] [DLM PATCH] dlm_controld: add option of enable_force_kick

2016-05-16 Thread Eric Ren
When there are 3 or more partitions that merge, none may see enough clean nodes. Therefore, DLM would be stuck there forever unitl administrator manually reset/restart enough nodes to produce sufficient clean nodes. However, sometimes people hope that DLM can automatically recover from "useless"

Re: [Cluster-devel] [DLM PATCH] dlm_controld: handle the case of network transient disconnection

2016-05-16 Thread Eric Ren
Hi David, On 05/13/2016 11:49 PM, David Teigland wrote: If both sides of the merged partition are kicking the other out of the cluster at the same time, it's hard to predict which nodes will remain (and it could be none). To resolve an even partition merge, you need to remove/restart the nodes