xfs
[Top] [All Lists]

[XFS updates] XFS development tree branch, for-linus, updated. v2.6.28-r

To: xfs@xxxxxxxxxxx
Subject: [XFS updates] XFS development tree branch, for-linus, updated. v2.6.28-rc3-20838-g5123bc3
From: xfs@xxxxxxxxxxx
Date: Mon, 30 Mar 2009 23:34:32 -0500
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 "XFS development tree".

The branch, for-linus has been updated
  5123bc3 Merge branch 'master' of git://git.kernel.org/pub/scm/fs/xfs/xfs
  2717420 xfs: cleanup uuid handling
  1a5902c xfs: remove m_attroffset
  9da096f xfs: fix various typos
  bddaafa xfs: pagecache usage optimization
  6447c36 xfs: remove m_litino
  a19d9f8 xfs: kill ino64 mount option
  a0b0b8a xfs: kill mutex_t typedef
  8b11217 xfs: increase the maximum number of supported ACL entries
  6cc8764 xfs: factor out code to find the longest free extent in the AG
  cb4c8cc xfs: kill VN_BAD
  8fab451 xfs: kill vn_atime_* helpers.
  076e6ac xfs: cleanup xlog_bread
  ff0205e xfs: cleanup xlog_recover_do_trans
  dd0bbad xfs: remove another leftover of the old inode log item format
  21b699c xfs: cleanup log unmount handling
  da5309c Fix xfs debug build breakage by pushing xfs_error.h after
  7bf446f xfs: include header files for prototypes
  3180e66 xfs: make symbols static
  2441849 xfs: move declaration to header file
  b796313 xfs: only issues a cache flush on unmount if barriers are enabled
  ed93ec3 xfs: prevent lockdep false positive in xfs_iget_cache_miss
  e8fa6b4 xfs: prevent kernel crash due to corrupted inode log format
  3a011a1 Revert "[XFS] remove old vmap cache"
  cf7dab8 Revert "[XFS] use scalable vmap API"
  7c8f7af xfs: reject swapext ioctl on swapfiles
  2643075 xfs: fix error handling in xfs_log_mount
  fcafb71 xfs: get rid of indirections in the quotaops implementation
  c9a192d xfs: sanitize qh_lock wrappers
  7201813 xfs: use mutex_is_locked in XFS_DQ_IS_LOCKED
  e249458 xfs: remove XFS_QM_LOCK/XFS_QM_UNLOCK/XFS_QM_HOLD/XFS_QM_RELE
  517b5e8 xfs: merge xfs_mkdir into xfs_create
  a568778 xfs: remove uchar_t/ushort_t/uint_t/ulong_t types
  0d87e65 xfs: remove superflous inobt macros
  7153f8b xfs: remove iclog calculation special cases
  8e9b6e7 xfs: remove the unused XFS_QMOPT_DQLOCK flag
  4346cdd xfs: cleanup xfs_find_handle
  ef8f7fc xfs: cleanup error handling in xfs_swap_extents
  d4bb6d0 xfs: merge xfs_inode_flush into xfs_fs_write_inode
  e1486de xfs: factor out attr fork reset handling
  c52e9fd xfs: remove unused XFS_MOUNT_ILOCK/XFS_MOUNT_IUNLOCK
  cb3f35b xfs: tiny cleanup for xfs_link
  b93b6e4 xfs: make sure to free the real-time inodes in the mount error path
  f9057e3 xfs: cleanup error handling in xfs_mountfs:
  3228149 xfs: Check buffer lengths in log recovery
  ac12b4e don't reallocate sxp variable passed into xfs_swapext
  5e10657 [XFS] Warn on transaction in flight on read-only remount
  957274d Merge branch 'master' of git+ssh://oss.sgi.com/oss/git/xfs/xfs
  5253a11 [XFS] remove always-true #ifndef HAVE_FORMAT32 tests
  33ad965 Long btree pointers are still 64 bit on disk
  2809f76 xfs: sanity check attr fork size
  7884bc8 xfs: fix bad_features2 fixups for the root filesystem
  98b8c7a xfs: add a lock class for group/project dquots
  5bb87a3 xfs: lockdep annotations for xfs_dqlock2
  a4edd1d xfs: add a separate lock class for the per-mount list of dquots
  178eae3 xfs: use mnt_want_write in compat_attrmulti ioctl
  d296d30 xfs: fix dentry aliasing issues in open_by_handle
  9d87c31 [XFS] Remove the rest of the macro-to-function indirections.
  c088f4e Merge branch 'master' of 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
  ce79735 Merge branch 'for-linus' of git+ssh://git.melbourne.sgi.com/git/xfs
  6206aa8 Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
  95f8e30 [XFS] use scalable vmap API
  d285975 [XFS] remove old vmap cache
      from  15f7176eb1cccec0a332541285ee752b935c1c85 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5123bc35d2bd2e5c344a53e634edec2cd0861a0e
