Skip to contentSkip to conversation

XFS development tree branch, master, updated. xfs-for-linus-v3.14-rc1-2-12920-g38dbfb5

XFS updates [email protected] 1 participant 1 message Feb 7, 2014

lore
Share & tools
lore

[email protected]

author Reviewed-by Dave Chinner Reviewed-by Jan Kara Reviewed-by Jan Kara Reviewed-by Ben Myers
#0 lore raw

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
f568849 Merge branch 'for-3.14/core' of git://git.kernel.dk/linux-block
f149938 Merge tag 'xfs-for-linus-v3.14-rc1-2' of git://oss.sgi.com/xfs/xfs
bf3d846 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2401dc2 xfs: use generic posix ACL infrastructure
37bc153 fs: make posix_acl_create more useful
5bf3258 fs: make posix_acl_chmod more useful
96c8c44 xfs: switch to kfree_put_link()
7c71ee7 xfs: allow logical-sector sized O_DIRECT
6da5417 xfs: rename xfs_buftarg structure members
f0bc998 xfs: clean up xfs_buftarg
1f4a63b xfs: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK() bba719b xfs: fix off-by-one error in xfs_attr3_rmt_verify
bf3964c Merge branch 'xfs-extent-list-locking-fixes' into for-next
dc16b18 Merge branch 'xfs-misc' into for-next
6f96b30 xfs: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK() 85dd070 xfs: fix off-by-one error in xfs_attr3_rmt_verify
b28bc9b Merge tag 'v3.13-rc6' into for-3.14/core
eef334e xfs: assert that we hold the ilock for extent map access
568d994 xfs: use xfs_ilock_attr_map_shared in xfs_attr_list_int
683cb94 xfs: use xfs_ilock_attr_map_shared in xfs_attr_get
da51d32 xfs: use xfs_ilock_data_map_shared in xfs_qm_dqiterate
f4df8ad xfs: use xfs_ilock_data_map_shared in xfs_qm_dqtobp
4f31736 xfs: take the ilock around xfs_bmapi_read in xfs_zero_remaining_bytes 40194ec xfs: reinstate the ilock in xfs_readdir
efa70be xfs: add xfs_ilock_attr_map_shared
309ecac xfs: rename xfs_ilock_map_shared
01f4f32 xfs: remove xfs_iunlock_map_shared
30ba7ad xfs: no need to lock the inode in xfs_find_handle
324bb26 Merge branch 'xfs-for-linus-v3.13-rc5' into for-next
ac8809f xfs: abort metadata writeback on permanent errors
33177f0 xfs: swalloc doesn't align allocations properly
83a0adc xfs: remove xfsbdstrat error
6e708bc xfs: align initial file allocations correctly
718cc6f xfs: fix infinite loop by detaching the group/project hints from user dquot 5c22727 xfs: fix assertion failure at xfs_setattr_nonsize
30d161c xfs: fix false assertion at xfs_qm_vop_create_dqattach
3a8c920 xfs: fix memory leak in xfs_dir2_node_removename
46f23ad Merge branch 'xfs-factor-icluster-macros' into for-next
f9e5abc xfs: use xfs_icluster_size_fsb in xfs_imap
982e939 xfs: use xfs_icluster_size_fsb in xfs_ifree_cluster
6e0c7b8 xfs: use xfs_icluster_size_fsb in xfs_ialloc_inode_init
a2ba07b xfs: use xfs_icluster_size_fsb in xfs_bulkstat
904957b xfs: introduce a common helper xfs_icluster_size_fsb
126cd10 xfs: get rid of XFS_IALLOC_BLOCKS macros
0f49efd xfs: get rid of XFS_INODE_CLUSTER_SIZE macros
7178343 xfs: get rid of XFS_IALLOC_INODES macros
ffda4e8 xfs: remove the quotaoff log format from the quotaoff log item ce8e962 xfs: remove the dquot log format from the dquot log item
2f25129 xfs: remove the inode log format from the inode log item
da77650 xfs: format logged extents directly into the CIL
bde7cff xfs: format log items write directly into the linear CIL buffer 1234351 xfs: introduce xlog_copy_iovec
3de559fb xfs: refactor xfs_inode_item_format
ce9641d xfs: refactor xfs_inode_item_size
7aeb722 xfs: refactor xfs_buf_item_format_segment
9597df6 xfs: remove duplicate code in xlog_cil_insert_format_items
f94c445 xfs: growfs overruns AGFL buffer on V4 filesystems
2f42d61 xfs: don't perform discard if the given range length is less than block size 31978b5 xfs: underflow bug in xfs_attrlist_by_handle()
4f024f3 block: Abstract out bvec iterator

      from  f9b395a8ef8f34d19cae2cde361e19c96e097fad (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 f568849edac8611d603e00bd6cbbcfea09395ae6
Merge: d9894c2 675675a
Author: Linus Torvalds <[email protected]>
Date: Thu Jan 30 11:19:05 2014 -0800

Merge branch 'for-3.14/core' of git://git.kernel.dk/linux-block

Pull core block IO changes from Jens Axboe:
"The major piece in here is the immutable bio_ve series from Kent, the
rest is fairly minor. It was supposed to go in last round, but various issues pushed it to this release instead. The pull request contains:

- Various smaller blk-mq fixes from different folks. Nothing major here, just minor fixes and cleanups.

- Fix for a memory leak in the error path in the block ioctl code from Christian Engelmayer.

- Header export fix from CaiZhiyong.

- Finally the immutable biovec changes from Kent Overstreet. This enables some nice future work on making arbitrarily sized bios possible, and splitting more efficient. Related fixes to immutable bio_vecs:

- dm-cache immutable fixup from Mike Snitzer.
- btrfs immutable fixup from Muthu Kumar.

- bio-integrity fix from Nic Bellinger, which is also going to stable"

* 'for-3.14/core' of git://git.kernel.dk/linux-block: (44 commits)
xtensa: fixup simdisk driver to work with immutable bio_vecs block/blk-mq-cpu.c: use hotcpu_notifier()
blk-mq: for_each_* macro correctness
block: Fix memory leak in rw_copy_check_uvector() handling
bio-integrity: Fix bio_integrity_verify segment start bug
block: remove unrelated header files and export symbol
blk-mq: uses page->list incorrectly
blk-mq: use __smp_call_function_single directly
btrfs: fix missing increment of bi_remaining
Revert "block: Warn and free bio if bi_end_io is not set"
block: Warn and free bio if bi_end_io is not set
blk-mq: fix initializing request's start time
block: blk-mq: don't export blk_mq_free_queue()
block: blk-mq: make blk_sync_queue support mq
block: blk-mq: support draining mq queue
dm cache: increment bi_remaining when bi_end_io is restored
block: fixup for generic bio chaining
block: Really silence spurious compiler warnings
block: Silence spurious compiler warnings
block: Kill bio_pair_split()
...

commit f1499382f114231cbd1e3dee7e656b50ce9d8236
Merge: 4db658e 7c71ee7
Author: Linus Torvalds <[email protected]>
Date: Tue Jan 28 18:21:22 2014 -0800

Merge tag 'xfs-for-linus-v3.14-rc1-2' of git://oss.sgi.com/xfs/xfs

Pull second xfs update from Ben Myers:
"Allow logical sector sized direct io on 'advanced format' 4k/512 disk"

* tag 'xfs-for-linus-v3.14-rc1-2' of git://oss.sgi.com/xfs/xfs:
xfs: allow logical-sector sized O_DIRECT
xfs: rename xfs_buftarg structure members
xfs: clean up xfs_buftarg

commit bf3d846b783327359ddc4bd4f52627b36abb4d1d
Merge: 54c0a4b f650080
Author: Linus Torvalds <[email protected]>
Date: Tue Jan 28 08:38:04 2014 -0800

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull vfs updates from Al Viro:
"Assorted stuff; the biggest pile here is Christoph's ACL series. Plus
assorted cleanups and fixes all over the place...

There will be another pile later this week"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (43 commits) __dentry_path() fixes
vfs: Remove second variable named error in __dentry_path
vfs: Is mounted should be testing mnt_ns for NULL or error.
Fix race when checking i_size on direct i/o read
hfsplus: remove can_set_xattr
nfsd: use get_acl and ->set_acl
fs: remove generic_acl
nfs: use generic posix ACL infrastructure for v3 Posix ACLs
gfs2: use generic posix ACL infrastructure
jfs: use generic posix ACL infrastructure
xfs: use generic posix ACL infrastructure
reiserfs: use generic posix ACL infrastructure
ocfs2: use generic posix ACL infrastructure
jffs2: use generic posix ACL infrastructure
hfsplus: use generic posix ACL infrastructure
f2fs: use generic posix ACL infrastructure
ext2/3/4: use generic posix ACL infrastructure
btrfs: use generic posix ACL infrastructure
fs: make posix_acl_create more useful
fs: make posix_acl_chmod more useful
...

commit 2401dc2975fc5a33021dc8347ea82984c4707a08

Author: Christoph Hellwig <[email protected]>
Date:   Fri Dec 20 05:16:50 2013 -0800

xfs: use generic posix ACL infrastructure

Also don't bother to set up a .get_acl method for symlinks as we do not support access control (ACLs or even mode bits) for symlinks in Linux, and create inodes with the proper mode instead of fixing it up later.

commit 37bc15392a2363ca822b2c2828e0ccafbea32f75

Author: Christoph Hellwig <[email protected]>
Date:   Fri Dec 20 05:16:42 2013 -0800

fs: make posix_acl_create more useful

Rename the current posix_acl_created to __posix_acl_create and add a fully featured helper to set up the ACLs on file creation that uses get_acl().

commit 5bf3258fd2acd8515450ab8efcd97c9d3b69f7f9

Author: Christoph Hellwig <[email protected]>
Date:   Fri Dec 20 05:16:41 2013 -0800

fs: make posix_acl_chmod more useful

Rename the current posix_acl_chmod to __posix_acl_chmod and add a fully featured ACL chmod helper that uses the ->set_acl inode operation.

commit 96c8c442117859cd95b5b57836ff374ff43f0564

Author: Al Viro <[email protected]>
Date:   Fri Nov 29 22:54:55 2013 -0500

xfs: switch to kfree_put_link()

don't bother open-coding it...

commit 1f4a63bf019524c96e79f088cd717b96ef00a249

Author: Chuansheng Liu <[email protected]>
Date:   Tue Jan 7 16:53:34 2014 +0800

xfs: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK()

In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to call destroy_work_on_stack() which frees the debug object to pair with INIT_WORK_ONSTACK().

(cherry picked from commit 6f96b3063cdd473c68664a190524ed966ac0cd92)

commit bba719b5004234e55737e7074b81b337210c511d

Author: Jie Liu <[email protected]>
Date:   Wed Jan 1 19:28:03 2014 +0800
    xfs: fix off-by-one error in xfs_attr3_rmt_verify
    
    With CRC check is enabled, if trying to set an attributes value just
    equal to the maximum size of XATTR_SIZE_MAX would cause the v3 remote
    attr write verification procedure failure, which would yield the back
    trace like below:
    
    <snip>
    XFS (sda7): Internal error xfs_attr3_rmt_write_verify at line 191 of file fs/xfs/xfs_attr_remote.c
    <snip>
    Call Trace:
    [<ffffffff816f0042>] dump_stack+0x45/0x56
    [<ffffffffa0d99c8b>] xfs_error_report+0x3b/0x40 [xfs]
    [<ffffffffa0d96edd>] ? _xfs_buf_ioapply+0x6d/0x390 [xfs]
    [<ffffffffa0d99ce5>] xfs_corruption_error+0x55/0x80 [xfs]
    [<ffffffffa0dbef6b>] xfs_attr3_rmt_write_verify+0x14b/0x1a0 [xfs]
    [<ffffffffa0d96edd>] ? _xfs_buf_ioapply+0x6d/0x390 [xfs]
    [<ffffffffa0d97315>] ? xfs_bdstrat_cb+0x55/0xb0 [xfs]
    [<ffffffffa0d96edd>] _xfs_buf_ioapply+0x6d/0x390 [xfs]
    [<ffffffff81184cda>] ? vm_map_ram+0x31a/0x460
    [<ffffffff81097230>] ? wake_up_state+0x20/0x20
    [<ffffffffa0d97315>] ? xfs_bdstrat_cb+0x55/0xb0 [xfs]
    [<ffffffffa0d9726b>] xfs_buf_iorequest+0x6b/0xc0 [xfs]
    [<ffffffffa0d97315>] xfs_bdstrat_cb+0x55/0xb0 [xfs]
    [<ffffffffa0d97906>] xfs_bwrite+0x46/0x80 [xfs]
    [<ffffffffa0dbfa94>] xfs_attr_rmtval_set+0x334/0x490 [xfs]
    [<ffffffffa0db84aa>] xfs_attr_leaf_addname+0x24a/0x410 [xfs]
    [<ffffffffa0db8893>] xfs_attr_set_int+0x223/0x470 [xfs]
    [<ffffffffa0db8b76>] xfs_attr_set+0x96/0xb0 [xfs]
    [<ffffffffa0db13b2>] xfs_xattr_set+0x42/0x70 [xfs]
    [<ffffffff811df9b2>] generic_setxattr+0x62/0x80
    [<ffffffff811e0213>] __vfs_setxattr_noperm+0x63/0x1b0
    [<ffffffff81307afe>] ? evm_inode_setxattr+0xe/0x10
    [<ffffffff811e0415>] vfs_setxattr+0xb5/0xc0
    [<ffffffff811e054e>] setxattr+0x12e/0x1c0
    [<ffffffff811c6e82>] ? final_putname+0x22/0x50
    [<ffffffff811c708b>] ? putname+0x2b/0x40
    [<ffffffff811cc4bf>] ? user_path_at_empty+0x5f/0x90
    [<ffffffff811bdfd9>] ? __sb_start_write+0x49/0xe0
    [<ffffffff81168589>] ? vm_mmap_pgoff+0x99/0xc0
    [<ffffffff811e07df>] SyS_setxattr+0x8f/0xe0
    [<ffffffff81700c2d>] system_call_fastpath+0x1a/0x1f
    
    Tests:
        setfattr -n user.longxattr -v `perl -e 'print "A"x65536'` testfile
    
    This patch fix it to check the remote EA size is greater than the
    XATTR_SIZE_MAX rather than more than or equal to it, because it's
    valid if the specified EA value size is equal to the limitation as
    per VFS setxattr interface.
    
    Signed-off-by: Jie Liu <[email protected]>
    Reviewed-by: Mark Tinguely <[email protected]>
    Signed-off-by: Ben Myers <[email protected]>
    
    (cherry picked from commit 85dd0707f0cad26d60f2dc574d17a5ab948d10f7)

commit b28bc9b38c52f63f43e3fd875af982f2240a2859
Merge: 8d30726 802eee9
Author: Jens Axboe <[email protected]>
Date: Tue Dec 31 09:51:02 2013 -0700

Merge tag 'v3.13-rc6' into for-3.14/core

Needed to bring blk-mq uptodate, since changes have been going in since for-3.14/core was established.

Fixup merge issues related to the immutable biovec changes.

Conflicts:
block/blk-flush.c
fs/btrfs/check-integrity.c
fs/btrfs/extent_io.c
fs/btrfs/scrub.c
fs/logfs/dev_bdev.c

commit 4f024f3797c43cb4b73cd2c50cec728842d0e49e

Author: Kent Overstreet <[email protected]>
Date:   Fri Oct 11 15:44:27 2013 -0700

block: Abstract out bvec iterator

Immutable biovecs are going to require an explicit iterator. To implement immutable bvecs, a later patch is going to add a bi_bvec_done member to this struct; for now, this patch effectively just renames things.

Cc Jens Axboe <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc "Ed L. Cashin" <[email protected]>
Cc Nick Piggin <[email protected]>
Cc Lars Ellenberg <[email protected]>
Cc Jiri Kosina <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Geoff Levand <[email protected]>
Cc Yehuda Sadeh <[email protected]>
Cc Sage Weil <[email protected]>
Cc Alex Elder <[email protected]>
Cc Joshua Morris <[email protected]>
Cc Philip Kelleher <[email protected]>
Cc Rusty Russell <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Jeremy Fitzhardinge <[email protected]>
Cc Neil Brown <[email protected]>
Cc Alasdair Kergon <[email protected]>
Cc Mike Snitzer <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Boaz Harrosh <[email protected]>
Cc Benny Halevy <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc "Nicholas A. Bellinger" <[email protected]>
Cc Alexander Viro <[email protected]>
Cc Chris Mason <[email protected]>
Cc "Theodore Ts'o" <[email protected]>
Cc Andreas Dilger <[email protected]>
Cc Jaegeuk Kim <[email protected]>
Cc Steven Whitehouse <[email protected]>
Cc Dave Kleikamp <[email protected]>
Cc Joern Engel <[email protected]>
Cc Prasad Joshi <[email protected]>
Cc Trond Myklebust <[email protected]>
Cc KONISHI Ryusuke <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Ben Myers <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Len Brown <[email protected]>
Cc Pavel Machek <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Herton Ronaldo Krzesinski <[email protected]>
Cc Ben Hutchings <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Guo Chao <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Asai Thambi S P <[email protected]>
Cc Selvan Mani <[email protected]>
Cc Sam Bradshaw <[email protected]>
Cc Wei Yongjun <[email protected]>
Cc "Roger Pau Monné" <[email protected]>
Cc Jan Beulich <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Sebastian Ott <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc Minchan Kim <[email protected]>
Cc Jiang Liu <[email protected]>
Cc Nitin Gupta <[email protected]>
Cc Jerome Marchand <[email protected]>
Cc Joe Perches <[email protected]>
Cc Peng Tao <[email protected]>
Cc Andy Adamson <[email protected]>
Cc fanchaoting <[email protected]>
Cc Jie Liu <[email protected]>
Cc Sunil Mushran <[email protected]>
Cc "Martin K. Petersen" <[email protected]>
Cc Namjae Jeon <[email protected]>
Cc Pankaj Kumar <[email protected]>
Cc Dan Magenheimer <[email protected]>
Cc Mel Gorman <[email protected]>6

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

Summary of changes:

 fs/xfs/xfs_acl.c          | 151 +----------------
 fs/xfs/xfs_acl.h          |   9 +-
 fs/xfs/xfs_aops.c         |   4 +-
 fs/xfs/xfs_attr.c         |   5 +-
 fs/xfs/xfs_attr_list.c    |   8 +-
 fs/xfs/xfs_attr_remote.c  |   2 +-
 fs/xfs/xfs_bmap.c         |  27 +++-
 fs/xfs/xfs_bmap_util.c    |  50 ++++--
 fs/xfs/xfs_buf.c          |  55 +++----
 fs/xfs/xfs_buf.h          |  31 +++-
 fs/xfs/xfs_buf_item.c     | 124 +++++++-------
 fs/xfs/xfs_dir2_readdir.c |   4 +
 fs/xfs/xfs_dquot.c        |   7 +-
 fs/xfs/xfs_dquot_item.c   |  67 +++-----
 fs/xfs/xfs_dquot_item.h   |   3 +-
 fs/xfs/xfs_extfree_item.c |  21 +--
 fs/xfs/xfs_file.c         |  17 +-
 fs/xfs/xfs_ialloc.c       |  53 +++---
 fs/xfs/xfs_ialloc.h       |  21 +--
 fs/xfs/xfs_icreate_item.c |  10 +-
 fs/xfs/xfs_inode.c        |  85 +++++-----
 fs/xfs/xfs_inode.h        |   4 +-
 fs/xfs/xfs_inode_fork.c   |  17 +-
 fs/xfs/xfs_inode_item.c   | 400 +++++++++++++++++++---------------------------
 fs/xfs/xfs_inode_item.h   |   5 -
 fs/xfs/xfs_ioctl.c        |   6 +-
 fs/xfs/xfs_iops.c         |  55 +++----
 fs/xfs/xfs_iops.h         |   2 +-
 fs/xfs/xfs_itable.c       |  22 ++-
 fs/xfs/xfs_log.h          |  46 ++++++
 fs/xfs/xfs_log_cil.c      |  74 +++------
 fs/xfs/xfs_log_recover.c  |  29 ++--
 fs/xfs/xfs_qm.c           |   6 +-
 fs/xfs/xfs_trans.h        |   2 +-
 fs/xfs/xfs_trans_buf.c    |  13 +-
 fs/xfs/xfs_trans_resv.c   |  10 +-
 fs/xfs/xfs_trans_space.h  |   2 +-
 fs/xfs/xfs_xattr.c        |   4 +-
 38 files changed, 649 insertions(+), 802 deletions(-)

hooks/post-receive

Signature · 1 line
XFS development tree

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs