[Ocfs2-devel] [PATCH] ocfs2/dlm: allocate lvb for dlm_lock_resource which needs it -drop2

2010-09-21 Thread Wengang Wang
#reposting with trivial changes Changes to drop1: 1) adds unsigned reserve_lvb:1 to dlm_lock_resource indicating lvb should be reserved or not. This flag doesn't make sense to this patch its self, but it helps the coming patch that allocates lvb for dlm_lock which needs it. The 1 bit flag doesn't

Re: [Ocfs2-devel] [PATCH 1/1] o2dlm: free block mles during shutdown

2010-09-21 Thread Sunil Mushran
On 09/20/2010 09:15 PM, Wengang Wang wrote: Hi Srini, On 10-09-20 14:59, Srinivas Eeda wrote: If a node initiates shutdown after another node initiated the lock mastery process, this node might have created block mle but will not release it if it doesn't get the assert master from the

[Ocfs2-devel] [PATCH] o2dlm: force free mles during dlm exit

2010-09-21 Thread Srinivas Eeda
While umounting, a block mle doesn't get freed if dlm is shutdown after master request is received but before assert master. This results in unclean shutdown of dlm domain. This patch frees all mles that lie around after other nodes were notified about exiting the dlm and marking dlm state as

Re: [Ocfs2-devel] [PATCH] o2dlm: force free mles during dlm exit

2010-09-21 Thread Sunil Mushran
Comments inlined. On 09/21/2010 03:30 PM, Srinivas Eeda wrote: While umounting, a block mle doesn't get freed if dlm is shutdown after master request is received but before assert master. This results in unclean shutdown of dlm domain. This patch frees all mles that lie around after other

[Ocfs2-devel] [PATCH 1/1] o2dlm: force free mles during dlm exit

2010-09-21 Thread Srinivas Eeda
While umounting, a block mle doesn't get freed if dlm is shutdown after master request is received but before assert master. This results in unclean shutdown of dlm domain. This patch frees all mles that lie around after other nodes were notified about exiting the dlm and marking dlm state as

Re: [Ocfs2-devel] [PATCH 1/1] o2dlm: force free mles during dlm exit

2010-09-21 Thread Sunil Mushran
I hope this has been tested. Acked-by: Sunil Mushran sunil.mush...@oracle.com On 09/21/2010 04:27 PM, Srinivas Eeda wrote: While umounting, a block mle doesn't get freed if dlm is shutdown after master request is received but before assert master. This results in unclean shutdown of dlm