Skip to contentSkip to conversation

GFS2: Pull request (fixes)

DISCUSSION Steven Whitehouse 1 participant 2 messages Sep 13, 2012 – Oct 1, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

Please consider pulling the following GFS2 fixes....

Steve.

--------------------------------------------------------------------------

Here are three GFS2 fixes for the current kernel tree. These are all related to the block reservation code which was added at the merge window. That code will be getting an update at the forthcoming merge window too. In the mean time though there are a few smaller issues which should be fixed.

The first patch resolves an issue with write sizes of greater than 32 bits with the size hinting code. The second ensures that the allocation data structure is initialised when using xattrs and the third takes into account allocations which may have been made by other nodes which affect a reservation on the local node.

The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee:

Linux 3.6-rc1 (2012-08-02 16:38:10 -0700)

are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-fixes.git master

Steven Whitehouse (3):
GFS2: Make write size hinting code common
GFS2: Fix missing allocation data for set/remove xattr
GFS2: Take account of blockages when using reserved blocks

 fs/gfs2/file.c  |   31 ++++++++++++++++++++++---
 fs/gfs2/inode.c |    8 +++++-
 fs/gfs2/rgrp.c  |   66 +++++++++++++++++++++++-------------------------------
 3 files changed, 61 insertions(+), 44 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20120913/3572442b/attachment.sig>

#1 lore raw

GFS2: Pull request (merge window)

Hi,

Please consider pulling the following changes,

Steve.

-----------------------------------------------------------------------

The major feature this time is the "rbm" conversion in the resource group code. The new struct gfs2_rbm specifies the location of an allocatable block in (resource group, bitmap, offset) form. There are a number of added helper functions, and later patches then rewrite some of the resource group code in terms of this new structure. Not only does this give us a nice code clean up, but it also removes some of the previous restructions where extents could not cross bitmap boundaries, for example.

In addition to that, there are a few bug fixes and clean ups, but the rbm work is by far the majority of this patch set in terms of number of changed lines.

-----------------------------------------------------------------------

The following changes since commit 979570e02981d4a8fc20b3cc8fd651856c98ee9d:

Linux 3.6-rc7 (2012-09-23 18:10:57 -0700)

are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw.git master

Benjamin Marzinski (1):
GFS2: Write out dirty inode metadata in delayed deletes

Bob Peterson (9):
GFS2: rbm code cleanup
GFS2: change function gfs2_direct_IO to use a normal gfs2_glock_dq
GFS2: inline __gfs2_glock_schedule_for_reclaim
GFS2: Combine functions gfs2_glock_wait and wait_on_holder
GFS2: Combine functions gfs2_glock_dq_wait and wait_on_demote
GFS2: Eliminate redundant calls to may_grant
GFS2: Eliminate unnecessary check for state > 3 in bitfit
GFS2: Stop block extents at the end of bitmaps
GFS2: Fix infinite loop in rbm_find

Eric Sandeen (1):
GFS2: fix s_writers.counter imbalance in gfs2_ail_empty_gl

Jan Kara (1):
GFS2: Get rid of I_MUTEX_QUOTA usage

Michel Lespinasse (1):
GFS2: Use RB_CLEAR_NODE() rather than rb_init_node()

Steven Whitehouse (14):
GFS2: Merge two nearly identical xattr functions
GFS2: Remove rs_requested field from reservations
GFS2: Add structure to contain rgrp, bitmap, offset tuple
GFS2: Replace rgblk_search with gfs2_rbm_find
GFS2: Update gfs2_get_block_type() to use rbm
GFS2: Update rgblk_free() to use rbm
GFS2: Fix case where reservation finished at end of rgrp
GFS2: Use rbm for gfs2_testbit()
GFS2: Use rbm for gfs2_setbit()
GFS2: Fix ->show_options() for statfs slow
GFS2: Fall back to ignoring reservations, if there are no other blocks left
GFS2: Improve block reservation tracing
GFS2: Fix unclaimed_blocks() wrapping bug and clean up
GFS2: Consolidate free block searching functions

 fs/gfs2/aops.c       |   11 +-
 fs/gfs2/bmap.c       |    2 +-
 fs/gfs2/file.c       |    4 +-
 fs/gfs2/glock.c      |   60 +--
 fs/gfs2/glops.c      |    1 +
 fs/gfs2/incore.h     |   30 +-
 fs/gfs2/inode.c      |   20 +-
 fs/gfs2/ops_fstype.c |    8 +
 fs/gfs2/quota.c      |   11 +-
 fs/gfs2/rgrp.c       | 1203 ++++++++++++++++++++++++--------------------------
 fs/gfs2/rgrp.h       |   28 +-
 fs/gfs2/super.c      |    9 +-
 fs/gfs2/trace_gfs2.h |   20 +-
 fs/gfs2/trans.h      |    7 +-
 fs/gfs2/xattr.c      |   96 ++---
 15 files changed, 710 insertions(+), 800 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20121001/c7545603/attachment.sig>