[XFS updates] XFS development tree branch, master, updated. v2.6.37-rc4-9169-gc56eb8f

[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, master has been updated
  cf78859 xfs: Do not name variables "panic"
  2fe17c1 fallocate should be a file operation
  64c23e8 make the feature checks in ->fallocate future proof
  7cb3920 Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
  275220f Merge branch 'for-2.6.38/core' of git://git.kernel.dk/linux-2.6-block
  b2034d4 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
  008d23e Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
  c25d246 XFS: handle hole punching via fallocate properly
  92f1c00 Merge branch 'master' into for-linus-merged
  23d69b0 Merge branch 'for-2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
  880566e xfs: provide simple rcu-walk ACL implementation
  b74c79e fs: provide rcu-walk aware permission i_ops
  fa0d7e3 fs: icache RCU free inodes
  4b7bd36 Merge branch 'master' into for-next
  afe2c51 workqueue: convert cancel_rearming_delayed_work[queue]() users to cancel_delayed_work_sync()
  f30195c Merge branch 'cleanup-bd_claim' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc into for-2.6.38/core
  d4d7762 block: clean up blkdev_get() wrappers and their users
  e525fd8 block: make blkdev_get/put() handle exclusive access
  b595076 tree-wide: fix comment/printk typos
      from  73efe4a4ddf8eb2b1cc7039e8a66a23a424961af (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 cf78859f520f8275318f47d7864f4459d940cb6b
Author: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date:   Mon Jan 17 21:21:14 2011 +0100

    xfs: Do not name variables "panic"
    
    On platforms that call panic() inside their BUG() macro (m68k/sun3, and
    all platforms that don't set HAVE_ARCH_BUG), compilation fails with:
    
    | fs/xfs/support/debug.c: In function â??xfs_cmn_errâ??:
    | fs/xfs/support/debug.c:92: error: called object â??panicâ?? is not a function
    
    as the local variable "panic" conflicts with the "panic()" function.
    Rename the local variable to resolve this.
    
    Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

commit 2fe17c1075836b66678ed2a305fd09b6773883aa
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Jan 14 13:07:43 2011 +0100

    fallocate should be a file operation
    
    Currently all filesystems except XFS implement fallocate asynchronously,
    while XFS forced a commit.  Both of these are suboptimal - in case of O_SYNC
    I/O we really want our allocation on disk, especially for the !KEEP_SIZE
    case where we actually grow the file with user-visible zeroes.  On the
    other hand always commiting the transaction is a bad idea for fast-path
    uses of fallocate like for example in recent Samba versions.   Given
    that block allocation is a data plane operation anyway change it from
    an inode operation to a file operation so that we have the file structure
    available that lets us check for O_SYNC.
    
    This also includes moving the code around for a few of the filesystems,
    and remove the already unnedded S_ISDIR checks given that we only wire
    up fallocate for regular files.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

commit 64c23e86873ee410554d6d1c76b60da47025e96f
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Jan 14 13:07:30 2011 +0100

    make the feature checks in ->fallocate future proof
    
    Instead of various home grown checks that might need updates for new
    flags just check for any bit outside the mask of the features supported
    by the filesystem.  This makes the check future proof for any newly
    added flag.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

commit 7cb3920a6529df7f54487abe973b903b8239e901
Merge: ad56cbf0fa6c09350c738ec59a3361f2e4ab4bc7 73efe4a4ddf8eb2b1cc7039e8a66a23a424961af
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Fri Jan 14 15:24:17 2011 -0800

    Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
    
    * 'for-linus' of git://oss.sgi.com/xfs/xfs:
      xfs: prevent NMI timeouts in cmn_err
      xfs: Add log level to assertion printk
      xfs: fix an assignment within an ASSERT()
      xfs: fix error handling for synchronous writes
      xfs: add FITRIM support
      xfs: ensure log covering transactions are synchronous
      xfs: serialise unaligned direct IOs
      xfs: factor common write setup code
      xfs: split buffered IO write path from xfs_file_aio_write
      xfs: split direct IO write path from xfs_file_aio_write
      xfs: introduce xfs_rw_lock() helpers for locking the inode
      xfs: factor post-write newsize updates
      xfs: factor common post-write isize handling code
      xfs: ensure sync write errors are returned

commit 275220f0fcff1adf28a717076e00f575edf05fda
Merge: fe3c560b8a22cb28e54fe8950abef38e88d75831 81c5e2ae33c4b19e53966b427e33646bf6811830
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Thu Jan 13 10:45:01 2011 -0800

    Merge branch 'for-2.6.38/core' of git://git.kernel.dk/linux-2.6-block
    
    * 'for-2.6.38/core' of git://git.kernel.dk/linux-2.6-block: (43 commits)
      block: ensure that completion error gets properly traced
      blktrace: add missing probe argument to block_bio_complete
      block cfq: don't use atomic_t for cfq_group
      block cfq: don't use atomic_t for cfq_queue
      block: trace event block fix unassigned field
      block: add internal hd part table references
      block: fix accounting bug on cross partition merges
      kref: add kref_test_and_get
      bio-integrity: mark kintegrityd_wq highpri and CPU intensive
      block: make kblockd_workqueue smarter
      Revert "sd: implement sd_check_events()"
      block: Clean up exit_io_context() source code.
      Fix compile warnings due to missing removal of a 'ret' variable
      fs/block: type signature of major_to_index(int) to major_to_index(unsigned)
      block: convert !IS_ERR(p) && p to !IS_ERR_NOR_NULL(p)
      cfq-iosched: don't check cfqg in choose_service_tree()
      fs/splice: Pull buf->ops->confirm() from splice_from_pipe actors
      cdrom: export cdrom_check_events()
      sd: implement sd_check_events()
      sr: implement sr_check_events()
      ...

commit b2034d474b7e1e8578bd5c2977024b51693269d9
Merge: 27d189c02ba25851973c8582e419c0bded9f7e5b 924241575a85249b9d410e38f5b2fcad9035e45c
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Thu Jan 13 10:27:28 2011 -0800

    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: (41 commits)
      fs: add documentation on fallocate hole punching
      Gfs2: fail if we try to use hole punch
      Btrfs: fail if we try to use hole punch
      Ext4: fail if we try to use hole punch
      Ocfs2: handle hole punching via fallocate properly
      XFS: handle hole punching via fallocate properly
      fs: add hole punching to fallocate
      vfs: pass struct file to do_truncate on O_TRUNC opens (try #2)
      fix signedness mess in rw_verify_area() on 64bit architectures
      fs: fix kernel-doc for dcache::prepend_path
      fs: fix kernel-doc for dcache::d_validate
      sanitize ecryptfs ->mount()
      switch afs
      move internal-only parts of ncpfs headers to fs/ncpfs
      switch ncpfs
      switch 9p
      pass default dentry_operations to mount_pseudo()
      switch hostfs
      switch affs
      switch configfs
      ...

commit 008d23e4852d78bb2618f2035f8b2110b6a6b968
Merge: 8f685fbda43deccd130d192c9fcef1444649eaca bfc672dcf323877228682aff79dff8ecd9f30ff8
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date:   Thu Jan 13 10:05:56 2011 -0800

    Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
    
    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
      Documentation/trace/events.txt: Remove obsolete sched_signal_send.
      writeback: fix global_dirty_limits comment runtime -> real-time
      ppc: fix comment typo singal -> signal
      drivers: fix comment typo diable -> disable.
      m68k: fix comment typo diable -> disable.
      wireless: comment typo fix diable -> disable.
      media: comment typo fix diable -> disable.
      remove doc for obsolete dynamic-printk kernel-parameter
      remove extraneous 'is' from Documentation/iostats.txt
      Fix spelling milisec -> ms in snd_ps3 module parameter description
      Fix spelling mistakes in comments
      Revert conflicting V4L changes
      i7core_edac: fix typos in comments
      mm/rmap.c: fix comment
      sound, ca0106: Fix assignment to 'channel'.
      hrtimer: fix a typo in comment
      init/Kconfig: fix typo
      anon_inodes: fix wrong function name in comment
      fix comment typos concerning "consistent"
      poll: fix a typo in comment
      ...
    
    Fix up trivial conflicts in:
     - drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c)
     - fs/ext4/ext4.h
    
    Also fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.

commit c25d246715b87ad37e69e7abd1a0fed781423fa2
Author: Josef Bacik <josef@xxxxxxxxxx>
Date:   Wed Nov 17 20:46:16 2010 -0500

    XFS: handle hole punching via fallocate properly
    
    This patch simply allows XFS to handle the hole punching flag in fallocate
    properly.  I've tested this with a little program that does a bunch of random
    hole punching with FL_KEEP_SIZE and without it to make sure it does the right
    thing.  Thanks,
    
    Signed-off-by: Josef Bacik <josef@xxxxxxxxxx>
    Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

commit 4b7bd364700d9ac8372eff48832062b936d0793b
Merge: c0d8768af260e2cbb4bf659ae6094a262c86b085 90a8a73c06cc32b609a880d48449d7083327e11a
Author: Jiri Kosina <jkosina@xxxxxxx>
Date:   Wed Dec 22 18:57:02 2010 +0100

    Merge branch 'master' into for-next
    
    Conflicts:
    	MAINTAINERS
    	arch/arm/mach-omap2/pm24xx.c
    	drivers/scsi/bfa/bfa_fcpim.c
    
    Needed to update to apply fixes for which the old branch was too
    outdated.

commit f30195c50245d8ace628e1978b1daa8df86e7224
Merge: d07335e51df0c6dec202d315fc4f1f7e100eec4e d4d77629953eabd3c14f6fa5746f6b28babfc55f
Author: Jens Axboe <jaxboe@xxxxxxxxxxxx>
Date:   Sat Nov 27 19:49:18 2010 +0100

    Merge branch 'cleanup-bd_claim' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc into for-2.6.38/core

commit d4d77629953eabd3c14f6fa5746f6b28babfc55f
Author: Tejun Heo <tj@xxxxxxxxxx>
Date:   Sat Nov 13 11:55:18 2010 +0100

    block: clean up blkdev_get() wrappers and their users
    
    After recent blkdev_get() modifications, open_by_devnum() and
    open_bdev_exclusive() are simple wrappers around blkdev_get().
    Replace them with blkdev_get_by_dev() and blkdev_get_by_path().
    
    blkdev_get_by_dev() is identical to open_by_devnum().
    blkdev_get_by_path() is slightly different in that it doesn't
    automatically add %FMODE_EXCL to @mode.
    
    All users are converted.  Most conversions are mechanical and don't
    introduce any behavior difference.  There are several exceptions.
    
    * btrfs now sets FMODE_EXCL in btrfs_device->mode, so there's no
      reason to OR it explicitly on blkdev_put().
    
    * gfs2, nilfs2 and the generic mount_bdev() now set FMODE_EXCL in
      sb->s_mode.
    
    * With the above changes, sb->s_mode now always should contain
      FMODE_EXCL.  WARN_ON_ONCE() added to kill_block_super() to detect
      errors.
    
    The new blkdev_get_*() functions are with proper docbook comments.
    While at it, add function description to blkdev_get() too.
    
    Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
    Cc: Philipp Reisner <philipp.reisner@xxxxxxxxxx>
    Cc: Neil Brown <neilb@xxxxxxx>
    Cc: Mike Snitzer <snitzer@xxxxxxxxxx>
    Cc: Joern Engel <joern@xxxxxxxxxxxxxxx>
    Cc: Chris Mason <chris.mason@xxxxxxxxxx>
    Cc: Jan Kara <jack@xxxxxxx>
    Cc: "Theodore Ts'o" <tytso@xxxxxxx>
    Cc: KONISHI Ryusuke <konishi.ryusuke@xxxxxxxxxxxxx>
    Cc: reiserfs-devel@xxxxxxxxxxxxxxx
    Cc: xfs-masters@xxxxxxxxxxx
    Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>

commit e525fd89d380c4a94c0d63913a1dd1a593ed25e7
Author: Tejun Heo <tj@xxxxxxxxxx>
Date:   Sat Nov 13 11:55:17 2010 +0100

    block: make blkdev_get/put() handle exclusive access
    
    Over time, block layer has accumulated a set of APIs dealing with bdev
    open, close, claim and release.
    
    * blkdev_get/put() are the primary open and close functions.
    
    * bd_claim/release() deal with exclusive open.
    
    * open/close_bdev_exclusive() are combination of open and claim and
      the other way around, respectively.
    
    * bd_link/unlink_disk_holder() to create and remove holder/slave
      symlinks.
    
    * open_by_devnum() wraps bdget() + blkdev_get().
    
    The interface is a bit confusing and the decoupling of open and claim
    makes it impossible to properly guarantee exclusive access as
    in-kernel open + claim sequence can disturb the existing exclusive
    open even before the block layer knows the current open if for another
    exclusive access.  Reorganize the interface such that,
    
    * blkdev_get() is extended to include exclusive access management.
      @holder argument is added and, if is @FMODE_EXCL specified, it will
      gain exclusive access atomically w.r.t. other exclusive accesses.
    
    * blkdev_put() is similarly extended.  It now takes @mode argument and
      if @FMODE_EXCL is set, it releases an exclusive access.  Also, when
      the last exclusive claim is released, the holder/slave symlinks are
      removed automatically.
    
    * bd_claim/release() and close_bdev_exclusive() are no longer
      necessary and either made static or removed.
    
    * bd_link_disk_holder() remains the same but bd_unlink_disk_holder()
      is no longer necessary and removed.
    
    * open_bdev_exclusive() becomes a simple wrapper around lookup_bdev()
      and blkdev_get().  It also has an unexpected extra bdev_read_only()
      test which probably should be moved into blkdev_get().
    
    * open_by_devnum() is modified to take @holder argument and pass it to
      blkdev_get().
    
    Most of bdev open/close operations are unified into blkdev_get/put()
    and most exclusive accesses are tested atomically at the open time (as
    it should).  This cleans up code and removes some, both valid and
    invalid, but unnecessary all the same, corner cases.
    
    open_bdev_exclusive() and open_by_devnum() can use further cleanup -
    rename to blkdev_get_by_path() and blkdev_get_by_devt() and drop
    special features.  Well, let's leave them for another day.
    
    Most conversions are straight-forward.  drbd conversion is a bit more
    involved as there was some reordering, but the logic should stay the
    same.
    
    Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
    Acked-by: Neil Brown <neilb@xxxxxxx>
    Acked-by: Ryusuke Konishi <konishi.ryusuke@xxxxxxxxxxxxx>
    Acked-by: Mike Snitzer <snitzer@xxxxxxxxxx>
    Acked-by: Philipp Reisner <philipp.reisner@xxxxxxxxxx>
    Cc: Peter Osterlund <petero2@xxxxxxxxx>
    Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
    Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
    Cc: Jan Kara <jack@xxxxxxx>
    Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
    Cc: Andreas Dilger <adilger.kernel@xxxxxxxxx>
    Cc: "Theodore Ts'o" <tytso@xxxxxxx>
    Cc: Mark Fasheh <mfasheh@xxxxxxxx>
    Cc: Joel Becker <joel.becker@xxxxxxxxxx>
    Cc: Alex Elder <aelder@xxxxxxx>
    Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>
    Cc: dm-devel@xxxxxxxxxx
    Cc: drbd-dev@xxxxxxxxxxxxxxxx
    Cc: Leo Chen <leochen@xxxxxxxxxxxx>
    Cc: Scott Branden <sbranden@xxxxxxxxxxxx>
    Cc: Chris Mason <chris.mason@xxxxxxxxxx>
    Cc: Steven Whitehouse <swhiteho@xxxxxxxxxx>
    Cc: Dave Kleikamp <shaggy@xxxxxxxxxxxxxxxxxx>
    Cc: Joern Engel <joern@xxxxxxxxx>
    Cc: reiserfs-devel@xxxxxxxxxxxxxxx
    Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>

commit b595076a180a56d1bb170e6eceda6eb9d76f4cd3
Author: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
Date:   Mon Nov 1 15:38:34 2010 -0400

    tree-wide: fix comment/printk typos
    
    "gadget", "through", "command", "maintain", "maintain", "controller", "address",
    "between", "initiali[zs]e", "instead", "function", "select", "already",
    "equal", "access", "management", "hierarchy", "registration", "interest",
    "relative", "memory", "offset", "already",
    
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
    Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>

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

Summary of changes:
 fs/xfs/linux-2.6/xfs_acl.c   |   11 ++++++-
 fs/xfs/linux-2.6/xfs_file.c  |   56 ++++++++++++++++++++++++++++++++++++++++++
 fs/xfs/linux-2.6/xfs_iops.c  |   54 ----------------------------------------
 fs/xfs/linux-2.6/xfs_super.c |    7 +++--
 fs/xfs/support/debug.c       |    6 ++--
 fs/xfs/xfs_acl.h             |    2 +-
 fs/xfs/xfs_iget.c            |   10 +++---
 fs/xfs/xfs_mru_cache.c       |    2 +-
 8 files changed, 79 insertions(+), 69 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