Merge: 930861c4e6f13ce2e7d06cd1ef11441a065517d9 
27174203f570b923e5c02c618a5557295bab8755
Author: Felix Blyakher <felixb@xxxxxxx>
Date:   Mon Mar 30 22:17:44 2009 -0500

    Merge branch 'master' of git://git.kernel.org/pub/scm/fs/xfs/xfs

commit 27174203f570b923e5c02c618a5557295bab8755
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Mar 30 10:21:31 2009 +0200

    xfs: cleanup uuid handling
    
    The uuid table handling should not be part of a semi-generic uuid library
    but in the XFS code using it, so move those bits to xfs_mount.c and
    refactor the whole glob to make it a proper abstraction.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit 1a5902c5d2ad4f3aa1ee747017622d5d4edfa20f
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Sun Mar 29 19:26:46 2009 +0200

    xfs: remove m_attroffset
    
    With the upcoming v3 inodes the default attroffset needs to be calculated
    for each specific inode, so we can't cache it in the superblock anymore.
    
    Also replace the assert for wrong inode sizes with a proper error check
    also included in non-debug builds.  Note that the ENOSYS return for
    that might seem odd, but that error is returned by xfs_mount_validate_sb
    for all theoretically valid but not supported filesystem geometries.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxxx>

commit 9da096fd13e63031662566e5e868ec3dcc70824e
Author: Malcolm Parsons <malcolm.parsons@xxxxxxxxx>
Date:   Sun Mar 29 09:55:42 2009 +0200

    xfs: fix various typos
    
    Signed-off-by: Malcolm Parsons <malcolm.parsons@xxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>

