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

2012-11-08 Thread Steven Whitehouse
Hi, On Wed, 2012-11-07 at 14:14 -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] gfs2: skip dlm_unlock calls in unmount

2012-11-08 Thread David Teigland
On Thu, Nov 08, 2012 at 10:26:53AM +, Steven Whitehouse wrote: Hi, On Wed, 2012-11-07 at 14:14 -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.

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

2012-11-08 Thread Steven Whitehouse
Hi, On Thu, 2012-11-08 at 10:41 -0500, David Teigland wrote: On Thu, Nov 08, 2012 at 10:26:53AM +, Steven Whitehouse wrote: Hi, On Wed, 2012-11-07 at 14:14 -0500, David Teigland wrote: When unmounting, gfs2 does a full dlm_unlock operation on every cached lock. This can create

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

2012-11-08 Thread David Teigland
On Thu, Nov 08, 2012 at 06:48:19PM +, Steven Whitehouse wrote: Converting to NL would actually be less expensive than unlock because the NL convert does not involve a reply message, but unlock does. I'm not entirely sure I follow... at least from the filesystem point of view (and

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

2012-11-07 Thread David Teigland
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 unnecessary because after all the unlocks are done, gfs2 leaves the dlm