[XFS updates] XFS development tree branch, for-linus, updated. v2.6.36-rc8-10210-gece413f

xfs at oss.sgi.com xfs at oss.sgi.com
Wed Nov 10 16:46:53 CST 2010


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
  ece413f xfs: remove incorrect assert in xfs_vm_writepage
  c6f6cd0 xfs: use hlist_add_fake
  5d2bf8a xfs: fix a few compiler warnings with CONFIG_XFS_QUOTA=n
  785ce41 xfs: tell lockdep about parent iolock usage in filestreams
  bfe2741 xfs: move delayed write buffer trace
  f83282a xfs: fix per-ag reference counting in inode reclaim tree walking
  6762b93 xfs: xfs_ioctl: fix information leak to userland
  5d0af85 xfs: remove experimental tag from the delaylog option
  152a083 new helper: mount_bdev()
  7d2f280 Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6
  426e1f5 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
  1b430be writeback: remove nonblocking/encountered_congestion references
  85fe402 fs: do not assign default i_ino in new_inode
  7de9c6e new helper: ihold()
  646ec46 fs: remove inode_add_to_list/__inode_add_to_list
  ebdec24 fs: kill block_prepare_write
  5fe3a5a Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
  91b7450 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
  fa251f89 Merge branch 'v2.6.36-rc8' into for-2.6.37/barrier
  6370a6a workqueue: add and use WQ_MEM_RECLAIM flag
  80f44b1 quota: Make QUOTACTL config be selected by its users
  dd3932e block: remove BLKDEV_IFL_WAIT
  80f6c29 xfs: replace barriers with explicit flush / FUA usage
      from  39dc948c6921169e13224a97fa53188922acfde8 (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 ece413f59f257682de4a2e2e42af33b016af53f3
Author: Christoph Hellwig <hch at infradead.org>
Date:   Wed Nov 10 21:39:11 2010 +0000

    xfs: remove incorrect assert in xfs_vm_writepage
    
    In commit 20cb52ebd1b5ca6fa8a5d9b6b1392292f5ca8a45, titled
    "xfs: simplify xfs_vm_writepage" I added an assert that any !mapped and
    uptodate buffers are not dirty.  That asserts turns out to trigger a lot
    when running fsx on filesystems with small block sizes.  The reason for
    that is that the assert is simply incorrect.  !mapped and uptodate
    just mean this buffer covers a hole, and whenever we do a set_page_dirty
    we mark all blocks in the page dirty, no matter if they have data or
    not.  So remove the assert, and update the comment above the condition
    to match reality.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Alex Elder <aelder at sgi.com>

commit c6f6cd0608b1826ee1797cf57a808416e4bdb806
Author: Christoph Hellwig <hch at infradead.org>
Date:   Sat Nov 6 11:43:08 2010 +0000

    xfs: use hlist_add_fake
    
    XFS does not need it's inodes to actuall be hashed in the VFS inode
    cache, but we require the inode to be marked hashed for the
    writeback code to work.
    
    Insted of using insert_inode_hash, which requires a second
    inode_lock roundtrip after the partial merge of the inode
    scalability patches in 2.6.37-rc simply use the new hlist_add_fake
    helper to mark it hashed without requiring a lock or touching a
    global cache line.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Alex Elder <aelder at sgi.com>

commit 5d2bf8a55e03b0e59ed5a4ac2ff7f9ee3ba7e40d
Author: Christoph Hellwig <hch at infradead.org>
Date:   Sat Nov 6 11:42:56 2010 +0000

    xfs: fix a few compiler warnings with CONFIG_XFS_QUOTA=n
    
    Andi Kleen reported that gcc-4.5 gives lots of warnings for him
    inside the XFS code.  It turned out most of them are due to the
    quota stubs beeing macros, and gcc now complaining about macros
    evaluating to 0 that are not assigned to variables.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Alex Elder <aelder at sgi.com>

commit 785ce41805ea7b6a9b2775ed9f4cf10cd7a90c03
Author: Christoph Hellwig <hch at infradead.org>
Date:   Sat Nov 6 11:42:44 2010 +0000

    xfs: tell lockdep about parent iolock usage in filestreams
    
    The filestreams code may take the iolock on the parent inode while
    holding it on a child.  This is the only place in XFS where we take
    both the child and parent iolock, so just telling lockdep about it
    is enough.  The lock flag required for that was already added as
    part of the ilock lockdep annotations and unused so far.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Alex Elder <aelder at sgi.com>

commit bfe2741967eaa3434fa9b3d8f24b1422d4540e7d
Author: Dave Chinner <dchinner at redhat.com>
Date:   Mon Nov 8 08:55:05 2010 +0000

    xfs: move delayed write buffer trace
    
    The delayed write buffer split trace currently issues a trace for
    every buffer it scans. These buffers are not necessarily queued for
    delayed write. Indeed, when buffers are pinned, there can be
    thousands of traces of buffers that aren't actually queued for
    delayed write and the ones that are are lost in the noise. Move the
    trace point to record only buffers that are split out for IO to be
    issued on.
    
    Signed-off-by: Dave Chinner <dchinner at redhat.com>
    Reviewed-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Alex Elder <aelder at sgi.com>

commit f83282a8ef799c0bdcb0c32971487087da1bc216
Author: Dave Chinner <dchinner at redhat.com>
Date:   Mon Nov 8 08:55:04 2010 +0000

    xfs: fix per-ag reference counting in inode reclaim tree walking
    
    The walk fails to decrement the per-ag reference count when the
    non-blocking walk fails to obtain the per-ag reclaim lock, leading
    to an assert failure on debug kernels when unmounting a filesystem.
    
    Signed-off-by: Dave Chinner <dchinner at redhat.com>
    Reviewed-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Alex Elder <aelder at sgi.com>

commit 6762b938eac878a30a90e770ac655874c36bc642
Author: Kulikov Vasiliy <segooon at gmail.com>
Date:   Sat Oct 30 14:26:17 2010 +0000

    xfs: xfs_ioctl: fix information leak to userland
    
    al_hreq is copied from userland.  If al_hreq.buflen is not properly aligned
    then xfs_attr_list will ignore the last bytes of kbuf.  These bytes are
    unitialized.  It leads to leaking of contents of kernel stack memory.
    
    Signed-off-by: Vasiliy Kulikov <segooon at gmail.com>
    Signed-off-by: Alex Elder <aelder at sgi.com>

commit 5d0af85cd0964bb845b63d5059bb20e8f7731e65
Author: Christoph Hellwig <hch at infradead.org>
Date:   Thu Oct 28 21:37:10 2010 +0000

    xfs: remove experimental tag from the delaylog option
    
    We promised to do this for 2.6.37, and the code looks stable enough to
    keep that promise.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Reviewed-by: Dave Chinner <dchinner at redhat.com>
    Signed-off-by: Alex Elder <aelder at sgi.com>

commit 152a08366671080f27b32e0c411ad620c5f88b57
Author: Al Viro <viro at zeniv.linux.org.uk>
Date:   Sun Jul 25 00:46:55 2010 +0400

    new helper: mount_bdev()
    
    ... and switch of the obvious get_sb_bdev() users to ->mount()
    
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 7d2f280e75f05919314e250cadf361a327ed555c
Merge: e3e1288e86a07cdeb0aee5860a2dff111c6eff79 4408ea41c0ab4b711d4da44dd954fb06dce6c3f8
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Wed Oct 27 20:13:18 2010 -0700

    Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6
    
    * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6: (24 commits)
      quota: Fix possible oops in __dquot_initialize()
      ext3: Update kernel-doc comments
      jbd/2: fixed typos
      ext2: fixed typo.
      ext3: Fix debug messages in ext3_group_extend()
      jbd: Convert atomic_inc() to get_bh()
      ext3: Remove misplaced BUFFER_TRACE() in ext3_truncate()
      jbd: Fix debug message in do_get_write_access()
      jbd: Check return value of __getblk()
      ext3: Use DIV_ROUND_UP() on group desc block counting
      ext3: Return proper error code on ext3_fill_super()
      ext3: Remove unnecessary casts on bh->b_data
      ext3: Cleanup ext3_setup_super()
      quota: Fix issuing of warnings from dquot_transfer
      quota: fix dquot_disable vs dquot_transfer race v2
      jbd: Convert bitops to buffer fns
      ext3/jbd: Avoid WARN() messages when failing to write the superblock
      jbd: Use offset_in_page() instead of manual calculation
      jbd: Remove unnecessary goto statement
      jbd: Use printk_ratelimited() in journal_alloc_journal_head()
      ...

commit 426e1f5cec4821945642230218876b0e89aafab1
Merge: 9e5fca251f44832cb996961048ea977f80faf6ea 63997e98a3be68d7cec806d22bf9b02b2e1daabb
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Tue Oct 26 17:58:44 2010 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (52 commits)
      split invalidate_inodes()
      fs: skip I_FREEING inodes in writeback_sb_inodes
      fs: fold invalidate_list into invalidate_inodes
      fs: do not drop inode_lock in dispose_list
      fs: inode split IO and LRU lists
      fs: switch bdev inode bdi's correctly
      fs: fix buffer invalidation in invalidate_list
      fsnotify: use dget_parent
      smbfs: use dget_parent
      exportfs: use dget_parent
      fs: use RCU read side protection in d_validate
      fs: clean up dentry lru modification
      fs: split __shrink_dcache_sb
      fs: improve DCACHE_REFERENCED usage
      fs: use percpu counter for nr_dentry and nr_dentry_unused
      fs: simplify __d_free
      fs: take dcache_lock inside __d_path
      fs: do not assign default i_ino in new_inode
      fs: introduce a per-cpu last_ino allocator
      new helper: ihold()
      ...

commit 1b430beee5e388605dfb092b214ef0320f752cf6
Author: Wu Fengguang <fengguang.wu at intel.com>
Date:   Tue Oct 26 14:21:26 2010 -0700

    writeback: remove nonblocking/encountered_congestion references
    
    This removes more dead code that was somehow missed by commit 0d99519efef
    (writeback: remove unused nonblocking and congestion checks).  There are
    no behavior change except for the removal of two entries from one of the
    ext4 tracing interface.
    
    The nonblocking checks in ->writepages are no longer used because the
    flusher now prefer to block on get_request_wait() than to skip inodes on
    IO congestion.  The latter will lead to more seeky IO.
    
    The nonblocking checks in ->writepage are no longer used because it's
    redundant with the WB_SYNC_NONE check.
    
    We no long set ->nonblocking in VM page out and page migration, because
    a) it's effectively redundant with WB_SYNC_NONE in current code
    b) it's old semantic of "Don't get stuck on request queues" is mis-behavior:
       that would skip some dirty inodes on congestion and page out others, which
       is unfair in terms of LRU age.
    
    Inspired by Christoph Hellwig. Thanks!
    
    Signed-off-by: Wu Fengguang <fengguang.wu at intel.com>
    Cc: Theodore Ts'o <tytso at mit.edu>
    Cc: David Howells <dhowells at redhat.com>
    Cc: Sage Weil <sage at newdream.net>
    Cc: Steve French <sfrench at samba.org>
    Cc: Chris Mason <chris.mason at oracle.com>
    Cc: Jens Axboe <axboe at kernel.dk>
    Cc: Christoph Hellwig <hch at infradead.org>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