commit bddaafa11a549fff311bcf2e04bbfb5139812cb7
Author: Hisashi Hifumi <hifumi.hisashi@xxxxxxxxxxxxx>
Date:   Sun Mar 29 09:53:38 2009 +0200

    xfs: pagecache usage optimization
    
    Hi.
    
    I introduced "is_partially_uptodate" aops for XFS.
    
    A page can have multiple buffers and even if a page is not uptodate,
    some buffers can be uptodate on pagesize != blocksize environment.
    
    This aops checks that all buffers which correspond to a part of a file
    that we want to read are uptodate. If so, we do not have to issue actual
    read IO to HDD even if a page is not uptodate because the portion we
    want to read are uptodate.
    
    "block_is_partially_uptodate" function is already used by ext2/3/4.
    With the following patch random read/write mixed workloads or random read
    after random write workloads can be optimized and we can get performance
    improvement.
    
    I did a performance test using the sysbench.
    
    #sysbench --num-threads=4 --max-requests=100000 --test=fileio --file-num=1 \
    --file-block-size=8K --file-total-size=1G --file-test-mode=rndrw \
    --file-fsync-freq=0 --file-rw-ratio=0.5 run
    
    -2.6.29-rc6
    Test execution summary:
        total time:                          123.8645s
        total number of events:              100000
        total time taken by event execution: 442.4994
        per-request statistics:
             min:                            0.0000s
             avg:                            0.0044s
             max:                            0.3387s
             approx.  95 percentile:         0.0118s
    
    -2.6.29-rc6-patched
    Test execution summary:
        total time:                          108.0757s
        total number of events:              100000
        total time taken by event execution: 417.7505
        per-request statistics:
             min:                            0.0000s
             avg:                            0.0042s
             max:                            0.3217s
             approx.  95 percentile:         0.0118s
    
    arch: ia64
    pagesize: 16k
    blocksize: 4k
    
    Signed-off-by: Hisashi Hifumi <hifumi.hisashi@xxxxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit 6447c36209c4268352d55d04d041396ebb8add4a
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Sun Mar 29 09:51:14 2009 +0200

    xfs: remove m_litino
    
    With the upcoming v3 inodes the inode data/attr area size needs to be
    calculated for each specific inode, so we can't cache it in the superblock
    anymore.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit a19d9f887d81106d52cacbc9930207b487e07e0e
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Sun Mar 29 09:51:08 2009 +0200

    xfs: kill ino64 mount option
    
    The ino64 mount option adds a fixed offset to 32bit inode numbers
    to bring them into the 64bit range.  There's no need for this kind
    of debug tool given that it's easy to produce real 64bit inode numbers
    for testing.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit a0b0b8a5b3cb47892b5984cd86272446bee5f511
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Sun Mar 29 09:51:00 2009 +0200

    xfs: kill mutex_t typedef
    
    People continue to complain about this for weird reasons, but there's
    really no point in keeping this typedef for a couple of users anyway.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit 8b112171734c791afaf43ccc8c6ec492e7006e44
Author: Felix Blyakher <felixb@xxxxxxx>
Date:   Fri Mar 27 17:28:43 2009 -0500

    xfs: increase the maximum number of supported ACL entries
    
    With big installation current 25 maximum number of
    supported ACL entries is not enough any more.
    Increase the limit to 100.
    
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit 6cc87645e2a3c28d857b074e90bf88bfcd117afa
Author: Dave Chinner <dgc@xxxxxxx>
Date:   Mon Mar 16 08:29:46 2009 +0100

    xfs: factor out code to find the longest free extent in the AG
    
    Signed-off-by: Dave Chinner <dgc@xxxxxxx>
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>

commit cb4c8cc1e92bc68c952e9a81a9fb9736bd8150de
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Mar 16 08:25:25 2009 +0100

    xfs: kill VN_BAD
    
    Remove this rather pointless wrapper and use is_bad_inode directly.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit 8fab451e3cfe02a5e3dfc4bab3cfb975bc11fc09
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Mar 16 08:24:46 2009 +0100

    xfs: kill vn_atime_* helpers.
    
    Two out of three are unused already, and the third is better done open-coded
    with a comment describing what's going on here.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit 076e6acb8f0d9532ee6c50512c1927c0a8e34f2f
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Mar 16 08:24:13 2009 +0100

    xfs: cleanup xlog_bread
    
    Most callers of xlog_bread need to call xlog_align to get the actual offset.
    Consolidate that call into the main xlog_bread and provide a _xlog_bread
    for those few that don't want the actual offset.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit ff0205e032b9733bb634ad5dadc79a0f6d30c721
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Mar 16 08:20:52 2009 +0100

    xfs: cleanup xlog_recover_do_trans
    
    Change the big if-elsif-else block handling the different item types
    into a more natural switch, remove assignments in conditionals and
    remove an out of place comment from centuries ago on IRIX.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit dd0bbad81c8d02315a5035d3d6ea441dd1254dc1
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Mar 16 08:19:59 2009 +0100

    xfs: remove another leftover of the old inode log item format
    
    There's another little snipplet of code left from the handling of the old
    inode log item format in xlog_recover_do_inode_trans.  Kill it as it
    can't be reached anymore.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit 21b699c89545ed94d9a1c6fcc8ac704784f68f40
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Mar 16 08:19:29 2009 +0100

    xfs: cleanup log unmount handling
    
    Kill the current xfs_log_unmount wrapper and opencode the two function
    calls in the only caller.  Rename the current xfs_log_unmount_dealloc to
    xfs_log_unmount as it undoes xfs_log_mount and the new name makes that
    more clear.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit da5309cd28ffda6ed8a4147bd14f1e4fbbd6503d
