Re: [Cluster-devel] [GFS2 PATCH] GFS2: Use gfs2_rbm_incr in rgblk_free

2014-10-03 Thread Steven Whitehouse
Hi, Looks like a really nice optimisation. Now in the -nmw tree. Thanks, Steve. On 03/10/14 13:38, Bob Peterson wrote: Hi, This patch speeds up GFS2 unlink operations by using function gfs2_rbm_incr rather than continuously calculating the rbm. Regards, Bob Peterson Red Hat File Systems

Re: [Cluster-devel] [DLM PATCH] DLM: Don't wait for resource library lookups if NOLOOKUP is specified

2014-10-03 Thread Bob Peterson
- Original Message - Hi, I think we need to do some more investigation here... how long do the lookups take? If the issue is just to create a list of perferred rgrps for each node, then there are various ways in which we might do that. That is not to say that this isn't a good way

Re: [Cluster-devel] [DLM PATCH] DLM: Don't wait for resource library lookups if NOLOOKUP is specified

2014-10-03 Thread Bob Peterson
- Original Message - Can we just use NOQUEUE? It tells you that there's a lock conflict, which tells you to move along and try another if you don't want to contend. If you cache acquired locks and reuse them, then it doesn't matter if the master node is remote or local. The problem

[Cluster-devel] [PATCH 1/1] GFS2: use _RET_IP_ instead of (unsigned long)__builtin_return_address(0)

2014-10-03 Thread Fabian Frederick
use macro definition Signed-off-by: Fabian Frederick f...@skynet.be --- fs/gfs2/glock.c | 4 ++-- fs/gfs2/glops.c | 2 +- fs/gfs2/trans.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 7f513b1..8f0c19d 100644 --- a/fs/gfs2/glock.c