commit 85fe4025c616a7c0ed07bc2fc8c5371b07f3888c
Author: Christoph Hellwig <hch at lst.de>
Date:   Sat Oct 23 11:19:54 2010 -0400

    fs: do not assign default i_ino in new_inode
    
    Instead of always assigning an increasing inode number in new_inode
    move the call to assign it into those callers that actually need it.
    For now callers that need it is estimated conservatively, that is
    the call is added to all filesystems that do not assign an i_ino
    by themselves.  For a few more filesystems we can avoid assigning
    any inode number given that they aren't user visible, and for others
    it could be done lazily when an inode number is actually needed,
    but that's left for later patches.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Dave Chinner <dchinner at redhat.com>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 7de9c6ee3ecffd99e1628e81a5ea5468f7581a1f
Author: Al Viro <viro at zeniv.linux.org.uk>
Date:   Sat Oct 23 11:11:40 2010 -0400

    new helper: ihold()
    
    Clones an existing reference to inode; caller must already hold one.
    
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 646ec4615cd05972581c9c5342ed7a1e77df17bb
Author: Christoph Hellwig <hch at lst.de>
Date:   Sat Oct 23 07:15:32 2010 -0400

    fs: remove inode_add_to_list/__inode_add_to_list
    
    Split up inode_add_to_list/__inode_add_to_list.  Locking for the two
    lists will be split soon so these helpers really don't buy us much
    anymore.
    
    The __ prefixes for the sb list helpers will go away soon, but until
    inode_lock is gone we'll need them to distinguish between the locked
    and unlocked variants.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit ebdec241d509cf69f6ebf1ecdc036359d3dbe154
