[XFS updates] XFS development tree branch, for-linus, updated. for-linus-v3.10-rc1-3-g7dfbcbe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
  7dfbcbe xfs: fallback to vmalloc for large buffers in xfs_compat_attrlist_by_handle
  dd700d9 xfs: fallback to vmalloc for large buffers in xfs_attrlist_by_handle
  742ae1e xfs: introduce CONFIG_XFS_WARN
      from  cab09a81fbefcb21db5213a84461d421946f6eb8 (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 7dfbcbefad4b24d9822d04dbd7b5dd5c3fd45076
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date:   Thu Apr 25 11:13:06 2013 -0500

    xfs: fallback to vmalloc for large buffers in xfs_compat_attrlist_by_handle
    
    Shamelessly copied from dchinner's:
    ad650f5b xfs: fallback to vmalloc for large buffers in xfs_attrmulti_attr_get
    
    xfsdump uses a large buffer for extended attributes, which has a
    kmalloc'd shadow buffer in the kernel. This can fail after the
    system has been running for some time as it is a high order
    allocation. Add a fallback to vmalloc so that it doesn't require
    contiguous memory and so won't randomly fail while xfsdump is
    running.
    
    This was done for xfs_attrlist_by_handle but
    xfs_compat_attrlist_by_handle (the 32-bit version) needs the same
    attention.
    
    Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit dd700d9452023a5b6820815a88f93c8f7010c270
Author: Eric Sandeen <sandeen@xxxxxxxxxx>
Date:   Thu Apr 4 00:05:13 2013 -0500

    xfs: fallback to vmalloc for large buffers in xfs_attrlist_by_handle
    
    Shamelessly copied from dchinner's:
    ad650f5b xfs: fallback to vmalloc for large buffers in xfs_attrmulti_attr_get
    
    xfsdump uses for a large buffer for extended attributes, which has a
    kmalloc'd shadow buffer in the kernel. This can fail after the
    system has been running for some time as it is a high order
    allocation. Add a fallback to vmalloc so that it doesn't require
    contiguous memory and so won't randomly fail while xfsdump is
    running.
    
    Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
    Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

commit 742ae1e35b038ed65ddd86182723441ea74db765
Author: Dave Chinner <dchinner@xxxxxxxxxx>
Date:   Tue Apr 30 21:39:34 2013 +1000

    xfs: introduce CONFIG_XFS_WARN
    
    Running a CONFIG_XFS_DEBUG kernel in production environments is not
    the best idea as it introduces significant overhead, can change
    the behaviour of algorithms (such as allocation) to improve test
    coverage, and (most importantly) panic the machine on non-fatal
    errors.
    
    There are many cases where all we want to do is run a
    kernel with more bounds checking enabled, such as is provided by the
    ASSERT() statements throughout the code, but without all the
    potential overhead and drawbacks.
    
    This patch converts all the ASSERT statements to evaluate as
    WARN_ON(1) statements and hence if they fail dump a warning and a
    stack trace to the log. This has minimal overhead and does not
    change any algorithms, and will allow us to find strange "out of
    bounds" problems more easily on production machines.
    
    There are a few places where assert statements contain debug only
    code. These are converted to be debug-or-warn only code so that we
    still get all the assert checks in the code.
    
    Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
    Reviewed-by: Brian Foster <bfoster@xxxxxxxxxx>
    Signed-off-by: Ben Myers <bpm@xxxxxxx>

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

Summary of changes:
 fs/xfs/Kconfig            | 13 +++++++++++++
 fs/xfs/mrlock.h           | 12 ++++++------
 fs/xfs/xfs.h              |  5 +++++
 fs/xfs/xfs_alloc_btree.c  |  4 ++--
 fs/xfs/xfs_bmap_btree.c   |  4 ++--
 fs/xfs/xfs_btree.h        |  2 +-
 fs/xfs/xfs_dir2_node.c    |  4 ++--
 fs/xfs/xfs_ialloc_btree.c |  4 ++--
 fs/xfs/xfs_inode.c        |  2 +-
 fs/xfs/xfs_ioctl.c        | 14 ++++++++++----
 fs/xfs/xfs_ioctl32.c      | 14 ++++++++++----
 fs/xfs/xfs_linux.h        | 24 ++++++++++++++++++------
 fs/xfs/xfs_message.c      |  8 ++++++++
 fs/xfs/xfs_message.h      |  1 +
 fs/xfs/xfs_trans.h        |  4 ++--
 15 files changed, 83 insertions(+), 32 deletions(-)


hooks/post-receive
-- 
XFS development tree

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux