[XFS updates] XFS development tree branch, mainline, updated. v2.6.30-rc4-12441-g04c1b29
xfs at oss.sgi.com
xfs at oss.sgi.com
Mon Aug 17 01:28:28 CDT 2009
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, mainline has been updated
04c1b29 xfs: fix locking in xfs_iget_cache_hit
78efd1d Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
a8914f3 xfs: fix spin_is_locked assert on uni-processor builds
b89d420 xfs: check for dinode realtime flag corruption
e0c222c use XFS_CORRUPTION_ERROR in xfs_btree_check_sblock
ddd3a14 xfs: switch to NOFS allocation under i_lock in xfs_attr_rmtval_get
7b02ecb xfs: switch to NOFS allocation under i_lock in xfs_readlink_bmap
10746e4 xfs: switch to NOFS allocation under i_lock in xfs_attr_rmtval_set
36fae17 xfs: switch to NOFS allocation under i_lock in xfs_buf_associate_memory
3f52c2f xfs: switch to NOFS allocation under i_lock in xfs_dir_cilookup_result
73195ed xfs: switch to NOFS allocation under i_lock in xfs_da_buf_make
f41d7fb xfs: switch to NOFS allocation under i_lock in xfs_da_state_alloc
ca35dcd xfs: switch to NOFS allocation under i_lock in xfs_getbmap
0cc6eee xfs: avoid memory allocation under m_peraglock in growfs code
b36ec04 xfs: fix freeing of inodes not yet added to the inode cache
54e3462 vfs: fix inode_init_always calling convention
f5266cb Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
c8a4051 xfs: bump up nr_to_write in xfs_vm_writepage
97db39a xfs: reduce bmv_count in xfs_vn_fiemap
405f557 headers: smp_lock.h redux
8aa7e84 Fix congestion_wait() sync/async vs read/write confusion
1cbd20d switch xfs to generic acl caching helpers
90c699a block: rename CONFIG_LBD to CONFIG_LBDAF
from 1d89b30cc9be41af87881682ec82e2c107849dbe (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 04c1b29578233ab87dfce8db5d379eab327e60c6
Author: Christoph Hellwig <hch at infradead.org>
Date: Sun Aug 16 20:36:34 2009 -0400
xfs: fix locking in xfs_iget_cache_hit
The locking in xfs_iget_cache_hit currently has numerous problems:
- we clear the reclaim tag without i_flags_lock which protects modifications
to it
- we call inode_init_always which can sleep with pag_ici_lock held
(this is oss.sgi.com BZ #819)
- we acquire and drop i_flags_lock a lot and thus provide no consistency
between the various flags we set/clear under it
This patch fixes all that with a major revamp of the locking in the function.
The new version acquires i_flags_lock early and only drops it once we need to
call into inode_init_always or before calling xfs_ilock.
This patch fixes a bug seen in the wild where we race modifying the reclaim tag.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Felix Blyakher <felixb at sgi.com>
Reviewed-by: Eric Sandeen <sandeen at sandeen.net>
Signed-off-by: Felix Blyakher <felixb at sgi.com>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/linux-2.6/kmem.c | 4 +-
fs/xfs/linux-2.6/xfs_acl.c | 73 ++-----------
fs/xfs/linux-2.6/xfs_aops.c | 8 ++
fs/xfs/linux-2.6/xfs_buf.c | 4 +-
fs/xfs/linux-2.6/xfs_file.c | 1 -
fs/xfs/linux-2.6/xfs_iops.c | 4 +-
fs/xfs/linux-2.6/xfs_linux.h | 2 +-
fs/xfs/linux-2.6/xfs_super.c | 2 +-
fs/xfs/linux-2.6/xfs_sync.c | 13 ++-
fs/xfs/linux-2.6/xfs_sync.h | 1 +
fs/xfs/xfs_acl.h | 4 -
fs/xfs/xfs_attr.c | 8 +-
fs/xfs/xfs_bmap.c | 2 +-
fs/xfs/xfs_btree.c | 4 +-
fs/xfs/xfs_da_btree.c | 6 +-
fs/xfs/xfs_dir2.c | 2 +-
fs/xfs/xfs_fsops.c | 20 +++-
fs/xfs/xfs_iget.c | 255 +++++++++++++++++++++---------------------
fs/xfs/xfs_inode.c | 10 ++
fs/xfs/xfs_inode.h | 22 ----
fs/xfs/xfs_log.c | 2 +-
fs/xfs/xfs_vnodeops.c | 4 +-
22 files changed, 207 insertions(+), 244 deletions(-)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list