Author: Christoph Hellwig <hch at lst.de>
Date:   Wed Oct 6 10:47:23 2010 +0200

    fs: kill block_prepare_write
    
    __block_write_begin and block_prepare_write are identical except for slightly
    different calling conventions.  Convert all callers to the __block_write_begin
    calling conventions and drop block_prepare_write.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>

commit 5fe3a5ae5c09d53b2b3c7a971e1d87ab3a747055
Merge: 0fc0531e0a2174377a86fd6953ecaa00287d8f70 39dc948c6921169e13224a97fa53188922acfde8
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Fri Oct 22 17:32:27 2010 -0700

    Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
    
    * 'for-linus' of git://oss.sgi.com/xfs/xfs: (36 commits)
      xfs: semaphore cleanup
      xfs: Extend project quotas to support 32bit project ids
      xfs: remove xfs_buf wrappers
      xfs: remove xfs_cred.h
      xfs: remove xfs_globals.h
      xfs: remove xfs_version.h
      xfs: remove xfs_refcache.h
      xfs: fix the xfs_trans_committed
      xfs: remove unused t_callback field in struct xfs_trans
      xfs: fix bogus m_maxagi check in xfs_iget
      xfs: do not use xfs_mod_incore_sb_batch for per-cpu counters
      xfs: do not use xfs_mod_incore_sb for per-cpu counters
      xfs: remove XFS_MOUNT_NO_PERCPU_SB
      xfs: pack xfs_buf structure more tightly
      xfs: convert buffer cache hash to rbtree
      xfs: serialise inode reclaim within an AG
      xfs: batch inode reclaim lookup
      xfs: implement batched inode lookups for AG walking
      xfs: split out inode walk inode grabbing
      xfs: split inode AG walking into separate code for reclaim
      ...

commit 91b745016c12d440386c40fb76ab69c8e08cbc06
Merge: 04cc69768e7d1f40d98b79d23d203674553b4da2 daaae6b010ac0f60c9c35e481589966f9f1fcc22
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Fri Oct 22 17:13:10 2010 -0700

    Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
      workqueue: remove in_workqueue_context()
      workqueue: Clarify that schedule_on_each_cpu is synchronous
      memory_hotplug: drop spurious calls to flush_scheduled_work()
      shpchp: update workqueue usage
      pciehp: update workqueue usage
      isdn/eicon: don't call flush_scheduled_work() from diva_os_remove_soft_isr()
      workqueue: add and use WQ_MEM_RECLAIM flag
      workqueue: fix HIGHPRI handling in keep_working()
      workqueue: add queue_work and activate_work trace points
      workqueue: prepare for more tracepoints
      workqueue: implement flush[_delayed]_work_sync()
      workqueue: factor out start_flush_work()
      workqueue: cleanup flush/cancel functions
      workqueue: implement alloc_ordered_workqueue()
    
    Fix up trivial conflict in fs/gfs2/main.c as per Tejun

commit fa251f89903d73989e2f63e13d0eaed1e07ce0da
Merge: dd3932eddf428571762596e17b65f5dc92ca361b cd07202cc8262e1669edff0d97715f3dd9260917
Author: Jens Axboe <jaxboe at fusionio.com>
Date:   Tue Oct 19 09:13:04 2010 +0200

    Merge branch 'v2.6.36-rc8' into for-2.6.37/barrier
    
    Conflicts:
    	block/blk-core.c
    	drivers/block/loop.c
    	mm/swapfile.c
    
    Signed-off-by: Jens Axboe <jaxboe at fusionio.com>

