[Ocfs2-devel] [PATCH v2] ocfs2: Without quota support, try to avoid calling quota recovery.

2018-03-04 Thread Guozhonghua
During one dead node's recovery by other node, quota recovery work will be queued. We should avoid calling quota while it is not supported, so reading the quota flags. Signed-off-by: guozhonghua Reviewed-by: Jan Kara --- fs/ocfs2/journal.c | 51

Re: [Ocfs2-devel] [PATCH v2] ocfs2/dlm: don't handle migrate lockres if already in shutdown

2018-03-04 Thread piaojun
Hi Joseph, On 2018/3/5 9:27, Joseph Qi wrote: > > > On 18/3/3 08:45, piaojun wrote: >> We should not handle migrate lockres if we are already in >> 'DLM_CTXT_IN_SHUTDOWN', as that will cause lockres remains after leaving >> dlm domain. At last other nodes will get stuck into infinite loop when

[Ocfs2-devel] [PATCH v3] ocfs2/dlm: don't handle migrate lockres if already in shutdown

2018-03-04 Thread piaojun
We should not handle migrate lockres if we are already in 'DLM_CTXT_IN_SHUTDOWN', as that will cause lockres remains after leaving dlm domain. At last other nodes will get stuck into infinite loop when requsting lock from us. The problem is caused by concurrency umount between nodes. Before

Re: [Ocfs2-devel] [PATCH v2] ocfs2/dlm: don't handle migrate lockres if already in shutdown

2018-03-04 Thread Joseph Qi
On 18/3/3 08:45, piaojun wrote: > We should not handle migrate lockres if we are already in > 'DLM_CTXT_IN_SHUTDOWN', as that will cause lockres remains after leaving > dlm domain. At last other nodes will get stuck into infinite loop when > requsting lock from us. > > The problem is caused by