Author: Felix Blyakher <felixb@xxxxxxx>
Date:   Thu Mar 12 09:33:37 2009 -0500

    Fix xfs debug build breakage by pushing xfs_error.h after
    xfs_mount.h, which it depends on.
    
    Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Alex Elder <aelder@xxxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit 7bf446f8b581cef434f5ff05e8a791563bc09b7f
Author: Hannes Eder <hannes@xxxxxxxxxxxxxx>
Date:   Thu Mar 5 15:20:25 2009 +0100

    xfs: include header files for prototypes
    
    Fix this sparse warnings:
      fs/xfs/linux-2.6/xfs_ioctl.c:72:1: warning: symbol 'xfs_find_handle' was 
not declared. Should it be static?
      fs/xfs/linux-2.6/xfs_ioctl.c:249:1: warning: symbol 'xfs_open_by_handle' 
was not declared. Should it be static?
      fs/xfs/linux-2.6/xfs_ioctl.c:361:1: warning: symbol 
'xfs_readlink_by_handle' was not declared. Should it be static?
      fs/xfs/linux-2.6/xfs_ioctl.c:496:1: warning: symbol 
'xfs_attrmulti_attr_get' was not declared. Should it be static?
      fs/xfs/linux-2.6/xfs_ioctl.c:525:1: warning: symbol 
'xfs_attrmulti_attr_set' was not declared. Should it be static?
      fs/xfs/linux-2.6/xfs_ioctl.c:555:1: warning: symbol 
'xfs_attrmulti_attr_remove' was not declared. Should it be static?
      fs/xfs/linux-2.6/xfs_ioctl.c:657:1: warning: symbol 'xfs_ioc_space' was 
not declared. Should it be static?
      fs/xfs/linux-2.6/xfs_ioctl.c:1340:1: warning: symbol 'xfs_file_ioctl' was 
not declared. Should it be static?
      fs/xfs/support/debug.c:65:1: warning: symbol 'xfs_fs_vcmn_err' was not 
declared. Should it be static?
      fs/xfs/support/debug.c:112:1: warning: symbol 'xfs_hex_dump' was not 
declared. Should it be static?
    
    Signed-off-by: Hannes Eder <hannes@xxxxxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit 3180e66d77e3c34cb466188105eace05dfeb5681
Author: Hannes Eder <hannes@xxxxxxxxxxxxxx>
Date:   Wed Mar 4 19:34:10 2009 +0100

    xfs: make symbols static
    
    Instead of the keyword 'static' the macro 'STATIC' is used, so the
    symbols are still global with CONFIG_XFS_DEBUG.
    
    Fix this sparse warnings:
      fs/xfs/linux-2.6/xfs_super.c:638:1: warning: symbol 'xfs_blkdev_get' was 
not declared. Should it be static?
      fs/xfs/linux-2.6/xfs_super.c:655:1: warning: symbol 'xfs_blkdev_put' was 
not declared. Should it be static?
      fs/xfs/linux-2.6/xfs_super.c:876:1: warning: symbol 'xfsaild' was not 
declared. Should it be static?
      fs/xfs/xfs_bmap.c:6208:1: warning: symbol 'xfs_check_block' was not 