commit 6370a6ad3b53df90b4700977f7718118a2cd524a
Author: Tejun Heo <tj at kernel.org>
Date:   Mon Oct 11 15:12:27 2010 +0200

    workqueue: add and use WQ_MEM_RECLAIM flag
    
    Add WQ_MEM_RECLAIM flag which currently maps to WQ_RESCUER, mark
    WQ_RESCUER as internal and replace all external WQ_RESCUER usages to
    WQ_MEM_RECLAIM.
    
    This makes the API users express the intent of the workqueue instead
    of indicating the internal mechanism used to guarantee forward
    progress.  This is also to make it cleaner to add more semantics to
    WQ_MEM_RECLAIM.  For example, if deemed necessary, memory reclaim
    workqueues can be made highpri.
    
    This patch doesn't introduce any functional change.
    
    Signed-off-by: Tejun Heo <tj at kernel.org>
    Cc: Jeff Garzik <jgarzik at pobox.com>
    Cc: Dave Chinner <david at fromorbit.com>
    Cc: Steven Whitehouse <swhiteho at redhat.com>

commit 80f44b152c889e592616adf0d33b856107f4bace
Author: Jan Kara <jack at suse.cz>
Date:   Tue Aug 17 12:14:44 2010 +0200

    quota: Make QUOTACTL config be selected by its users
    
    Remove "depends on" line from QUOTACTL config option and rather select
    the option explicitely from config options which need it. It makes more
    sense this way and also fixes Kconfig warning due to GFS2 selecting
    QUOTACTL but QUOTACTL not depending on it.
    
    Signed-off-by: Jan Kara <jack at suse.cz>

commit dd3932eddf428571762596e17b65f5dc92ca361b
Author: Christoph Hellwig <hch at lst.de>
Date:   Thu Sep 16 20:51:46 2010 +0200

    block: remove BLKDEV_IFL_WAIT
    
    All the blkdev_issue_* helpers can only sanely be used for synchronous
    caller.  To issue cache flushes or barriers asynchronously the caller needs
    to set up a bio by itself with a completion callback to move the asynchronous
    state machine ahead.  So drop the BLKDEV_IFL_WAIT flag that is always
    specified when calling blkdev_issue_* and also remove the now unused flags
    argument to blkdev_issue_flush and blkdev_issue_zeroout.  For
    blkdev_issue_discard we need to keep it for the secure discard flag, which
    gains a more descriptive name and loses the bitops vs flag confusion.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Signed-off-by: Jens Axboe <jaxboe at fusionio.com>

commit 80f6c29d8a758650d5c9eac05074b4b3e8c266df
Author: Christoph Hellwig <hch at infradead.org>
Date:   Wed Aug 18 05:29:11 2010 -0400

    xfs: replace barriers with explicit flush / FUA usage
    
    Switch to the WRITE_FLUSH_FUA flag for log writes and remove the EOPNOTSUPP
    detection for barriers.
    
    Signed-off-by: Christoph Hellwig <hch at lst.de>
    Reviewed-by: Dave Chinner <dchinner at redhat.com>
    Signed-off-by: Tejun Heo <tj at kernel.org>
    Signed-off-by: Jens Axboe <jaxboe at fusionio.com>

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

Summary of changes:
 fs/xfs/Kconfig               |    1 +
 fs/xfs/linux-2.6/xfs_aops.c  |   10 +++++-----
 fs/xfs/linux-2.6/xfs_buf.c   |   21 +++++----------------
 fs/xfs/linux-2.6/xfs_buf.h   |   11 +----------
 fs/xfs/linux-2.6/xfs_ioctl.c |    2 +-
 fs/xfs/linux-2.6/xfs_iops.c  |    7 +++++--
 fs/xfs/linux-2.6/xfs_super.c |   20 +++++++-------------
 fs/xfs/linux-2.6/xfs_sync.c  |    1 +
 fs/xfs/linux-2.6/xfs_trace.h |    1 -
 fs/xfs/xfs_filestream.c      |    8 +++++++-
 fs/xfs/xfs_inode.h           |    2 +-
 fs/xfs/xfs_log.c             |   13 -------------
 fs/xfs/xfs_mount.c           |    1 +
 fs/xfs/xfs_quota.h           |   20 ++++++++++++++++----
 14 files changed, 51 insertions(+), 67 deletions(-)


hooks/post-receive
-- 
XFS development tree




More information about the xfs mailing list