[XFS updates] XFS development tree branch, for-linus, updated. v2.6.30-rc4-34424-g74d2e4f
xfs at oss.sgi.com
xfs at oss.sgi.com
Fri Jan 8 10:24:26 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
eaff807 kill I_LOCK
bea4c89 Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
1e431f5 cleanup blockdev_direct_IO locking
431547b sanitize xattr handler prototypes
from 3fc98b1ac036675b95f6e3fafd5ef147b97d4d30 (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 eaff8079d4f1016a12e34ab323737314f24127dd
Author: Christoph Hellwig <hch at lst.de>
Date: Thu Dec 17 14:25:01 2009 +0100
kill I_LOCK
After I_SYNC was split from I_LOCK the leftover is always used together with
I_NEW and thus superflous.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit bea4c899f2b5fad80099aea979780ef19f9b1987
Merge: 73efc4681cb5e3c8807daf106f001e7f0798d8a0 3fc98b1ac036675b95f6e3fafd5ef147b97d4d30
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date: Wed Dec 16 13:29:39 2009 -0800
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
* 'for-linus' of git://oss.sgi.com/xfs/xfs:
XFS: Free buffer pages array unconditionally
xfs: kill xfs_bmbt_rec_32/64 types
xfs: improve metadata I/O merging in the elevator
xfs: check for not fully initialized inodes in xfs_ireclaim
commit 1e431f5ce78f3ae8254d725060288b78ff74f086
Author: Christoph Hellwig <hch at lst.de>
Date: Tue Nov 3 16:44:53 2009 +0100
cleanup blockdev_direct_IO locking
Currently the locking in blockdev_direct_IO is a mess, we have three different
locking types and very confusing checks for some of them. The most
complicated one is DIO_OWN_LOCKING for reads, which happens to not actually be
used.
This patch gets rid of the DIO_OWN_LOCKING - as mentioned above the read case
is unused anyway, and the write side is almost identical to DIO_NO_LOCKING.
The difference is that DIO_NO_LOCKING always sets the create argument for
the get_blocks callback to zero, but we can easily move that to the actual
get_blocks callbacks. There are four users of the DIO_NO_LOCKING mode:
gfs already ignores the create argument and thus is fine with the new
version, ocfs2 only errors out if create were ever set, and we can remove
this dead code now, the block device code only ever uses create for an
error message if we are fully beyond the device which can never happen,
and last but not least XFS will need the new behavour for writes.
Now we can replace the lock_type variable with a flags one, where no flag
means the DIO_NO_LOCKING behaviour and DIO_LOCKING is kept as the first
flag. Separate out the check for not allowing to fill holes into a separate
flag, although for now both flags always get set at the same time.
Also revamp the documentation of the locking scheme to actually make sense.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
commit 431547b3c4533b8c7fd150ab36980b9a3147797b
Author: Christoph Hellwig <hch at lst.de>
Date: Fri Nov 13 09:52:56 2009 +0000
sanitize xattr handler prototypes
Add a flags argument to struct xattr_handler and pass it to all xattr
handler methods. This allows using the same methods for multiple
handlers, e.g. for the ACL methods which perform exactly the same action
for the access and default ACLs, just using a different underlying
attribute. With a little more groundwork it'll also allow sharing the
methods for the regular user/trusted/secure handlers in extN, ocfs2 and
jffs2 like it's already done for xfs in this patch.
Also change the inode argument to the handlers to a dentry to allow
using the handlers mechnism for filesystems that require it later,
e.g. cifs.
[with GFS2 bits updated by Steven Whitehouse <swhiteho at redhat.com>]
Signed-off-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: James Morris <jmorris at namei.org>
Acked-by: Joel Becker <joel.becker at oracle.com>
Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/linux-2.6/xfs_acl.c | 57 ++++++++++++----------------------
fs/xfs/linux-2.6/xfs_iops.c | 2 +-
fs/xfs/linux-2.6/xfs_xattr.c | 71 +++++++++---------------------------------
fs/xfs/xfs_acl.h | 3 +-
fs/xfs/xfs_iget.c | 4 +-
5 files changed, 40 insertions(+), 97 deletions(-)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list