declared. Should it be static?
      fs/xfs/xfs_dir2_leaf.c:553:1: warning: symbol 'xfs_dir2_leaf_check' was 
not declared. Should it be static?
    
    Signed-off-by: Hannes Eder <hannes@xxxxxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit 24418492aa245e9812c425593883b9db52fd8d29
Author: Hannes Eder <hannes@xxxxxxxxxxxxxx>
Date:   Wed Mar 4 19:33:48 2009 +0100

    xfs: move declaration to header file
    
    Fix this sparse warning:
      fs/xfs/xfs_da_btree.c:1550:26: warning: symbol 'xfs_default_nameops' was 
not declared. Should it be static?
    
    Signed-off-by: Hannes Eder <hannes@xxxxxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit b79631330a653f568a2ac4eb4a32474c80e3fe77
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date:   Tue Mar 3 14:48:37 2009 -0500

    xfs: only issues a cache flush on unmount if barriers are enabled
    
    Currently we unconditionally issue a flush from xfs_free_buftarg, but
    since 2.6.29-rc1 this gives a warning in the style of
    
        end_request: I/O error, dev vdb, sector 0
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit ed93ec3907f063268ced18728d0653f6199d100c
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date:   Tue Mar 3 14:48:35 2009 -0500

    xfs: prevent lockdep false positive in xfs_iget_cache_miss
    
    The inode can't be locked by anyone else as we just created it a few
    lines above and it's not been added to any lookup data structure yet.
    
    So use a trylock that must succeed to get around the lockdep warnings.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reported-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>
    Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit e8fa6b483feebd23ded5eb01afd7a6e82b6078c6
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date:   Tue Mar 3 14:48:36 2009 -0500

    xfs: prevent kernel crash due to corrupted inode log format
    
    Andras Korn reported an oops on log replay causes by a corrupted
    xfs_inode_log_format_t passing a 0 size to kmem_zalloc.  This patch handles
    to small or too large numbers of log regions gracefully by rejecting the
    log replay with a useful error message.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reported-by: Andras Korn <korn-sgi.com@xxxxxxxxxxxxxxxxxxxxxx>
    Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit 3a011a171906a3a51a43bb860fb7c66a64cab140
Author: Felix Blyakher <felixb@xxxxxxx>
Date:   Wed Feb 18 15:56:51 2009 -0600

    Revert "[XFS] remove old vmap cache"
    
    This reverts commit d2859751cd0bf586941ffa7308635a293f943c17.
    
    This commit caused regression. We'll try to fix use of new
    vmap API for next release.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit cf7dab801796b9ee52a6dc99888a66bf476538ec
Author: Felix Blyakher <felixb@xxxxxxx>
Date:   Wed Feb 18 15:41:28 2009 -0600

    Revert "[XFS] use scalable vmap API"
    
    This reverts commit 95f8e302c04c0b0c6de35ab399a5551605eeb006.
    
    This commit caused regression. We'll try to fix use of new
    vmap API for next release.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

commit 7c8f7af67de19a7ae33a6fc06764771265b0cc56
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Thu Feb 12 19:56:00 2009 +0100

    xfs: reject swapext ioctl on swapfiles
    
    Swapfiles are magic - I/O is directly initialized by the VM without
    involving the filesystem.  Swapping out extents underneath the VM thus
    can cause severe problems.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit 264307520b120593ba63c4a23c58dd5e2ec5e822
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Thu Feb 12 19:55:48 2009 +0100

    xfs: fix error handling in xfs_log_mount
    
    We can't just call xfs_log_unmount_dealloc on any failure because the
    ail thread which is torn down by xfs_log_unmount_dealloc might not
    be initialized yet.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>
    Reported-by: Lachlan McIlroy <lachlan@xxxxxxx>

commit fcafb71b57a039f2113b0321b3b5535fea3a0aca
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Feb 9 08:47:34 2009 +0100

    xfs: get rid of indirections in the quotaops implementation
    
    Currently we call from the nicely abstracted linux quotaops into a ugly
    multiplexer just to split the calls out at the same boundary again.
    Rewrite the quota ops handling to remove that obfucation.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit c9a192dcf906a33f59c555924e7796a4b9454217
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Feb 9 08:47:22 2009 +0100

    xfs: sanitize qh_lock wrappers
    
    Get rid of various obsfucating wrappers for accessing the quota hash lock,
    we only keep the accessors for accessing the mplist and freelist locks as
    they encode a multi-level datastructure walk.  But make sure all of them
    are defined in the same way as simple macros.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit 7201813bf55cc06e6a7405831f63df96ee7842e7
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Feb 9 08:39:24 2009 +0100

    xfs: use mutex_is_locked in XFS_DQ_IS_LOCKED
    
    Now that we have a helper to test if a mutex is held use it instead of our
    own little hacks.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit e249458220c9799fe94573abd341d29c83579671
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Feb 9 08:38:39 2009 +0100

    xfs: remove XFS_QM_LOCK/XFS_QM_UNLOCK/XFS_QM_HOLD/XFS_QM_RELE
    
    Remove these macros which only obsfucated the code in rather nast ways.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit 517b5e8c8516a25a0df3b530fd183eb493a96698
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Feb 9 08:38:02 2009 +0100

    xfs: merge xfs_mkdir into xfs_create
    
    xfs_create and xfs_mkdir only have minor differences, so merge both of them
    into a sigle function.  While we're at it also make the error handling code
    more straight-forward.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Dave Chinner <david@xxxxxxxxxxxxx>

commit a568778739030fb68805dda1af2f4ebbc3adad7d
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Feb 9 08:37:39 2009 +0100

    xfs: remove uchar_t/ushort_t/uint_t/ulong_t types
    
    Just another set of types obsfucating the code, remove them.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit 0d87e656dd961145f47ede5e37eceecfdc7d8197
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Feb 9 08:37:14 2009 +0100

    xfs: remove superflous inobt macros
    
    xfs_ialloc_btree.h has a a cuple of macros that only obsfucate the code
    but don't provide any abstraction benefits.  This patches removes those
    and cleans up the reamaining defintions up a little.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit 7153f8ba2b18f18f661d5cb172782bcae2eadce9
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Mon Feb 9 08:36:46 2009 +0100

    xfs: remove iclog calculation special cases
    
    Our default has been to always use 8 32KB log buffers for a while now, so
    remove the special casing for larger block size filesystem to use the same
    or even lower number of buffers.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit 8e9b6e7fa4544ea8a0e030c8987b918509c8ff47
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Sun Feb 8 21:51:42 2009 +0100

    xfs: remove the unused XFS_QMOPT_DQLOCK flag
    
    The XFS_QMOPT_DQLOCK flag introduces major complexity in the quota subsystem
    but isn't actually used anywhere.  So remove it and all the hazzles it
    introduces.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit 4346cdd4647e5eef15817dbfc2c091cac55e33d9
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Sun Feb 8 21:51:14 2009 +0100

    xfs: cleanup xfs_find_handle
    
    Remove the superflous igrab by keeping a reference on the path/file all the
    time and clean up various bits of surrounding code.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit ef8f7fc549bf345d92f396f5aa7b152b4969cbf7
Author: Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxxx>
Date:   Wed Feb 4 09:37:43 2009 +0100

    xfs: cleanup error handling in xfs_swap_extents
    
    Use multiple lables for proper error unwinding and get rid of some now
    superflous variables.
    
    Signed-off-by: Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxxx>
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Tested-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit d4bb6d0698090c485e2e80e8a13852be5a8bfb04
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Wed Feb 4 09:36:19 2009 +0100

    xfs: merge xfs_inode_flush into xfs_fs_write_inode
    
    Splitting the task for a VFS-induced inode flush into two functions doesn't
    make any sense, so merge the two functions dealing with it.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>

