[Cluster-devel] conga ./conga.spec.in.in luci/cluster/resource ...

2008-04-17 Thread rmccabe
CVSROOT:/cvs/cluster Module name:conga Branch: RHEL4 Changes by: [EMAIL PROTECTED] 2008-04-18 04:19:57 Modified files: . : conga.spec.in.in luci/cluster : resource-form-macros Log message: Fix bz443002 (luci shows wrong state

[Cluster-devel] conga ./conga.spec.in.in luci/cluster/resource ...

2008-04-17 Thread rmccabe
CVSROOT:/cvs/cluster Module name:conga Branch: RHEL5 Changes by: [EMAIL PROTECTED] 2008-04-18 04:15:52 Modified files: . : conga.spec.in.in luci/cluster : resource-form-macros Log message: fix bz442806 Patches: http://sourcew

[Cluster-devel] conga ./clustermon.spec.in.in ./conga.spec.in. ...

2008-04-17 Thread rmccabe
CVSROOT:/cvs/cluster Module name:conga Branch: RHEL4 Changes by: [EMAIL PROTECTED] 2008-04-18 03:31:46 Modified files: . : clustermon.spec.in.in conga.spec.in.in luci/cluster : fence-macros validate_fence.js luci/site/luci/Exte

[Cluster-devel] conga conga.spec.in.in

2008-04-17 Thread rmccabe
CVSROOT:/cvs/cluster Module name:conga Branch: RHEL5 Changes by: [EMAIL PROTECTED] 2008-04-18 03:28:44 Modified files: . : conga.spec.in.in Log message: Update the changelog now that we've got a bz ticket. Patches: http://sourceware.org

[Cluster-devel] Cluster Project branch, RHEL47, updated. gfs-kernel_2_6_9_76-46-g5eec9c0

2008-04-17 Thread lhh
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=5eec9c0832cd1c91d00d2f3e4bd42389a5cbc7bb The branch

[Cluster-devel] Cluster Project branch, RHEL5, updated. cmirror_1_1_15-53-gb0fdc2f

2008-04-17 Thread bmarzins
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=b0fdc2f9d6ce482ba6a7cb54cc9f17a0be1ff395 The branch

[Cluster-devel] Cluster Project branch, STABLE, updated. rgmanager_1_9_66-13-g703bdf8

2008-04-17 Thread lhh
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=703bdf832679cdcad3137017cd07640483bed767 The branch

[Cluster-devel] Cluster Project branch, RHEL4, updated. gfs-kernel_2_6_9_76-46-gceee2fe

2008-04-17 Thread lhh
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=ceee2fe27ece59ef6b3643ab1e7a4cce6688727c The branch

[Cluster-devel] Cluster Project branch, RHEL5, updated. cmirror_1_1_15-52-gb2686ff

2008-04-17 Thread lhh
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=b2686ffe984c517110b949d604c54a71800b67c9 The branch

[Cluster-devel] Cluster Project branch, RHEL46, updated. cman-kernel_2_6_9_54-11-g02b5f62

2008-04-17 Thread rpeterso
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=02b5f621d1c3d7c06bfafdbd3ad928d8d2728faf The branch

[Cluster-devel] Re: [PATCH 36/48] [GFS2] fix file_system_type leak on gfs2meta mount

2008-04-17 Thread Christoph Hellwig
On Thu, Apr 17, 2008 at 09:39:12AM +0100, [EMAIL PROTECTED] wrote: > From: Christoph Hellwig <[EMAIL PROTECTED]> > > get_gfs2_sb does a get_fs_type without doing a put_filesystem and > thus leaking a file_system_type reference everytime it's called. > > Just use gfs2_fs_type directly instead of d

[Cluster-devel] [PATCH] gfs2_edit: Remove duplicate linux_endian.h

2008-04-17 Thread Andrew Price
gfs2/edit/linux_endian.h is an exact duplicate of gfs2/include/linux_endian.h and can be removed as gfs2/include/linux_endian.h is picked up instead. Signed-off-by: Andrew Price <[EMAIL PROTECTED]> --- gfs2/edit/linux_endian.h | 81 -- 1 files changed

[Cluster-devel] [PATCH 48/48] [GFS2] fix GFP_KERNEL misuses

2008-04-17 Thread swhiteho
From: Josef Bacik <[EMAIL PROTECTED]> There are several places where GFP_KERNEL allocations happen under a glock, which will result in hangs if we're under memory pressure and go to re-enter the fs in order to flush stuff out. This patch changes the culprits to GFS_NOFS to keep this problem from

[Cluster-devel] [PATCH 47/48] [GFS2] test for IS_ERR rather than 0

2008-04-17 Thread swhiteho
From: Julia Lawall <[EMAIL PROTECTED]> The function gfs2_inode_lookup always returns either a valid pointer or a value made with ERR_PTR, so its result should be tested with IS_ERR, not with a test for 0. The problem was found using the following semantic match. (http://www.emn.fr/x-info/coccinel

[Cluster-devel] [PATCH 46/48] [GFS2] Invalidate cache at correct point

2008-04-17 Thread swhiteho
From: Benjamin Marzinski <[EMAIL PROTECTED]> GFS2 wasn't invalidating its cache before it called into the lock manager with a request that could potentially drop a lock. This was leaving a window where the lock could be actually be held by another node, but the file's page cache would still appea

[Cluster-devel] [PATCH 45/48] [GFS2] fs/gfs2/recovery.c: suppress warnings

2008-04-17 Thread swhiteho
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> fs/gfs2/recovery.c: In function 'get_log_header': fs/gfs2/recovery.c:152: warning: 'lh.lh_sequence' may be used uninitialized in this function fs/gfs2/recovery.c:152: warning: 'lh.lh_flags' may be used uninitialized in this function fs/gfs2/recovery.c:

[Cluster-devel] [PATCH 44/48] [GFS2] Faster gfs2_bitfit algorithm

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This version of the gfs2_bitfit algorithm includes the latest suggestions from Steve Whitehouse. It is typically eight to ten times faster than the version we're using today. If there is a lot of metadata mixed in (lots of small files) the algorithm is ofte

[Cluster-devel] [PATCH 43/48] [GFS2] Streamline quota lock/check for no-quota case

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> This patch streamlines the quota checking in the "no quota" case by making the check inline in the calling function, thus reducing the number of function calls. Eventually we might be able to remove the checks from the gfs2_quota_lock() and gfs2_quota_ch

[Cluster-devel] [PATCH 42/48] [GFS2] Remove drop of module ref where not needed

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> In an earlier patch "[GFS2] fix file_system_type leak on gfs2meta mount" we removed the code to grab a ref to the module which was not needed (since we know that the module cannot be unloaded at that time) so this patch removes the code to drop that refe

[Cluster-devel] [PATCH 41/48] [GFS2] gfs2_adjust_quota has broken unstuffing code

2008-04-17 Thread swhiteho
From: Abhijith Das <[EMAIL PROTECTED]> This patch combines the 2 patches in bug 434736 to correct the lock ordering in the unstuffing of the quota inode in gfs2_adjust_quota and adjusting the number of revokes in gfs2_write_jdata_pagevec Signed-off-by: Abhijith Das <[EMAIL PROTECTED]> Signed-off-

[Cluster-devel] [PATCH 40/48] [GFS2] possible null pointer dereference fixup

2008-04-17 Thread swhiteho
From: Cyrill Gorcunov <[EMAIL PROTECTED]> gfs2_alloc_get may fail so we have to check it to prevent NULL pointer dereference. Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index c1ee635..f7093a

[Cluster-devel] [PATCH 39/48] [GFS2] Need to ensure that sector_t is 64bits for GFS2

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> We need to ensure that sector_t is 64bits for GFS2, so that we need to depend on LBD as well as LSF. Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/Kconfig b/fs/gfs2/Kconfig index d147b53..7f7947e 100644 --- a/fs/gfs2/Kconfig

[Cluster-devel] [PATCH 38/48] [GFS2] re-support special inode

2008-04-17 Thread swhiteho
From: Denis Cheng <[EMAIL PROTECTED]> a previous commit removed call to init_special_inode from inode lookuping, this cause problems as: # mknod /mnt/gfs2/dev/null c 1 3 # cat /mnt/gfs2/dev/null cat: /mnt/gfs2/dev/null: Invalid argument without special inode, GFS2 cannot support char device f

[Cluster-devel] [PATCH 37/48] [GFS2] remove gfs2_dev_iops

2008-04-17 Thread swhiteho
From: Denis Cheng <[EMAIL PROTECTED]> struct inode_operations gfs2_dev_iops is always the same as gfs2_file_iops, since Jan 2006, when GFS2 merged into mainstream kernel. So one of them could be removed. Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROT

[Cluster-devel] [PATCH 36/48] [GFS2] fix file_system_type leak on gfs2meta mount

2008-04-17 Thread swhiteho
From: Christoph Hellwig <[EMAIL PROTECTED]> get_gfs2_sb does a get_fs_type without doing a put_filesystem and thus leaking a file_system_type reference everytime it's called. Just use gfs2_fs_type directly instead of doing the lookup and thus fix the problem. Signed-off-by: Christoph Hellwig <[E

[Cluster-devel] [PATCH 35/48] [GFS2] Allow bmap to allocate extents

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> We've supported mapping of extents when no block allocation is required for some time. This patch extends that to mapping of extents when an allocation has been requested. In that case we try to allocate as many blocks as are requested, but we might retu

[Cluster-devel] [PATCH 34/48] [GFS2] Fix a page lock / glock deadlock

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> We've previously been using a "try lock" in readpage on the basis that it would prevent deadlocks due to the inverted lock ordering (our normal lock ordering is glock first and then page lock). Unfortunately tests have shown that this isn't enough. If th

[Cluster-devel] [PATCH 32/48] [GFS2] gfs2/ops_file.c should #include "ops_inode.h"

2008-04-17 Thread swhiteho
From: Adrian Bunk <[EMAIL PROTECTED]> Every file should include the headers containing the prototypes for its global functions (in this case for gfs2_set_inode_flags()). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/ops_f

[Cluster-devel] [PATCH 33/48] [GFS2] proper extern for gfs2/locking/dlm/mount.c:gdlm_ops

2008-04-17 Thread swhiteho
From: Adrian Bunk <[EMAIL PROTECTED]> This patch adds a proper extern declaration for gdlm_ops in fs/gfs2/locking/dlm/lock_dlm.h Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/locking/dlm/lock_dlm.h b/fs/gfs2/locking/dlm/l

[Cluster-devel] [PATCH 31/48] [GFS2] be*_add_cpu conversion

2008-04-17 Thread swhiteho
From: Marcin Slusarz <[EMAIL PROTECTED]> replace all: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder); generated with semantic patch

[Cluster-devel] [PATCH 28/48] [GFS2] Eliminate (almost) duplicate field from gfs2_inode

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> The blocks counter is almost a duplicate of the i_blocks field in the VFS inode. The only difference is that i_blocks can be only 32bits long for 32bit arch without large single file support. Since GFS2 doesn't handle the non-large single file case (for

[Cluster-devel] [PATCH 30/48] [GFS2] Fix bug where we called drop_bh incorrectly

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> As a result of an earlier patch, drop_bh was being called in cases when it shouldn't have been. Since we never have a gh in the drop case and we always have a gh in the promote case, we can use that extra information to tell which case has been seen. Si

[Cluster-devel] [PATCH 29/48] [GFS2] Get inode buffer only once per block map call

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> In the case that we needed to grow the height of the metadata tree we were looking up the inode buffer and then brelse()ing it despite the fact that it is needed later in the block map process. This patch ensures that we look up the inode's buffer once

[Cluster-devel] [PATCH 27/48] [GFS2] Add a function to interate over an extent

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> This adds a function (currently the only use is during mapping of already allocated blocks, but watch this space) which iterates over a number of pointers in a block and returns the extent length. If the initial pointer is 0 (i.e. unallocated) it will r

[Cluster-devel] [PATCH 26/48] [GFS2] The case of the missing asterisk

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> A dereference was forgotten. This adds it back correctly. Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index 1fda731..7f72564 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c @@ -402,7 +402,7 @@ stat

[Cluster-devel] [PATCH 25/48] [GFS2] Add extent allocation to block allocator

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> Rather than having to allocate a single block at a time, this patch allows the block allocator to allocate an extent. Since there is no difference (so far as the block allocator is concerned) between data blocks and indirect blocks, it is posible to allo

[Cluster-devel] [PATCH 24/48] [GFS2] Merge gfs2_alloc_meta and gfs2_alloc_data

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> Thanks to the preceeding patches, the only difference between these two functions is their name. We can thus merge them and call the new function gfs2_alloc_block to reflect the fact that it can allocate either kind of block. Signed-off-by: Steven White

[Cluster-devel] [PATCH 23/48] [GFS2] Update gfs2_trans_add_unrevoke to accept extents

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> By adding an extra argument to gfs2_trans_add_unrevoke we can now specify an extent length of blocks to unrevoke. This means that we only need to make one pass through the list for each extent rather than each block. Currently the only extent length whic

[Cluster-devel] [PATCH 22/48] [GFS2] Merge the rd_last_alloc_meta and rd_last_alloc_data fields

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> We don't need to keep track of when we last allocated data and metadata separately since the only thing thats important when searching for a free block is whether its free or not, which is independent from what type of block it is. Signed-off-by: Steven

[Cluster-devel] [PATCH 21/48] [GFS2] Reduce inode size by merging fields

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> There were three fields being used to keep track of the location of the most recently allocated block for each inode. These have been merged into a single field in order to better keep the data and metadata for an inode close on disk, and also to reduce

[Cluster-devel] [PATCH 20/48] [GFS2] Remove unused counters

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This is kind of trivial in the greater scheme of things, but this removes three counters that AFAICT are never used. Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/incore.h b/fs/gfs2

[Cluster-devel] [PATCH 19/48] [GFS2] Shrink & rename di_depth

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> This patch forms a pair with the previous patch which shrunk di_height. Like that patch di_depth is renamed i_depth and moved into struct gfs2_inode directly. Also the field goes from 16 bits to 8 bits since it is also limited to a max value which is rat

[Cluster-devel] [PATCH 18/48] [GFS2] Remove rgrp and glock version numbers

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch further reduces GFS2's memory requirements by eliminating the 64-bit version number fields in lieu of a couple bits. Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/glock.c

[Cluster-devel] [PATCH 17/48] [GFS2] Remove lm.[ch] and distribute content

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> The functions in lm.c were just wrappers which were mostly only used in one other file. By moving the functions to the files where they are being used, they can be marked static and also this will usually result in them being inlined since they are often

[Cluster-devel] [PATCH 16/48] [GFS2] Eliminate gl_req_bh

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch further reduces the memory needs of GFS2 by eliminating the gl_req_bh variable from struct gfs2_glock. Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/glock.c b/fs/gfs2/glo

[Cluster-devel] [PATCH 14/48] [GFS2] Introduce array of buffers to struct metapath

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> The reason for doing this is to allow all the block mapping code to share the same array. As a result we can remove two arguments from lookup_metapath since they are now returned via the array. We also add a function to drop all refs to buffer heads whe

[Cluster-devel] [PATCH 15/48] [GFS2] Add consts to various bits of rgrp.c

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> There are a couple of routines which scan bitmaps where we can mark the bitmaps const, plus a couple of call sites that can be updated too. Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index da60ce8.

[Cluster-devel] [PATCH 13/48] [GFS2] Move part of gfs2_block_map into a separate function

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> This is required to enable future changes to the block mapping code. Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c index e84e384..08d1be4 100644 --- a/fs/gfs2/bmap.c +++ b/fs/gfs2/bmap.c @@ -384,6 +38

[Cluster-devel] [PATCH 12/48] [GFS2] Get rid of gl_waiters2

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch reduces memory by replacing the int variable gl_waiters2 by a single bit in the gl_flags. Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index be

[Cluster-devel] [PATCH 11/48] [GFS2] Combine rg_flags and rd_flags

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch reduces the memory required by GFS2 by combining the rd_flags and rg_flags (in core only). Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index

[Cluster-devel] [PATCH 10/48] [GFS2] Allocate gfs2_rgrpd from slab memory

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch moves the gfs2_rgrpd structure to its own slab memory. This makes it easier to control and monitor, and yields less memory fragmentation. Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff -

[Cluster-devel] [PATCH 09/48] [GFS2] Plug an unlikely leak

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c index 7138737..4390f6f 100644 --- a/fs/gfs2/lops.c +++ b/fs/gfs2/lops.c @@ -404,8 +404,10 @@ static int revoke_l

[Cluster-devel] [PATCH 08/48] [GFS2] make gfs2_glock_hold() static

2008-04-17 Thread swhiteho
From: Adrian Bunk <[EMAIL PROTECTED]> gfs2_glock_hold() can now become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 5752dec..befcda0 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/gloc

[Cluster-devel] [PATCH 07/48] [GFS2] Only wake the reclaim daemon if we need to

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch only wakes up the glock reclaim daemon if there is actually something to be reclaimed. Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 7175a

[Cluster-devel] [PATCH 06/48] [GFS2] Misc fixups

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch contains two small fixups that didn't fit elsewhere. They are: (1) get rid of temp variable in find_metapath. (2) Remove vestigial "ret" variable from gfs2_writepage_common. Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whi

[Cluster-devel] [PATCH 05/48] [GFS2] Only do lo_incore_commit once

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch is performance related. When we're doing a log flush, I noticed we were calling buf_lo_incore_commit twice: once for data bufs and once for metadata bufs. Since this is the same function and does the same thing in both cases, there should be no r

[Cluster-devel] [PATCH 04/48] [GFS2] Fix debug inode printing

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> I noticed that the latest change to i_height got rid of the value from the inode dump. This patch adds it back. Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/inode.c b/fs/gfs2/inod

[Cluster-devel] [PATCH 03/48] [GFS2] Get rid of unneeded parameter in gfs2_rlist_alloc

2008-04-17 Thread swhiteho
From: Bob Peterson <[EMAIL PROTECTED]> This patch removed the unnecessary parameter from function gfs2_rlist_alloc. The parameter was always passed in as 0. Signed-off-by: Bob Peterson <[EMAIL PROTECTED]> Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]> diff --git a/fs/gfs2/bmap.c b/fs/gfs2

[Cluster-devel] [PATCH 02/48] [GFS2] Streamline indirect pointer tree height calculation

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> This patch improves the calculation of the tree height in order to reduce the number of operations which are carried out on each call to gfs2_block_map. In the common case, we now make a single comparison, rather than calculating the required tree height

[Cluster-devel] [PATCH 01/48] [GFS2] Speed up gfs2_write_alloc_required, deprecate gfs2_extent_map

2008-04-17 Thread swhiteho
From: Steven Whitehouse <[EMAIL PROTECTED]> This patch removes the call to gfs2_extent_map from gfs2_write_alloc_required, instead we call gfs2_block_map directly. This results in fewer overall calls to gfs2_block_map in the multi-block case. Also, gfs2_extent_map is marked as deprecated so that

[Cluster-devel] [GFS2] Pre-pull patch posting

2008-04-17 Thread swhiteho
This is the current content of the GFS2 -nmw git tree. Mostly bug fixes, there are some changes relating to block mapping which are working towards cleaning up this code and allowing more efficient block mapping. There is a second part to that work which is not included in this patch set - the pla