Up to [Development] / xfs-linux
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 28 05:39:09 2008 UTC (8 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +2 -4
lines
Diff to previous 1.19 (unified)
kill sys_cred capable_cred has been unused for a while so we can kill it and sys_cred. That also means the cred argument to xfs_setattr and xfs_change_file_space can be removed now. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32412a by kenmcd. kill sys_cred
Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 18 16:34:26 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.18: +6 -2
lines
Diff to previous 1.18 (unified)
Now that xfs_setattr is only used for attributes set from ->setattr it can be switched to take struct iattr directly and thus simplify the implementation greatly. Also rename the ATTR_ flags to XFS_ATTR_ to not conflict with the ATTR_ flags used by the VFS. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31678a by kenmcd. Now that xfs_setattr is only used for attributes set from ->setattr it can be switched to take struct iattr directly and thus simplify the implementation greatly. Also rename the ATTR_ flags to XFS_ATTR_ to not conflict with the ATTR_ flags used by the VFS. Signed-off-by: Christoph Hellwig <hch@lst.de>
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 20 04:02:48 2008 UTC (9 years, 3 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.17: +0 -2
lines
Diff to previous 1.17 (unified)
Merge xfs_rmdir into xfs_remove xfs_remove and xfs_rmdir are almost the same with a little more work performed in xfs_rmdir due to the . and .. entries. This patch merges xfs_rmdir into xfs_remove and performs these actions conditionally. Also clean up the error handling which was a nightmare in both versions before. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31335a by kenmcd. Merge xfs_remove and xfs_rmdir
Revision 1.17 / (download) - annotate - [select for diffs], Wed May 21 06:13:08 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.16: +1 -1
lines
Diff to previous 1.16 (unified)
Return case-insensitive match for dentry cache This implements the code to store the actual filename found during a lookup in the dentry cache and to avoid multiple entries in the dcache pointing to the same inode. To avoid polluting the dcache, we implement a new directory inode operations for lookup. xfs_vn_ci_lookup() stores the correct case name in the dcache. The "actual name" is only allocated and returned for a case- insensitive match and not an actual match. Another unusual interaction with the dcache is not storing negative dentries like other filesystems doing a d_add(dentry, NULL) when an ENOENT is returned. During the VFS lookup, if a dentry returned has no inode, dput is called and ENOENT is returned. By not doing a d_add, this actually removes it completely from the dcache to be reused. create/rename have to be modified to support unhashed dentries being passed in. Signed-off-by: Barry Naujok <bnaujok@sgi.com> Merge of xfs-linux-melb:xfs-kern:31208a by kenmcd. Add lookup support for returning actual case-preserved name
Revision 1.16 / (download) - annotate - [select for diffs], Thu May 8 04:06:54 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.15: +1 -2
lines
Diff to previous 1.15 (unified)
Fix fsync() b0rkage. xfs_fsync() fails to wait for data I/O completion before checking if the inode is dirty or clean to decide whether to log the inode or not. This misses inode size updates when the data flushed by the fsync() is extending the file. Hence, like fdatasync(), we need to wait for I/o completion first, then check the inode for cleanliness. Doing so makes the behaviour of xfs_fsync() identical for fsync and fdatasync and we *always* use synchronous semantics if the inode is dirty. Therefore also kill the differences and remove the unused flags from the xfs_fsync function and callers. Merge of xfs-linux-melb:xfs-kern:31033a by kenmcd. remove unused flags from xfs_fsync().
Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 21 16:00:46 2008 UTC (9 years, 5 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.14: +1 -1
lines
Diff to previous 1.14 (unified)
Cleanup xfs_attr a bit with xfs_name and remove cred Merge of xfs-linux-melb:xfs-kern:30913a by kenmcd. Remove cred parameter from xfs_attr_get
Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 21 06:18:18 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.13: +1 -1
lines
Diff to previous 1.13 (unified)
remove manual lookup from xfs_rename and simplify locking ->rename already gets the target inode passed if it exits. Pass it down to xfs_rename so that we can avoid looking it up again. Also simplify locking as the first lock section in xfs_rename can go away now: the isdir is an invariant over the lifetime of the inode, and new_parent and the nlink check are namespace topology protected by i_mutex in the VFS. The projid check needs to move into the second lock section anyway to not be racy. Also kill the now unused xfs_dir_lookup_int and remove the now-unused first_locked argumet to xfs_lock_inodes. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30903a by kenmcd. remove manual lookup from xfs_rename and simplify locking
Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 21 06:13:52 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.12: +0 -1
lines
Diff to previous 1.12 (unified)
kill xfs_getattr It's currently used by the ACL code to read di_mode/di_uid, but these are simple 32bit scalar values we can just read directly without locking. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30897a by kenmcd. kill xfs_getattr
Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 9 16:35:28 2008 UTC (9 years, 6 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.11: +13 -10
lines
Diff to previous 1.11 (unified)
remove bhv_vname_t and xfs_rename code Merge of xfs-linux-melb:xfs-kern:30804a by kenmcd. remove bhv_vname_t and xfs_rename code
Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 26 03:22:59 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.10: +1 -1
lines
Diff to previous 1.10 (unified)
cleanup vnode use in xfs_lookup Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30550a by kenmcd. cleanup vnode use in xfs_lookup
Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 26 03:22:04 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (unified)
cleanup vnode use in xfs_symlink and xfs_rename Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30548a by kenmcd. cleanup vnode use in xfs_symlink and xfs_rename
Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 26 03:21:12 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.8: +1 -1
lines
Diff to previous 1.8 (unified)
cleanup vnode use in xfs_link Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30547a by kenmcd. cleanup vnode use in xfs_link
Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 26 03:20:19 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.7: +2 -2
lines
Diff to previous 1.7 (unified)
cleanup vnode use in xfs_create/mknod/mkdir Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30546a by kenmcd. cleanup vnode use in xfs_create/mknod/mkdir
Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 22 03:09:12 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.6: +0 -2
lines
Diff to previous 1.6 (unified)
kill xfs_rwlock/xfs_rwunlock We can just use xfs_ilock/xfs_iunlock instead and get rid of the ugly bhv_vrwlock_t. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30533a by kenmcd. kill xfs_rwlock/xfs_rwunlock
Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 18 15:05:14 2008 UTC (9 years, 9 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.5: +0 -1
lines
Diff to previous 1.5 (unified)
[PATCH 4/4] use generic_permission Now that all direct caller of xfs_iaccess are gone we can kill xfs_iaccess and xfs_access and just use generic_permission with a check_acl callback. This is required for the per-mount read-only patchset in -mm to work properly with XFS. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30370a by kenmcd. use generic_permission
Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 17 02:54:44 2007 UTC (9 years, 10 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.4: +0 -1
lines
Diff to previous 1.4 (unified)
Cleanup various fid related bits: - merge xfs_fid2 into it's only caller xfs_dm_inode_to_fh. - remove xfs_vget and opencode it in the two callers, simplifying both of them by avoiding the awkward calling convetion. - assign directly to the dm_fid_t members in various places in the dmapi code instead of casting them to xfs_fid_t first (which is identical to dm_fid_t) Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30258a by kenmcd. pv 974747, author Christoph Hellwig <hch@lst.de>, rv vapo - Cleanup various fid related bits
Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 27 06:15:00 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.3: +5 -5
lines
Diff to previous 1.3 (unified)
simplify xfs_create/mknod/symlink prototype Simplify the prototype for xfs_create/xfs_mkdir/xfs_symlink by not passing down a bhv_vattr_t that just hogs stack space. Instead pass down the mode in a mode_t and in case of xfs_crate the rdev as a scalar type aswell. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29794a by kenmcd. simplify xfs_create/mknod/symlink prototype
Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 12 04:04:58 2007 UTC (10 years, 1 month ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.2: +0 -3
lines
Diff to previous 1.2 (unified)
Update 2.6.x-xfs to 2.6.23-rc4.
Also update fs/xfs with external mainline changes.
There were 12 such missing commits that I detected:
--------
commit ad690ef9e690f6c31f7d310b09ef1314bcec9033
Author: Al Viro <viro@ftp.linux.org.uk>
xfs ioctl __user annotations
commit 20c2df83d25c6a95affe6157a4c9cac4cf5ffaac
Author: Paul Mundt <lethal@linux-sh.org>
mm: Remove slab destructors from kmem_cache_create().
commit d0217ac04ca6591841e5665f518e38064f4e65bd
Author: Nick Piggin <npiggin@suse.de>
mm: fault feedback #1
commit 54cb8821de07f2ffcd28c380ce9b93d5784b40d7
Author: Nick Piggin <npiggin@suse.de>
mm: merge populate and nopage into fault (fixes nonlinear)
commit d00806b183152af6d24f46f0c33f14162ca1262a
Author: Nick Piggin <npiggin@suse.de>
mm: fix fault vs invalidate race for linear mappings
commit a569425512253992cc64ebf8b6d00a62f986db3e
Author: Christoph Hellwig <hch@infradead.org>
knfsd: exportfs: add exportfs.h header
commit 831441862956fffa17b9801db37e6ea1650b0f69
Author: Rafael J. Wysocki <rjw@sisk.pl>
Freezer: make kernel threads nonfreezable by default
commit 8e1f936b73150f5095448a0fee6d4f30a1f9001d
Author: Rusty Russell <rusty@rustcorp.com.au>
mm: clean up and kernelify shrinker registration
commit 5ffc4ef45b3b0a57872f631b4e4ceb8ace0d7496
Author: Jens Axboe <jens.axboe@oracle.com>
sendfile: remove .sendfile from filesystems that use generic_file_sendfile()
commit 8bb7844286fb8c9fce6f65d8288aeb09d03a5e0d
Author: Rafael J. Wysocki <rjw@sisk.pl>
Add suspend-related notifications for CPU hotplug
commit 59c51591a0ac7568824f541f57de967e88adaa07
Author: Michael Opdenacker <michael@free-electrons.com>
Fix occurrences of "the the "
commit 0ceb331433e8aad9c5f441a965d7c681f8b9046f
Author: Dmitriy Monakhov <dmonakhov@openvz.org>
mm: move common segment checks to separate helper function
--------
Merge of xfs-linux-melb:xfs-kern:29656a by kenmcd.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 11 06:12:43 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (unified)
cleanup fid types mess Currently XFs has three different fid types: struct fid, struct xfs_fid and struct xfs_fid2 with hte latter two beeing identicaly and the first one beeing the same size but an unstructured array with the same size. This patch consolidates all this to alway uuse struct xfs_fid. This patch is required for an upcoming patch series from me that revamps the nfs exporting code and introduces a Linux-wide struct fid. Note: the patch is ontop of Eric's inode/vnode tracing cleanup. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29651a by kenmcd. cleanup fid types mess
Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 24 16:03:11 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
decontaminate vnode operations from behavior details All vnode ops now take struct xfs_inode pointers and the behaviour related glue is split out into methods of it's own. This required fixing xfs_create/mkdir/symlink to not mess with the inode pointer but rather use a separate boolean for error handling. Thanks to Dave Chinner for that fix. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29492a by kenmcd. convert vnode ops to take xfs_inode pointers and separate out behaviour related glue.