Re: [Cluster-devel] [PATCH] gfs2: skip dlm_unlock calls in unmount

2012-11-09 Thread Steven Whitehouse
Hi, On Thu, 2012-11-08 at 16:34 -0500, David Teigland wrote: When unmounting, gfs2 does a full dlm_unlock operation on every cached lock. This can create a very large amount of work and can take a long time to complete. However, the vast majority of these dlm unlock operations are

Re: [Cluster-devel] [PATCH] gfs2: skip dlm_unlock calls in unmount

2012-11-09 Thread David Teigland
On Fri, Nov 09, 2012 at 09:45:17AM +, Steven Whitehouse wrote: + if (test_bit(SDF_SKIP_DLM_UNLOCK, sdp-sd_flags) + (!gl-gl_lvb[0] || gl-gl_state != LM_ST_EXCLUSIVE)) { I'm still not happy with using !gl-gl_lvb[0] to determine whether the LVB is in use or not. I think we need a

[Cluster-devel] [PATCH] gfs2-utils: Added a new script called gfs2_lockcapture to gfs2-utils that will capture lockdump data(including dlm lock) for the mounted GFS2 filesystems on a cluster node. The

2012-11-09 Thread sbradley
From: root sbrad...@redhat.com Signed-off-by: root sbrad...@redhat.com --- gfs2/lockgather/Makefile.am |2 +- gfs2/lockgather/gfs2_lockcapture | 1078 ++ 2 files changed, 1079 insertions(+), 1 deletions(-) create mode 100644