commit e1486dea0bf4bc75a52a983281076f454a894b66
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Wed Feb 4 09:36:00 2009 +0100

    xfs: factor out attr fork reset handling
    
    We currently duplicate code to reset the attribute fork after the last
    attribute has been deleted.  Factor this out into a small helper.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit c52e9fd8a9d3ac019680ffa315c1a0689d401ce3
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Wed Feb 4 09:34:34 2009 +0100

    xfs: remove unused XFS_MOUNT_ILOCK/XFS_MOUNT_IUNLOCK
    
    These aren't only unused but also reference a lock that doesn't exist 
anymore.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit cb3f35bb3bf0759e00cd4f68155da9b636421f84
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Wed Feb 4 09:34:20 2009 +0100

    xfs: tiny cleanup for xfs_link
    
    The source and target inodes are guaranteed to never be the same by the VFS,
    so no need to check for that (and we would get into bad trouble later anyway
    if that were the case).  Also clean up the error handling to use two gotos
    instead of nested conditions.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit b93b6e434c046459cf3111c76dce46ba4abcb2b6
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Wed Feb 4 09:33:58 2009 +0100

    xfs: make sure to free the real-time inodes in the mount error path
    
    When mount fails after allocating the real-time inodes we currently leak
    them.  Add a new helper to free the real-time inodes which can be used by
    both the mount and unmount path.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit f9057e3da79d18fdbd9d6adbb183f032c614feeb
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Wed Feb 4 09:31:52 2009 +0100

    xfs: cleanup error handling in xfs_mountfs:
    
    Clean up the error handling in xfs_mountfs.  Use readable goto label names,
    simplify the uuid handling and other error conditions.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>

commit 3228149ceb8b045e324cd268be9182bb26e6488b
Author: Dave Chinner <david@xxxxxxxxxxxxx>
Date:   Thu Jan 22 15:37:47 2009 +1100

    xfs: Check buffer lengths in log recovery
    
    Before trying to obtain, read or write a buffer,
    check that the buffer length is actually valid. If
    it is not valid, then something read in the recovery
    process has been corrupted and we should abort
    recovery.
    
    Reported-by: Eric Sesterhenn <snakebyte@xxxxxx>
    Tested-by: Eric Sesterhenn <snakebyte@xxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxxxxxxxxx>
    Reviewed-by: Felix Blyakher <felixb@xxxxxxx>
    Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Felix Blyakher <felixb@xxxxxxx>

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

Summary of changes:
 fs/xfs/Makefile                 |    1 +
 fs/xfs/linux-2.6/mutex.h        |   25 ---
 fs/xfs/linux-2.6/xfs_aops.c     |    1 +
 fs/xfs/linux-2.6/xfs_ioctl.c    |  117 +++++-------
 fs/xfs/linux-2.6/xfs_iops.c     |   33 +---
 fs/xfs/linux-2.6/xfs_linux.h    |   13 +--
 fs/xfs/linux-2.6/xfs_quotaops.c |  157 +++++++++++++++
 fs/xfs/linux-2.6/xfs_super.c    |  137 +++++---------
 fs/xfs/linux-2.6/xfs_super.h    |    1 +
 fs/xfs/linux-2.6/xfs_sync.h     |    1 +
 fs/xfs/linux-2.6/xfs_vnode.h    |   32 ---
 fs/xfs/quota/xfs_dquot.c        |   28 ++--
 fs/xfs/quota/xfs_dquot.h        |   18 +--
 fs/xfs/quota/xfs_qm.c           |  212 ++++++---------------
 fs/xfs/quota/xfs_qm.h           |   26 ++--
 fs/xfs/quota/xfs_qm_bhv.c       |    1 -
 fs/xfs/quota/xfs_qm_syscalls.c  |  190 +-----------------
 fs/xfs/quota/xfs_quota_priv.h   |   38 ++---
 fs/xfs/quota/xfs_trans_dquot.c  |   16 +-
 fs/xfs/support/debug.c          |    1 +
 fs/xfs/support/uuid.c           |   71 -------
 fs/xfs/support/uuid.h           |    4 -
 fs/xfs/xfs_acl.h                |    2 +-
 fs/xfs/xfs_ag.h                 |    4 +-
 fs/xfs/xfs_alloc.c              |   26 ++-
 fs/xfs/xfs_alloc.h              |    6 +
 fs/xfs/xfs_attr_leaf.c          |   58 +++---
 fs/xfs/xfs_bmap.c               |   76 +++++---
 fs/xfs/xfs_bmap.h               |    6 +-
 fs/xfs/xfs_btree.c              |    4 +-
 fs/xfs/xfs_btree.h              |    2 +-
 fs/xfs/xfs_da_btree.c           |    2 +-
 fs/xfs/xfs_da_btree.h           |    9 +-
 fs/xfs/xfs_dfrag.c              |   68 +++----
 fs/xfs/xfs_dinode.h             |    4 +-
 fs/xfs/xfs_dir2.c               |    2 -
 fs/xfs/xfs_dir2_block.c         |    7 +-
 fs/xfs/xfs_dir2_data.h          |    2 +-
 fs/xfs/xfs_dir2_leaf.c          |   17 +--
 fs/xfs/xfs_dir2_node.c          |    2 +-
 fs/xfs/xfs_dir2_sf.c            |   13 +--
 fs/xfs/xfs_extfree_item.h       |    6 -
 fs/xfs/xfs_filestream.c         |    9 +-
 fs/xfs/xfs_fsops.c              |    2 +-
 fs/xfs/xfs_ialloc.c             |   12 +-
 fs/xfs/xfs_ialloc_btree.c       |    2 +-
 fs/xfs/xfs_ialloc_btree.h       |   22 +--
 fs/xfs/xfs_inode.h              |    2 +-
 fs/xfs/xfs_inode_item.h         |    2 -
 fs/xfs/xfs_iomap.h              |    2 +-
 fs/xfs/xfs_itable.c             |    9 +-
 fs/xfs/xfs_log.c                |   67 ++-----
 fs/xfs/xfs_log.h                |    3 +-
 fs/xfs/xfs_log_priv.h           |    3 +-
 fs/xfs/xfs_log_recover.c        |  308 +++++++++++++++++-------------
 fs/xfs/xfs_mount.c              |  253 ++++++++++++++-----------
 fs/xfs/xfs_mount.h              |   19 +--
 fs/xfs/xfs_qmops.c              |    1 -
 fs/xfs/xfs_quota.h              |    3 +-
 fs/xfs/xfs_rtalloc.c            |   10 +
 fs/xfs/xfs_rtalloc.h            |    8 +-
 fs/xfs/xfs_trans.h              |   24 ++--
 fs/xfs/xfs_trans_ail.c          |    4 +-
 fs/xfs/xfs_trans_item.c         |    2 +-
 fs/xfs/xfs_trans_space.h        |    2 +-
 fs/xfs/xfs_types.h              |    8 -
 fs/xfs/xfs_utils.c              |    2 +-
 fs/xfs/xfs_vnodeops.c           |  408 +++++++++------------------------------
 fs/xfs/xfs_vnodeops.h           |    3 -
 69 files changed, 1030 insertions(+), 1599 deletions(-)
 delete mode 100644 fs/xfs/linux-2.6/mutex.h
 create mode 100644 fs/xfs/linux-2.6/xfs_quotaops.c


hooks/post-receive
-- 
XFS development tree

<Prev in Thread] Current Thread [Next in Thread>
  • [XFS updates] XFS development tree branch, for-linus, updated. v2.6.28-rc3-20838-g5123bc3, xfs <=