Up to [Development] / linux-2.6-xfs / fs / xfs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.784 / (download) - annotate - [select for diffs], Tue Oct 28 16:24:36 2008 UTC (8 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.783: +2 -11
lines
Diff to previous 1.783 (colored)
remove restricted chown parameter from xfs linux On Linux all filesystems are supposed to be operating under Posix' restricted chown. Restricted chown means it restricts chown to the owner unless you have CAP_FOWNER. NOTE: that 2 files outside of fs/xfs have been modified too for this change. Signed-off-by: Tim Shimmin <tes@sgi.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32413a by kenmcd. remove restricted chown parameter from xfs linux
Revision 1.783 / (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
Changes since 1.782: +2 -4
lines
Diff to previous 1.782 (colored)
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.782 / (download) - annotate - [select for diffs], Wed Oct 22 03:14:15 2008 UTC (8 years, 11 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.781: +2 -2
lines
Diff to previous 1.781 (colored)
Trivial xfs_remove comment fixup The dp to ip comment should be for the unconditional xfs_droplink call, and the "." link obviously only exists for directories, so it should be in the is_dir conditional. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32374a by kenmcd. Trivial xfs_remove comment fixup
Revision 1.781 / (download) - annotate - [select for diffs], Wed Oct 15 15:35:50 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.780: +1 -11
lines
Diff to previous 1.780 (colored)
kill deleted inodes list Now that the deleted inodes list is unused, kill it. This also removes the i_reclaim list head from the xfs_inode, shrinking it by two pointers. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32334a by kenmcd. kill deleted inodes list
Revision 1.780 / (download) - annotate - [select for diffs], Wed Oct 15 15:34:05 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.779: +1 -0
lines
Diff to previous 1.779 (colored)
mark inodes for reclaim via a tag in the inode radix tree Prepare for removing the deleted inode list by marking inodes for reclaim in the inode radix trees so that we can use the radix trees to find reclaimable inodes. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32331a by kenmcd. mark inodes for reclaim via a tag in the inode radix tree
Revision 1.779 / (download) - annotate - [select for diffs], Wed Oct 15 15:33:13 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.778: +1 -1
lines
Diff to previous 1.778 (colored)
rename inode reclaim functions The function names xfs_finish_reclaim and xfs_finish_reclaim_all are not very descriptive of what they are reclaiming. Rename to xfs_reclaim_inode[s] to match the xfs_sync_inodes() function. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32330a by kenmcd. rename inode reclaim functions
Revision 1.778 / (download) - annotate - [select for diffs], Wed Oct 15 15:32:20 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.777: +0 -90
lines
Diff to previous 1.777 (colored)
move inode reclaim functions to xfs_sync.c Background inode reclaim is run by the xfssyncd. Move the reclaim worker functions to be close to the sync code as the are very similar in structure and are both run from the same background thread. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32329a by kenmcd. move inode reclaim functions to xfs_sync.c
Revision 1.777 / (download) - annotate - [select for diffs], Wed Oct 15 03:25:46 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.776: +3 -10
lines
Diff to previous 1.776 (colored)
Combine the XFS and Linux inodes To avoid issues with different lifecycles of XFS and Linux inodes, embedd the linux inode inside the XFS inode. This means that the linux inode has the same lifecycle as the XFS inode, even when it has been released by the OS. XFS inodes don't live much longer than this (a short stint in reclaim at most), so there isn't significant memory usage penalties here. Version 3 o kill xfs_icount() Version 2 o remove unused commented out code from xfs_iget(). o kill useless cast in VFS_I() Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32323a by kenmcd. Combine the XFS and Linux inodes
Revision 1.776 / (download) - annotate - [select for diffs], Fri Oct 10 05:32:41 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.775: +18 -24
lines
Diff to previous 1.775 (colored)
Remove xfs_iflush_all and clean up xfs_finish_reclaim_all() xfs_iflush_all() walks the m_inodes list to find inodes that need reclaiming. We already have such a list - the m_del_inodes list. Replace xfs_iflush_all() with a call to xfs_finish_reclaim_all() and clean up xfs_finish_reclaim_all() to handle the different flush modes now needed. Originally based on a patch from Christoph Hellwig. Version 3 o rediff against new linux-2.6/xfs_sync.c code Version 2 o revert xfs_syncsub() inode reclaim behaviour back to original code o xfs_quiesce_fs() should use XFS_IFLUSH_DELWRI_ELSE_ASYNC, not XFS_IFLUSH_ASYNC, to prevent change of behaviour. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32284a by kenmcd. Remove xfs_iflush_all and clean up xfs_finish_reclaim_all()
Revision 1.775 / (download) - annotate - [select for diffs], Fri Oct 3 04:30:43 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.774: +4 -4
lines
Diff to previous 1.774 (colored)
Merge up to 2.6.27-rc8 Merge of xfs-linux-melb:xfs-kern:32254a by kenmcd.
Revision 1.774 / (download) - annotate - [select for diffs], Fri Sep 5 06:13:54 2008 UTC (9 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.773: +18 -0
lines
Diff to previous 1.773 (colored)
Don't do I/O beyond eof when unreserving space When unreserving space with boundaries that are not block aligned we round up the start and round down the end boundaries and then use this function, xfs_zero_remaining_bytes(), to zero the parts of the blocks that got dropped during the rounding. The problem is we don't consider if these blocks are beyond eof. Worse still is if we encounter delayed allocations beyond eof we will try to use the magic delayed allocation block number as a real block number. If the file size is ever extended to expose these blocks then we'll go through xfs_zero_eof() to zero them anyway. Merge of xfs-linux-melb:xfs-kern:32055a by kenmcd. Don't do I/O beyond eof when unreserving space
Revision 1.773 / (download) - annotate - [select for diffs], Fri Aug 29 04:08:54 2008 UTC (9 years, 1 month ago) by pleckie.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.772: +8 -0
lines
Diff to previous 1.772 (colored)
Prevent lockdep false positives when locking two inodes. If we call xfs_lock_two_inodes() to grab both the iolock and the ilock, then drop the ilocks on both inodes, then grab them again (as xfs_swap_extents() does) then lockdep will report a locking order problem. This is a false positive. To avoid this, disallow xfs_lock_two_inodes() fom locking both inode locks at once - force calers to make two separate calls. This means that nested dropping and regaining of the ilocks will retain the same lockdep subclass and so lockdep will not see anything wrong with this code. Signed-off-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31999a by kenmcd. Prevent lockdep false positives when locking two inodes.
Revision 1.772 / (download) - annotate - [select for diffs], Wed Aug 6 06:11:48 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.771: +0 -1
lines
Diff to previous 1.771 (colored)
update timestamp in xfs_ialloc manually In xfs_ialloc we just want to set all timestamps to the current time. We don't need to mark the inode dirty like xfs_ichgtime does, and we don't need nor want the opimizations in xfs_ichgtime that I will introduce in the next patch. So just opencode the timestamp update in xfs_ialloc, and remove the new unused XFS_ICHGTIME_ACC case in xfs_ichgtime. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31825a by kenmcd. update timestamp in xfs_ialloc manually
Revision 1.771 / (download) - annotate - [select for diffs], Mon Jul 28 15:43:25 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.770: +1 -1
lines
Diff to previous 1.770 (colored)
kill bhv_vnode_t All remaining bhv_vnode_t instance are in code that's more or less Linux specific. (Well, for xfs_acl.c that could be argued, but that code is on the removal list, too). So just do an s/bhv_vnode_t/struct inode/ over the whole tree. We can clean up variable naming and some useless helpers later. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31781a by kenmcd. kill bhv_vnode_t
Revision 1.770 / (download) - annotate - [select for diffs], Mon Jul 28 03:53:33 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.769: +8 -13
lines
Diff to previous 1.769 (colored)
remove some easy bhv_vnode_t instances In various places we can just move a VFS_I call into the argument list of called functions/macros instead of having a local bhv_vnode_t. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31776a by kenmcd. remove some easy bhv_vnode_t instances
Revision 1.769 / (download) - annotate - [select for diffs], Fri Jul 25 06:12:15 2008 UTC (9 years, 2 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.768: +41 -121
lines
Diff to previous 1.768 (colored)
kill xfs_lock_dir_and_entry When multiple inodes are locked in XFS it happens in order of the inode number, with the everything but the first inode trylocked if any of the previous inodes is in the AIL. Except for the sorting of the inodes this logic is implemented in xfs_lock_inodes, but also partially duplicated in xfs_lock_dir_and_entry in a particularly stupid way adds a lock roundtrip if the inode ordering is not optimal. This patch adds a new helper xfs_lock_two_inodes that takes two inodes and locks them in the most optimal way according to the above locking protocol and uses it for all places that want to lock two inodes. The only caller of xfs_lock_inodes is xfs_rename which might lock up to four inodes. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31772a by kenmcd. kill xfs_lock_dir_and_entry
Revision 1.768 / (download) - annotate - [select for diffs], Fri Jul 25 04:17:07 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.767: +2 -2
lines
Diff to previous 1.767 (colored)
kill vn_to_inode bhv_vnode_t is just a typedef for struct inode, so there's no need for a helper to convert between the two. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31761a by kenmcd. kill vn_to_inode
Revision 1.767 / (download) - annotate - [select for diffs], Wed Jul 23 16:34:13 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.766: +6 -6
lines
Diff to previous 1.766 (colored)
Kill shouty XFS_ITOV() macro Replace XFS_ITOV() with the new VFS_I() inline. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:31724a by kenmcd.
Revision 1.766 / (download) - annotate - [select for diffs], Wed Jul 23 16:33:15 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.765: +1 -1
lines
Diff to previous 1.765 (colored)
Avoid directly referencing the VFS inode V2 In several places we directly convert from the XFS inode to the linux (VFS) inode by a simple deference of ip->i_vnode. We should not do this - a helper function should be used to extract the VFS inode from the XFS inode. Introduce the function VFS_I() to extract the VFS inode from the XFS inode. The name was chosen to match XFS_I() which is used to extract the XFS inode from the VFS inode. Version 2: o don't use vn_to_inode() and inode_to_vn() functions as they are not needed Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:31722a by kenmcd.
Revision 1.765 / (download) - annotate - [select for diffs], Fri Jul 18 16:35:20 2008 UTC (9 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.764: +9 -0
lines
Diff to previous 1.764 (colored)
Remove vn_revalidate calls in xfs. These days most of the attributes in struct inode are properly kept in sync by XFS. This patch removes the need for vn_revalidate completely by: - keeping inode.i_flags uptodate after any flags are updated in xfs_ioctl_setattr - keeping i_mode, i_uid and i_gid uptodate in xfs_setattr Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31679a by kenmcd. remove vn_revalidate calls in xfs.
Revision 1.764 / (download) - annotate - [select for diffs], Fri Jul 18 16:34:26 2008 UTC (9 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.763: +73 -99
lines
Diff to previous 1.763 (colored)
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.763 / (download) - annotate - [select for diffs], Fri Jul 18 16:33:33 2008 UTC (9 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.762: +8 -161
lines
Diff to previous 1.762 (colored)
xfs_setattr currently doesn't just handle the attributes set through ->setattr but also addition XFS-specific attributes: project id, inode flags and extent size hint. Having these in a single function makes it more complicated and forces to have us a bhv_vattr intermediate structure eating up stackspace. This patch adds a new xfs_ioctl_setattr helper for the XFS ioctls that set these attributes and remove the code to set them through xfs_setattr. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31677a by kenmcd. xfs_setattr currently doesn't just handle the attributes set through ->setattr but also addition XFS-specific attributes: project id, inode flags and extent size hint. Having these in a single function makes it more complicated and forces to have us a bhv_vattr intermediate structure eating up stackspace. This patch adds a new xfs_ioctl_setattr helper for the XFS ioctls that set these attributes and remove the code to set them through xfs_setattr. Signed-off-by: Christoph Hellwig <hch@lst.de>
Revision 1.762 / (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.761: +84 -240
lines
Diff to previous 1.761 (colored)
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.761 / (download) - annotate - [select for diffs], Wed Jun 18 16:01:16 2008 UTC (9 years, 3 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.760: +8 -22
lines
Diff to previous 1.760 (colored)
make inode reclaim wait for log I/O to complete During a forced shutdown a xfs inode can be destroyed before log I/O involving that inode is complete. We need to wait for the inode to be unpinned before tearing it down. Version 2 cleans up the code a bit by relying on xfs_iflush() to do the unpinning and forced shutdown check. Merge of xfs-linux-melb:xfs-kern:31326a by kenmcd. make inode reclaim wait for log I/O to complete
Revision 1.760 / (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.759: +14 -5
lines
Diff to previous 1.759 (colored)
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.759 / (download) - annotate - [select for diffs], Mon May 19 16:13:27 2008 UTC (9 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.758: +12 -3
lines
Diff to previous 1.758 (colored)
kill xfs_igrow_start and xfs_igrow_finish xfs_igrow_start just expands to xfs_zero_eof with two asserts that are useless in the context of the only caller and some rather confusing comments. xfs_igrow_finish is just a few lines of code decorated again with useless asserts and confusing comments. Just kill those two and merge them into xfs_setattr. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31186a by kenmcd. kill xfs_igrow_start and xfs_igrow_finish.
Revision 1.758 / (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.757: +42 -70
lines
Diff to previous 1.757 (colored)
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. fix xfs_fsync() to make fsync wait for data I/O completion and inode size updates correctly.
Revision 1.757 / (download) - annotate - [select for diffs], Mon Apr 21 15:59:55 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.756: +4 -59
lines
Diff to previous 1.756 (colored)
kill usesless IHOLD calls in xfs_remove and xfs_rmdir The VFS always has an inode reference when we call these functions. So we only need to grab a signle reference to each inode that's joined to a transaction - all the other bumping and dropping is as useless as the comments describing the IRIX semantics. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30912a by kenmcd. kill usesless IHOLD calls in xfs_remove and xfs_rmdir
Revision 1.756 / (download) - annotate - [select for diffs], Mon Apr 21 15:59:05 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.755: +6 -19
lines
Diff to previous 1.755 (colored)
kill parent == child checks in xfs_remove and xfs_rmdir VFS guaranteed these can't happen. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30911a by kenmcd. kill parent == child checks in xfs_remove and xfs_rmdir
Revision 1.755 / (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.754: +4 -10
lines
Diff to previous 1.754 (colored)
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.754 / (download) - annotate - [select for diffs], Mon Apr 21 06:17:24 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.753: +2 -2
lines
Diff to previous 1.753 (colored)
shrink mrlock_t The writer field is not needed for non_DEBU builds so remove it. While we're at i also clean up the interface for is locked asserts to go through and xfs_iget.c helper with an interface like the xfs_ilock routines to isolated the XFS codebase from mrlock internals. That way we can kill mrlock_t entirely once rw_semaphores grow an islocked facility. Also remove unused flags to the ilock family of functions. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30902a by kenmcd. shrink mrlock_t
Revision 1.753 / (download) - annotate - [select for diffs], Mon Apr 21 06:16:26 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.752: +15 -7
lines
Diff to previous 1.752 (colored)
simplify xfs_lookup Opencode xfs-kill-xfs_dir_lookup_int here, which gets rid of a lock roundtrip, and lots of stack space. Also kill the di_mode == 0 check that has been done in xfs_iget for a few years now. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30901a by kenmcd. simplify xfs_lookup
Revision 1.752 / (download) - annotate - [select for diffs], Mon Apr 21 06:15:36 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.751: +1 -1
lines
Diff to previous 1.751 (colored)
xfs_rename: pass resblks to xfs_dir_removename Similar to rmdir and remove - avoids a potential transaction reservation overrun. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30900a by kenmcd. xfs_rename: pass resblks to xfs_dir_removename
Revision 1.751 / (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.750: +0 -126
lines
Diff to previous 1.750 (colored)
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.750 / (download) - annotate - [select for diffs], Mon Apr 21 06:13:00 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.749: +4 -16
lines
Diff to previous 1.749 (colored)
Remove VN_IS* macros and related cruft. We can just check i_mode / di_mode directly. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30896a by kenmcd. Remove VN_IS* macros and related cruft.
Revision 1.749 / (download) - annotate - [select for diffs], Thu Apr 10 04:32:30 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.748: +11 -4
lines
Diff to previous 1.748 (colored)
Don't allow silent errors in xfs_inactive(). xfs_inactive() fails to report errors when committing the inactive transaction. Hence we can get silent failures either finishing off the truncation or committing the transaction. Even if we get errors, we need to continue, so simply warn loudly to the system if we get errors here. Merge of xfs-linux-melb:xfs-kern:30830a by kenmcd. Don't allow silent errors in xfs_inactive().
Revision 1.748 / (download) - annotate - [select for diffs], Thu Apr 10 04:25:55 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.747: +4 -2
lines
Diff to previous 1.747 (colored)
Ensure errors from xfs_bdstrat() are correctly checked. xfsbdstrat() is declared to return an error. That is never checked because the error is propagated by the xfs_buf_t that is passed through the function. Mark xfsbdstrat() as returning void and comment the prototype on the methods needed for error checking. Merge of xfs-linux-melb:xfs-kern:30823a by kenmcd. Ensure errors from xfs_bdstrat() are correctly checked.
Revision 1.747 / (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.746: +52 -69
lines
Diff to previous 1.746 (colored)
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.746 / (download) - annotate - [select for diffs], Wed Apr 9 16:29:46 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.745: +15 -13
lines
Diff to previous 1.745 (colored)
Propagate errors from xfs_trans_commit(). xfs_trans_commit() can return errors when there are problems in the transaction subsystem. They are indicative that the entire transaction may be incomplete, and hence the error should be propagated as there is a good possibility that there is something fatally wrong in the filesystem. Catch and propagate or warn about commit errors in the places where they are currently ignored. Merge of xfs-linux-melb:xfs-kern:30795a by kenmcd. Propagate errors from xfs_trans_commit()
Revision 1.745 / (download) - annotate - [select for diffs], Wed Apr 9 06:18:15 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.744: +0 -25
lines
Diff to previous 1.744 (colored)
Don't validate symlink target component length This target component validation is not POSIX conformant and it is not done by any other Linux filesystem so remove it from XFS. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30776a by kenmcd. Remove non-POSIX symlink target component validation.
Revision 1.744 / (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.743: +2 -2
lines
Diff to previous 1.743 (colored)
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.743 / (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.742: +5 -11
lines
Diff to previous 1.742 (colored)
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.742 / (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.741: +5 -7
lines
Diff to previous 1.741 (colored)
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.741 / (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.740: +9 -16
lines
Diff to previous 1.740 (colored)
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.740 / (download) - annotate - [select for diffs], Tue Feb 26 03:19:24 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.739: +26 -29
lines
Diff to previous 1.739 (colored)
cleanup vnode use in dmapi calls Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30545a by kenmcd. cleanup vnode use in dmapi calls
Revision 1.739 / (download) - annotate - [select for diffs], Fri Feb 22 15:00:33 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.738: +9 -4
lines
Diff to previous 1.738 (colored)
Update c/mtime correctly on truncates XFS changes the c/mtime of an inode when truncating it to the same size. The c/mtime is only supposed to change if the size is changed. Not to be confused with ftruncate, where the c/mtime is supposed to be changed even if the size is not changed. The Linux VFS encodes this semantic difference in the flags it sends down to ->setattr, which XFS currently ignores. We need to make XFS pay attention to the VFS flags and hence Do The Right Thing. Merge of xfs-linux-melb:xfs-kern:30536a by kenmcd. Only change the c/mtime on truncate when the file size does not change if asked to by the VFS.
Revision 1.738 / (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.737: +0 -41
lines
Diff to previous 1.737 (colored)
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.737 / (download) - annotate - [select for diffs], Fri Feb 22 03:08:20 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.736: +9 -42
lines
Diff to previous 1.736 (colored)
kill xfs_get_dir_entry Instead of of xfs_get_dir_entry use a macro to get the xfs_inode from the dentry in the callers and grab the reference manually. Only grab the reference once as it's fine to keep it over the dmapi calls. (And even that reference is actually superflous in Linux but I'll leave that for another patch) Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30531a by kenmcd. kill xfs_get_dir_entry
Revision 1.736 / (download) - annotate - [select for diffs], Fri Feb 22 03:05:49 2008 UTC (9 years, 7 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.735: +1 -1
lines
Diff to previous 1.735 (colored)
remove shouting-indirection macros from xfs_sb.h Remove macro-to-small-function indirection from xfs_sb.h, and remove some which are completely unused. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:30528a by kenmcd. remove shouting-indirection macros from xfs_sb.h
Revision 1.735 / (download) - annotate - [select for diffs], Fri Feb 15 15:19:08 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.734: +1 -3
lines
Diff to previous 1.734 (colored)
Use xfs_inode_clean() in more places Remove open coded checks for the whether the inode is clean and replace them with an inlined function. Merge of xfs-linux-melb:xfs-kern:30503a by kenmcd. Use xfs_inode_clean() rather than open coding the check.
Revision 1.734 / (download) - annotate - [select for diffs], Fri Feb 15 15:17:21 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.733: +12 -43
lines
Diff to previous 1.733 (colored)
Don't block pdflush when writing back inodes When pdflush is writing back inodes, it can get stuck on inode cluster buffers that are currently under I/O. This occurs when we write data to multiple inodes in the same inode cluster at the same time. Effectively, delayed allocation marks the inode dirty during the data writeback. Hence if the inode cluster was flushed during the writeback of the first inode, the writeback of the second inode will block waiting for the inode cluster write to complete before writing it again for the newly dirtied inode. Basically, we want to avoid this from happening so we don't block pdflush and slow down all of writeback. Hence we introduce a non-blocking async inode flush flag that pdflush uses. If this flag is set, we use non-blocking operations (e.g. try locks) whereever we can to avoid blocking or extra I/O being issued. Merge of xfs-linux-melb:xfs-kern:30501a by kenmcd. make xfs_inode_flush() specify non-blocking inode flushes and kill dead FLUSH_LOG code.
Revision 1.733 / (download) - annotate - [select for diffs], Thu Feb 14 03:00:05 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.732: +3 -1
lines
Diff to previous 1.732 (colored)
Fix regression due to refcache removal Merge of xfs-linux-melb:xfs-kern:30490a by kenmcd. Fix regression due to refcache removal
Revision 1.732 / (download) - annotate - [select for diffs], Mon Feb 11 15:43:51 2008 UTC (9 years, 8 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.731: +1 -33
lines
Diff to previous 1.731 (colored)
Remove the xfs_refcache, it was only needed while we were still building for 2.4 kernels. Merge of xfs-linux-melb:xfs-kern:30472a by kenmcd. Remove xfs_refcache.
Revision 1.731 / (download) - annotate - [select for diffs], Fri Feb 8 15:16:53 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.730: +8 -14
lines
Diff to previous 1.730 (colored)
make inode reclaim synchronise with xfs_iflush_done() On a forced shutdown, xfs_finish_reclaim() will skip flushing the inode. If the inode flush lock is not already held and there is an outstanding xfs_iflush_done() then we might free the inode prematurely. By acquiring and releasing the flush lock we will synchronise with xfs_iflush_done(). Merge of xfs-linux-melb:xfs-kern:30468a by kenmcd. make inode reclaim synchronise with xfs_iflush_done()
Revision 1.730 / (download) - annotate - [select for diffs], Mon Jan 21 14:59:58 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.729: +0 -6
lines
Diff to previous 1.729 (colored)
stop updating inode->i_blocks The VFS doesn't use i_blocks, it's only used by generic_fillattr and the generic quota code which XFS doesn't use. In XFS there is one use to check whether we have an inline or out of line sumlink, but we can replace that with a check of the XFS_IFINLINE inode flag. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30391a by kenmcd. stop updating inode->i_blocks
Revision 1.729 / (download) - annotate - [select for diffs], Fri Jan 18 15:05:14 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.728: +0 -21
lines
Diff to previous 1.728 (colored)
[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.728 / (download) - annotate - [select for diffs], Fri Jan 18 15:02:43 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.727: +0 -12
lines
Diff to previous 1.727 (colored)
[PATCH 1/4] remove permission check from xfs_change_file_space Both callers of xfs_change_file_space alreaedy do the file->f_mode & FMODE_WRITE check to ensure we have a file descriptor that has been opened for write mode, so there is no need to re-check that with xfs_iaccess. Especially as the later might wrongly deny it for corner cases like file descriptor passing through unix domain sockets. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:30365a by kenmcd. remove permission check from xfs_change_file_space
Revision 1.727 / (download) - annotate - [select for diffs], Mon Dec 17 02:54:44 2007 UTC (9 years, 9 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.726: +0 -21
lines
Diff to previous 1.726 (colored)
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.726 / (download) - annotate - [select for diffs], Tue Nov 20 05:08:44 2007 UTC (9 years, 10 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.725: +3 -6
lines
Diff to previous 1.725 (colored)
Remove the BPCSHIFT and NB* based macros from XFS. The BPCSHIFT based macros, btoc*, ctob*, offtoc* and ctooff are either not used or don't need to be used. The NDPP, NDPP, NBBY macros don't need to be used but instead are replaced directly by PAGE_SIZE and PAGE_CACHE_SIZE where appropriate. Initial patch and motivation from Nicolas Kaiser. Merge of xfs-linux-melb:xfs-kern:30096a by kenmcd. simplify and use PAGE_CACHE_SIZE and reuse ioffset
Revision 1.725 / (download) - annotate - [select for diffs], Mon Nov 5 15:04:07 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.724: +6 -6
lines
Diff to previous 1.724 (colored)
optimize XFS_IS_REALTIME_INODE w/o realtime config Use XFS_IS_REALTIME_INODE in more places, and #define it to 0 if CONFIG_XFS_RT is off. This should be safe because mount checks in xfs_rtmount_init: # define xfs_rtmount_init(m) (((mp)->m_sb.sb_rblocks == 0)? 0 : (ENOSYS)) so if we get mounted w/o CONFIG_XFS_RT, no realtime inodes should be encountered after that. Defining XFS_IS_REALTIME_INODE to 0 saves a bit of stack space, presumeably gcc can optimize around the various "if (0)" type checks: xfs_alloc_file_space -8 xfs_bmap_adjacent -16 xfs_bmapi -8 xfs_bmap_rtalloc -16 xfs_bunmapi -28 xfs_free_file_space -64 xfs_imap +8 <-- ? hmm. xfs_iomap_write_direct -12 xfs_qm_dqusage_adjust -4 xfs_qm_vop_chown_reserve -4 Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:30014a by kenmcd. Use XFS_IS_REALTIME_INODE() rather than open coding the check.
Revision 1.724 / (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.723: +11 -22
lines
Diff to previous 1.723 (colored)
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.723 / (download) - annotate - [select for diffs], Fri Sep 21 16:10:12 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.722: +4 -8
lines
Diff to previous 1.722 (colored)
kill xfs_iocore_t xfs_iocore_t is a structure embedded in xfs_inode. Except for one field it just duplicates fields already in xfs_inode, and there is nothing this abstraction buys us on XFS/Linux. This patch removes it and shrinks source and binary size of xfs aswell as shrinking the size of xfs_inode by 60/44 bytes in debug/non-debug builds. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29754a by kenmcd. kill xfs_iocore_t
Revision 1.722 / (download) - annotate - [select for diffs], Fri Sep 21 04:11:08 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.721: +3 -3
lines
Diff to previous 1.721 (colored)
Unwrap GRANT_LOCK. Un-obfuscate GRANT_LOCK, remove GRANT_LOCK->mutex_lock->spin_lock macros, call spin_lock directly, remove extraneous cookie holdover from old xfs code, and change lock type to spinlock_t. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:29741a by kenmcd. Unwrap GRANT_LOCK.
Revision 1.721 / (download) - annotate - [select for diffs], Fri Sep 21 04:08:28 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.720: +6 -6
lines
Diff to previous 1.720 (colored)
kill unnessecary ioops indirection Currently there is an indirection called ioops in the XFS data I/O path. Various functions are called by functions pointers, but there is no coherence in what this is for, and of course for XFS itself it's entirely unused. This patch removes it instead and significantly reduces source and binary size of XFS while making maintaince easier. Merge of xfs-linux-melb:xfs-kern:29737a by kenmcd. kill unnessecary ioops indirection
Revision 1.720 / (download) - annotate - [select for diffs], Thu Sep 13 04:08:08 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.719: +12 -8
lines
Diff to previous 1.719 (colored)
Ensure file size updates have been completed before writing inode to disk. Merge of xfs-linux-melb:xfs-kern:29675a by kenmcd. Ensure file size updates have been completed before writing inode to disk.
Revision 1.719 / (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.718: +0 -0
lines
Diff to previous 1.718 (colored)
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.718 / (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.717: +2 -11
lines
Diff to previous 1.717 (colored)
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.717 / (download) - annotate - [select for diffs], Tue Sep 11 06:11:49 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.716: +28 -32
lines
Diff to previous 1.716 (colored)
clean up vnode/inode tracing Simplify vnode tracing calls by embedding function name & return addr in the calling macro. Also do a lot of vnode->inode renaming for consistency, while we're at it. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:29650a by kenmcd. clean up vnode/inode tracing
Revision 1.716 / (download) - annotate - [select for diffs], Fri Aug 24 16:16:26 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.715: +3 -3
lines
Diff to previous 1.715 (colored)
kill the vfs_flags member in struct bhv_vfs All flags are added to xfs_mount's m_flag instead. Note that the 32bit inode flag was duplicated in both of them, but only cleared in the mount when it was not nessecary due to the filesystem beeing small enough. Two flags are still required here - one to indicate the mount option setting, and one to indicate if it applies or not. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29507a by kenmcd. move vfs_flags to xfs_mount.
Revision 1.715 / (download) - annotate - [select for diffs], Fri Aug 24 16:08:41 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.714: +21 -21
lines
Diff to previous 1.714 (colored)
move v_trace from bhv_vnode to xfs_inode struct bhv_vnode is on it's way out, so move the trace buffer to the XFS inode. Note that this makes the tracing macros rather misnamed, but this kind of fallout will be fixed up incrementally later on. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29498a by kenmcd. move v_trace from bhv_vnode to xfs_inode
Revision 1.714 / (download) - annotate - [select for diffs], Fri Aug 24 16:07:47 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.713: +3 -3
lines
Diff to previous 1.713 (colored)
move v_iocount from bhv_vnode to xfs_inode struct bhv_vnode is on it's way out, so move the I/O count to the XFS inode. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29497a by kenmcd. move v_iocount from bhv_vnode to xfs_inode
Revision 1.713 / (download) - annotate - [select for diffs], Fri Aug 24 16:06:56 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.712: +1 -6
lines
Diff to previous 1.712 (colored)
Create xfs_iflags_test_and_clear helper function Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29496a by kenmcd. use a xfs_iflags_test_and_clear helper instead of open coding.
Revision 1.712 / (download) - annotate - [select for diffs], Fri Aug 24 16:06:08 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.711: +10 -2
lines
Diff to previous 1.711 (colored)
kill the v_flag member in struct bhv_vnode All flags previous handled at the vnode level are not in the xfs_inode where we already have a flags mechanisms and free bits for flags previously in the vnode. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29495a by kenmcd. move vnode flags to xfs inode.
Revision 1.711 / (download) - annotate - [select for diffs], Fri Aug 24 16:05:15 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.710: +3 -3
lines
Diff to previous 1.710 (colored)
kill v_vfsp member from struct bhv_vnode We can easily get at the vfsp through the super_block but it will soon be gone anyway. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29494a by kenmcd. remove v_vfsp from bhv_vnode.
Revision 1.710 / (download) - annotate - [select for diffs], Fri Aug 24 16:04:16 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.709: +6 -24
lines
Diff to previous 1.709 (colored)
call common xfs vnode-level helpers directly and remove vnode operations Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29493a by kenmcd. remove vnode operations.
Revision 1.709 / (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
Changes since 1.708: +124 -306
lines
Diff to previous 1.708 (colored)
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.
Revision 1.708 / (download) - annotate - [select for diffs], Thu Aug 23 16:00:34 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.707: +5 -4
lines
Diff to previous 1.707 (colored)
Radix tree based inode caching One of the perpetual scaling problems XFS has is indexing it's incore inodes. We currently uses hashes and the default hash sizes chosen can only ever be a tradeoff between memory consumption and the maximum realistic size of the cache. As a result, anyone who has millions of inodes cached on a filesystem needs to tunes the size of the cache via the ihashsize mount option to allow decent scalability with inode cache operations. A further problem is the separate inode cluster hash, whose size is based on the ihashsize but is smaller, and so under certain conditions (sparse cluster cache population) this can become a limitation long before the inode hash is causing issues. The following patchset removes the inode hash and cluster hash and replaces them with radix trees to avoid the scalability limitations of the hashes. It also reduces the size of the inodes by 3 pointers.... Merge of xfs-linux-melb:xfs-kern:29481a by kenmcd. Convert xfs inode caches from hashes to radix trees.
Revision 1.707 / (download) - annotate - [select for diffs], Thu Aug 23 15:58:48 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.706: +60 -72
lines
Diff to previous 1.706 (colored)
stop using uio in the readlink code Simplify the readlink code to get rid of the last user of uio. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29479a by kenmcd. stop using uio in the readlink code.
Revision 1.706 / (download) - annotate - [select for diffs], Thu Aug 23 15:57:59 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.705: +0 -31
lines
Diff to previous 1.705 (colored)
use filldir internally Currently xfs has a rather complicated internal scheme to allow for different directory formats in IRIX. This patch rips all code related to this out and pushes useage of the Linux filldir callback into the lowlevel directory code. This does not make the code any less portable because filldir can be used to create dirents of all possible variations (including the IRIX ones as proved by the IRIX binary emulation code under arch/mips/). This patch get rid of an unessecary copy in the readdir path, about 400 lines of code and one of the last two users of the uio structure. This version is updated to deal with dmapi aswell which greatly simplifies the get_dirattrs code. The dmapi part has been tested using the get_dirattrs tools from the xfstest dmapi suite1 with various small and large directories. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29478a by kenmcd. Use the generic filldir directory formatter callbacks rather than the complex xfs_uio_move based implementation. Removes a copy and simplifies the code greatly.
Revision 1.705 / (download) - annotate - [select for diffs], Mon Aug 6 15:41:08 2007 UTC (10 years, 2 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.704: +22 -30
lines
Diff to previous 1.704 (colored)
pv 968690, author Christoph Hellwig <hch@lst.de>, rv vapo - remove unessecary vfs argument to DM_EVENT_ENABLED Merge of xfs-linux-melb:xfs-kern:29340a by kenmcd. pv 968690, author Christoph Hellwig <hch@lst.de>, rv vapo - remove unessecary vfs argument to DM_EVENT_ENABLED
Revision 1.704 / (download) - annotate - [select for diffs], Wed Jul 18 15:54:19 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.703: +24 -1
lines
Diff to previous 1.703 (colored)
Fix inode size update before data write in xfs_setattr When changing the file size by a truncate() call, we log the change in the inode size. However, we do not flush any outstanding data that might not have been written to disk, thereby violating the data/inode size update order. This can leave files full of NULLs on crash. Hence if we are truncating the file, flush any unwritten data that may lie between the curret on disk inode size and the new inode size that is being logged to ensure that ordering is preserved. Merge of xfs-linux-melb:xfs-kern:29174a by kenmcd. Flush unwritten data between the current on disk inode size and the new inode size logged by xfs_setattr during a truncate operation to ensure the data is on disk before the inode size update.
Revision 1.703 / (download) - annotate - [select for diffs], Wed Jul 18 04:00:18 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.702: +4 -1
lines
Diff to previous 1.702 (colored)
Allow punching holes to free space when at ENOSPC Make the free file space transaction able to dip into the reserved blocks to ensure that we can successfully free blocks when the filesystem is at ENOSPC. Merge of xfs-linux-melb:xfs-kern:29167a by kenmcd. Add XFS_TRANS_RESERVED flag to the xfs_free_file_space transaction reservation.
Revision 1.702 / (download) - annotate - [select for diffs], Mon Jul 9 06:12:03 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.701: +23 -2
lines
Diff to previous 1.701 (colored)
Concurrent Multi-File Data Streams In media spaces, video is often stored in a frame-per-file format. When dealing with uncompressed realtime HD video streams in this format, it is crucial that files do not get fragmented and that multiple files a placed contiguously on disk. When multiple streams are being ingested and played out at the same time, it is critical that the filesystem does not cross the streams and interleave them together as this creates seek and readahead cache miss latency and prevents both ingest and playout from meeting frame rate targets. This patch set creates a "stream of files" concept into the allocator to place all the data from a single stream contiguously on disk so that RAID array readahead can be used effectively. Each additional stream gets placed in different allocation groups within the filesystem, thereby ensuring that we don't cross any streams. When an AG fills up, we select a new AG for the stream that is not in use. The core of the functionality is the stream tracking - each inode that we create in a directory needs to be associated with the directories' stream. Hence every time we create a file, we look up the directories' stream object and associate the new file with that object. Once we have a stream object for a file, we use the AG that the stream object point to for allocations. If we can't allocate in that AG (e.g. it is full) we move the entire stream to another AG. Other inodes in the same stream are moved to the new AG on their next allocation (i.e. lazy update). Stream objects are kept in a cache and hold a reference on the inode. Hence the inode cannot be reclaimed while there is an outstanding stream reference. This means that on unlink we need to remove the stream association and we also need to flush all the associations on certain events that want to reclaim all unreferenced inodes (e.g. filesystem freeze). Merge of xfs-linux-melb:xfs-kern:29096a by kenmcd. Concurrent Multi-File Data Streams feature check in.
Revision 1.701 / (download) - annotate - [select for diffs], Fri Jun 29 06:13:25 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.700: +2 -2
lines
Diff to previous 1.700 (colored)
Fix lockdep annotations for xfs_lock_inodes Merge of xfs-linux-melb:xfs-kern:29026a by kenmcd. Don't double shift the inumorder subclass out of the lock_mode variable.
Revision 1.700 / (download) - annotate - [select for diffs], Wed Jun 20 15:52:30 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.699: +16 -31
lines
Diff to previous 1.699 (colored)
XFS should not be looking at filp reference counts A check for file_count is always a bad idea. Linux has the ->release method to deal with cleanups on last close and ->flush is only for the very rare case where we want to perform an operation on every drop of a reference to a file struct. This patch gets rid of vop_close and surrounding code in favour of simply doing the page flushing from ->release. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:28952a by kenmcd. Move the functionality in xfs_close to xfs_release and remove xfs_close.
Revision 1.699 / (download) - annotate - [select for diffs], Wed Jun 20 06:06:53 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.698: +2 -0
lines
Diff to previous 1.698 (colored)
Cancel transactions on xfs_itruncate_start error. Signed-Off-By: Jesper Juhl <jesper.juhl@gmail.com> Merge of xfs-linux-melb:xfs-kern:28943a by kenmcd. Prevent transaction leak if we get an error from xfs_itruncate_start() by cancelling it correctly.
Revision 1.698 / (download) - annotate - [select for diffs], Fri Jun 8 16:04:48 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.697: +5 -12
lines
Diff to previous 1.697 (colored)
Cleanup inode extent size hint extraction Merge of xfs-linux-melb:xfs-kern:28866a by kenmcd. Use xfs_get_extsz_hint rather than open coded statements.
Revision 1.697 / (download) - annotate - [select for diffs], Tue May 22 15:49:51 2007 UTC (10 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.696: +1 -1
lines
Diff to previous 1.696 (colored)
remove trailing whitespace to match the mainline git tree Merge of xfs-linux-melb:xfs-kern:28648a by kenmcd. remove trailing whitespace to match the mainline git tree
Revision 1.696 / (download) - annotate - [select for diffs], Tue May 22 03:59:49 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.695: +18 -10
lines
Diff to previous 1.695 (colored)
Make hole punching at EOF atomic. If hole punching at EOF is done as two steps (i.e. truncate then extend) the file is in a transient state between the two steps where an application can see the incorrect file size. Punching a hole to EOF needs to be treated in teh same way as all other hole punching cases so that the file size is never seen to change. Merge of xfs-linux-melb:xfs-kern:28641a by kenmcd. convert callers to new xfs_free_eofblocks() interface and allow it to be called with the iolock already held.
Revision 1.695 / (download) - annotate - [select for diffs], Fri Apr 27 15:48:42 2007 UTC (10 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.694: +21 -6
lines
Diff to previous 1.694 (colored)
Add lockdep support for XFS Merge of xfs-linux-melb:xfs-kern:28485a by kenmcd. Add lockdep support for XFS
Revision 1.694 / (download) - annotate - [select for diffs], Tue Apr 3 03:54:05 2007 UTC (10 years, 6 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.693: +0 -4
lines
Diff to previous 1.693 (colored)
Remove unused ilen variable and references. Merge of xfs-linux-melb:xfs-kern:28344a by kenmcd. Remove unused ilen variable and references.
Revision 1.693 / (download) - annotate - [select for diffs], Fri Mar 30 04:04:14 2007 UTC (10 years, 6 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.692: +20 -20
lines
Diff to previous 1.692 (colored)
Fix to prevent the notorious 'NULL files' problem after a crash. The problem that has been addressed is that of synchronising updates of the file size with writes that extend a file. Without the fix the update of a file's size, as a result of a write beyond eof, is independent of when the cached data is flushed to disk. Often the file size update would be written to the filesystem log before the data is flushed to disk. When a system crashes between these two events and the filesystem log is replayed on mount the file's size will be set but since the contents never made it to disk the file is full of holes. If some of the cached data was flushed to disk then it may just be a section of the file at the end that has holes. There are existing fixes to help alleviate this problem, particularly in the case where a file has been truncated, that force cached data to be flushed to disk when the file is closed. If the system crashes while the file(s) are still open then this flushing will never occur. The fix that we have implemented is to introduce a second file size, called the in-memory file size, that represents the current file size as viewed by the user. The existing file size, called the on-disk file size, is the one that get's written to the filesystem log and we only update it when it is safe to do so. When we write to a file beyond eof we only update the in- memory file size in the write operation. Later when the I/O operation, that flushes the cached data to disk completes, an I/O completion routine will update the on-disk file size. The on-disk file size will be updated to the maximum offset of the I/O or to the value of the in-memory file size if the I/O includes eof. Merge of xfs-linux-melb:xfs-kern:28322a by kenmcd. Fix to prevent the notorious 'NULL files' problem after a crash.
Revision 1.692 / (download) - annotate - [select for diffs], Sat Mar 10 02:56:10 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.691: +13 -3
lines
Diff to previous 1.691 (colored)
propogate return codes from flush routines This patch handles error return values in fs_flush_pages and fs_flushinval_pages. It changes the prototype of fs_flushinval_pages so we can propogate the errors and handle them at higher layers. I also modified xfs_itruncate_start so that it could propogate the error further. Merge of xfs-linux-melb:xfs-kern:28231a by kenmcd. propogate return codes from flush routines
Revision 1.691 / (download) - annotate - [select for diffs], Sat Mar 3 02:57:44 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.690: +2 -3
lines
Diff to previous 1.690 (colored)
remove more misc. unused args Patch provided by Eric Sandeen. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:28205a by kenmcd. remove more misc. unused args Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Revision 1.690 / (download) - annotate - [select for diffs], Fri Mar 2 02:59:33 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.689: +16 -17
lines
Diff to previous 1.689 (colored)
The last argument "lsn" of xfs_trans_commit() is always called with NULL. Patch provided by Eric Sandeen. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:28199a by kenmcd. The last argument "lsn" of xfs_trans_commit() is always called with NULL. Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Revision 1.689 / (download) - annotate - [select for diffs], Wed Feb 7 02:50:13 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.688: +0 -1
lines
Diff to previous 1.688 (colored)
Remove unused header files for MAC and CAP checking functionality. xfs_mac.h and xfs_cap.h provide definitions and macros that aren't used anywhere in XFS at all. They are left-overs from "to be implement at some point in the future" functionality that Irix XFS has. If this functionality ever goes into Linux, it will be provided at a different layer, most likely through the security hooks in the kernel so we will never need this functionality in XFS. Patch provided by Eric Sandeen (sandeen@sandeen.net). Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:28036a by kenmcd. Remove unused xfs_cap.h/xfs_mac.h header files. Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Revision 1.688 / (download) - annotate - [select for diffs], Tue Feb 6 14:35:53 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.687: +10 -11
lines
Diff to previous 1.687 (colored)
Remove unused argument to xfs_bmap_finish The firstblock argument to xfs_bmap_finish is not used by that function. Remove it and cleanup the code a bit. Patch provided by Eric Sandeen. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:28034a by kenmcd. Remove unused firstblock argument from xfs_bmap_finish. Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Revision 1.687 / (download) - annotate - [select for diffs], Tue Nov 7 14:40:26 2006 UTC (10 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.686: +14 -7
lines
Diff to previous 1.686 (colored)
Prevent a deadlock when xfslogd unpins inodes. The previous fixes for the use after free in xfs_iunpin left a nasty log deadlock when xfslogd unpinned the inode and dropped the last reference to the inode. the ->clear_inode() method can issue transactions, and if the log was full, the transaction could push on the log and get stuck trying to push the inode it was currently unpinning. To fix this, we provide xfs_iunpin a guarantee that it will always have a valid xfs_inode <-> linux inode link or a particular flag will be set on the inode. We then use log forces during lookup to ensure transactions are completed before we recycle the inode. This ensures that xfs_iunpin will never use the linux inode after it is being freed, and any lookup on an inode on the reclaim list will wait until it is safe to attach a new linux inode to the xfs inode. Merge of xfs-linux-melb:xfs-kern:27359a by kenmcd. Set the reclaimable flag before we break the xfs inode - linux inode link so that xfs_iunpin doesn't have to deal with linux-inode use-after-free conditions during inode reclaim.
Revision 1.686 / (download) - annotate - [select for diffs], Tue Nov 7 14:39:38 2006 UTC (10 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.685: +4 -6
lines
Diff to previous 1.685 (colored)
Clean up i_flags and i_flags_lock handling. Merge of xfs-linux-melb:xfs-kern:27358a by kenmcd. Use prepackaged i_flags handling functions.
Revision 1.685 / (download) - annotate - [select for diffs], Wed Oct 18 15:42:10 2006 UTC (10 years, 11 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.684: +2 -2
lines
Diff to previous 1.684 (colored)
rename uio_read() to xfs_uio_read() Merge of xfs-linux-melb:xfs-kern:27231a by kenmcd. rename uio_read() to xfs_uio_read()
Revision 1.684 / (download) - annotate - [select for diffs], Fri Oct 13 16:13:54 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.683: +1 -1
lines
Diff to previous 1.683 (colored)
Merge up to 2.6.18 Merge of xfs-linux-melb:xfs-kern:27192a by kenmcd.
Revision 1.683 / (download) - annotate - [select for diffs], Thu Sep 14 03:48:58 2006 UTC (11 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.682: +5 -0
lines
Diff to previous 1.682 (colored)
Really fix use after free in xfs_iunpin. The previous attempts to fix the linux inode use-after-free in xfs_iunpin simply made the problem harder to hit. We actually need complete exclusion between xfs_reclaim and xfs_iunpin, as well as ensuring that the i_flags are consistent during both of these functions. Introduce a new spinlock for exclusion and the i_flags, and fix up xfs_iunpin to use igrab before marking the inode dirty. Merge of xfs-linux-melb:xfs-kern:26964a by kenmcd. Use new i_flags_lock to protect i_flags.
Revision 1.682 / (download) - annotate - [select for diffs], Fri Aug 4 13:33:37 2006 UTC (11 years, 2 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.681: +13 -3
lines
Diff to previous 1.681 (colored)
pass file mode on DMAPI remove events Merge of xfs-linux-melb:xfs-kern:26639a by kenmcd.
Revision 1.681 / (download) - annotate - [select for diffs], Fri Aug 4 13:15:04 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.680: +2 -3
lines
Diff to previous 1.680 (colored)
Fix rounding bug in xfs_free_file_space found by sparse checking. Merge of xfs-linux-melb:xfs-kern:26551a by kenmcd.
Revision 1.680 / (download) - annotate - [select for diffs], Tue Jun 20 15:52:35 2006 UTC (11 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.679: +5 -6
lines
Diff to previous 1.679 (colored)
link(2) on directory is banned in VFS. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Merge of xfs-linux-melb:xfs-kern:26293a by kenmcd. link(2) on directory is banned in VFS.
Revision 1.679 / (download) - annotate - [select for diffs], Thu Jun 15 03:58:11 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.678: +26 -42
lines
Diff to previous 1.678 (colored)
Remove version 1 directory code. Never functioned on Linux, just pure bloat. Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.
Revision 1.678 / (download) - annotate - [select for diffs], Tue May 30 15:57:54 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.677: +16 -16
lines
Diff to previous 1.677 (colored)
Resolve a namespace collision on remaining vtypes for FreeBSD porters. Merge of xfs-linux-melb:xfs-kern:26108a by kenmcd.
Revision 1.677 / (download) - annotate - [select for diffs], Tue May 30 15:56:57 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.676: +38 -39
lines
Diff to previous 1.676 (colored)
Resolve a namespace collision on vnode/vnodeops for FreeBSD porters. Merge of xfs-linux-melb:xfs-kern:26107a by kenmcd.
Revision 1.676 / (download) - annotate - [select for diffs], Tue May 30 15:51:09 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.675: +52 -36
lines
Diff to previous 1.675 (colored)
Start writeout earlier (on last close) in the case where we have a truncate down followed by delayed allocation (buffered writes) - worst case scenario for the notorious NULL files problem. This reduces the window where we are exposed to that problem significantly. Merge of xfs-linux-melb:xfs-kern:26100a by kenmcd.
Revision 1.675 / (download) - annotate - [select for diffs], Tue May 30 15:48:50 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.674: +1 -1
lines
Diff to previous 1.674 (colored)
Shutdown the filesystem if all device paths have gone. Made shutdown vop flags consistent with sync vop flags declarations too. Merge of xfs-linux-melb:xfs-kern:26096a by kenmcd.
Revision 1.674 / (download) - annotate - [select for diffs], Mon May 29 06:16:44 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.673: +4 -0
lines
Diff to previous 1.673 (colored)
Pull back various small mainline tidbits - percpu api changes mainly. Merge of xfs-linux-melb:xfs-kern:26073a by kenmcd.
Revision 1.673 / (download) - annotate - [select for diffs], Fri May 19 06:06:01 2006 UTC (11 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.672: +2 -0
lines
Diff to previous 1.672 (colored)
Add degframentation exclusion support Merge of xfs-linux-melb:xfs-kern:25986a by kenmcd. sysctl to disk no-defrag flag conversion
Revision 1.672 / (download) - annotate - [select for diffs], Mon Apr 24 12:12:50 2006 UTC (11 years, 5 months ago) by olaf
Branch: MAIN
Changes since 1.671: +0 -2
lines
Diff to previous 1.671 (colored)
Originally the ATTR_DMI flag also had the functionality of the ATTR_NOLOCK flag, but this was split off some time ago, as ATTR_DMI needed to be used separately. Two asserts were added to guard correctness of the code during the transition. These are no longer required. Removing two asserts that are the last vestiges of when ATTR_DMI implied ATTR_NOLOCK.
Revision 1.671 / (download) - annotate - [select for diffs], Sat Apr 22 03:52:37 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.670: +1 -1
lines
Diff to previous 1.670 (colored)
Fix a project quota space accounting leak on rename. Merge of xfs-linux-melb:xfs-kern:25811a by kenmcd.
Revision 1.670 / (download) - annotate - [select for diffs], Thu Apr 13 10:13:05 2006 UTC (11 years, 6 months ago) by olaf
Branch: MAIN
Changes since 1.669: +17 -17
lines
Diff to previous 1.669 (colored)
Add parameters to xfs_bmapi() and xfs_bunmapi() to have them report the range spanned by modifications to the in-core extent map. Add XFS_BUNMAPI() and XFS_SWAP_EXTENTS() macros that call xfs_bunmapi() and xfs_swap_extents() via the ioops vector. Change all calls that may modify the in-core extent map for the data fork to go through the ioops vector. This allows a cache of extent map data to be kept in sync. Provide extra parameter for xfs_bmapi(), XFS_BMAPI(), xfs_bunmapi(). Replace invocations of xfs_bmapi() with XFS_BMAPI(). Replace invocations of xfs_bunmapi() with XFS_BUNMAPI().
Revision 1.669 / (download) - annotate - [select for diffs], Thu Mar 23 02:48:21 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.668: +6 -6
lines
Diff to previous 1.668 (colored)
We really suck at spulling. Thanks to Chris Pascoe for fixing all these typos. Merge of xfs-linux-melb:xfs-kern:25539a by kenmcd.
Revision 1.668 / (download) - annotate - [select for diffs], Mon Mar 20 21:31:13 2006 UTC (11 years, 6 months ago) by yingping
Branch: MAIN
Changes since 1.667: +4 -1
lines
Diff to previous 1.667 (colored)
Fixing the error caused by the conflict between DIO Write's conversion and concurrent truncate operations. Use vn_iowait to wait for the completion of any pending DIOs. Since the truncate requires exclusive IOLOCK, so this blocks any further DIO operations since DIO write also needs exclusive IOBLOCK. This serves as a barrier and prevent any potential starvation. Add vn_iowait to wait for the completion of any pending DIO write for truncate operation
Revision 1.667 / (download) - annotate - [select for diffs], Fri Mar 17 14:28:04 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.666: +2 -2
lines
Diff to previous 1.666 (colored)
Complete transition away from linvfs naming convention, finally. Merge of xfs-linux-melb:xfs-kern:25474a by kenmcd.
Revision 1.666 / (download) - annotate - [select for diffs], Tue Mar 14 05:06:55 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.665: +28 -29
lines
Diff to previous 1.665 (colored)
Merge back dopey braces-on-return removal from clowns trawling mainline sources. Merge of xfs-linux-melb:xfs-kern:25448a by kenmcd.
Revision 1.665 / (download) - annotate - [select for diffs], Wed Jan 25 00:34:27 2006 UTC (11 years, 8 months ago) by cattelan
Branch: MAIN
Changes since 1.664: +3 -0
lines
Diff to previous 1.664 (colored)
Bring the XFS code in sync with the changed from 2.6.16-rc1
Revision 1.664 / (download) - annotate - [select for diffs], Wed Dec 21 14:33:42 2005 UTC (11 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.663: +1 -2
lines
Diff to previous 1.663 (colored)
Fix some build fallout from atime changes. Merge of xfs-linux-melb:xfs-kern:24899a by kenmcd.
Revision 1.663 / (download) - annotate - [select for diffs], Mon Dec 19 19:00:32 2005 UTC (11 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.662: +1 -3
lines
Diff to previous 1.662 (colored)
add helper to get xfs_inode from vnode
Revision 1.662 / (download) - annotate - [select for diffs], Thu Dec 15 21:25:27 2005 UTC (11 years, 9 months ago) by yingping
Branch: MAIN
Changes since 1.661: +6 -3
lines
Diff to previous 1.661 (colored)
Fixed delayed_blks assert failure during umount. The delayed_blks was caused by ENOSPC but not Rreclaimed by xfs_release or xfs_inactive. The fix changed the condition in xfs_release and xfs_inactive to invoke xfs_inactive_free_eofblocks for this special case, changed xfs_inactive_free_eofblocks to clean the delayed blks after eof. It also changed xfs_write to set correct eof when ENOSPC occurs. The changes allow xfs_release and xfs_inactive to invoke xfs_inactive_free_eofblocks even the size is 0 but there exist delayed_blks which may occur when the file system run out of space. The changes in xfs_inactive_free_eofblocks allow to free space for delayed blocks afer eof.
Revision 1.661 / (download) - annotate - [select for diffs], Wed Dec 7 19:02:48 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.660: +8 -11
lines
Diff to previous 1.660 (colored)
fix, speedup and simplify atime handling let the VFS handle atime updates and only sync back to the xfs inode when nessecary
Revision 1.660 / (download) - annotate - [select for diffs], Fri Dec 2 02:48:45 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.659: +1 -1
lines
Diff to previous 1.659 (colored)
Sort out cosmetic differences between user and kernel copies of some sources. Merge of xfs-linux-melb:xfs-kern:24659a by kenmcd.
Revision 1.659 / (download) - annotate - [select for diffs], Fri Nov 18 16:17:35 2005 UTC (11 years, 10 months ago) by yingping
Branch: MAIN
Changes since 1.658: +2 -1
lines
Diff to previous 1.658 (colored)
Fixed an assertion failure in xfs_reclaim caused by delayed block. The assertion failure came from XFS QA41. The fix is done by enabling truncate for delayed block in xfs_inactive. Enable truncate for delayed block even though the size and nextent of the inode are 0. This happens when the file system run out of space, thus a write of 1 page may end up with one or a few delayed block but failure of the whole page, which results to size of 0.
Revision 1.658 / (download) - annotate - [select for diffs], Tue Nov 15 22:20:39 2005 UTC (11 years, 10 months ago) by felixb
Branch: MAIN
Changes since 1.657: +3 -2
lines
Diff to previous 1.657 (colored)
Tight loop in xfs_finish_reclaim_all prevented the xfslogd to run its queue of IO completion callbacks, thus creating the deadlock between umount and xfslogd. Breaking the loop solves the problem. Breaking tight loop in xfs_finish_reclaim_all with delay(1), and leting the xfslogd thread to run its queue.
Revision 1.657 / (download) - annotate - [select for diffs], Fri Nov 11 14:16:20 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.656: +75 -83
lines
Diff to previous 1.656 (colored)
Implement the di_extsize allocator hint for non-realtime files as well. Also provides a mechanism for inheriting this property from the parent directory for new files. Merge of xfs-linux-melb:xfs-kern:24367a by kenmcd.
Revision 1.656 / (download) - annotate - [select for diffs], Fri Nov 4 22:33:06 2005 UTC (11 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.655: +0 -1
lines
Diff to previous 1.655 (colored)
remove over-eager assert i_mapping.nrpages may be non-zero for device inodes. the vfs already checks i_data.nrpages which is what we care about.
Revision 1.655 / (download) - annotate - [select for diffs], Fri Oct 21 03:25:28 2005 UTC (11 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.654: +3 -3
lines
Diff to previous 1.654 (colored)
fix old xfs_setattr mis-merge from irix; mostly harmless esp if not using xfs rt fix old mis-merge of grove2:irix:150953a in xfs_setattr
Revision 1.654 / (download) - annotate - [select for diffs], Mon Oct 3 20:57:31 2005 UTC (12 years ago) by sandeen
Branch: MAIN
Changes since 1.653: +3 -1
lines
Diff to previous 1.653 (colored)
Prevent data corruption on extending truncate case from cxfs client Same change from irix: grove2:irix:60280a Add flag to setattr so that it can be told not to create pages over the range of an extending setattr, these are created on the client. Only used for RPCs from client to server in cxfs. Prevents data corruption on extending truncate case
Revision 1.653 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.652: +12 -26
lines
Diff to previous 1.652 (colored)
Update license/copyright notices to match the prefered SGI boilerplate. Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.
Revision 1.652 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.651: +15 -16
lines
Diff to previous 1.651 (colored)
Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot. Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.
Revision 1.651 / (download) - annotate - [select for diffs], Fri Sep 16 06:01:22 2005 UTC (12 years ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.650: +1 -34
lines
Diff to previous 1.650 (colored)
Introduce two new mount options (nolargeio/largeio) to allow filesystems to expose the filesystem stripe width in stat(2) rather than the page cache size. This allows applications requiring high bandwidth to easily determine the optimum I/O size for the underlying filesystem. The default is to report the page cache size (i.e. "nolargeio"). Merge of xfs-linux-melb:xfs-kern:23830a by kenmcd. Clean up prefered I/O size selection.
Revision 1.650 / (download) - annotate - [select for diffs], Tue Sep 6 22:44:36 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.649: +29 -3
lines
Diff to previous 1.649 (colored)
write barrier support Issue all log sync operations as ordered writes. In addition flush the disk cache on fsync if the sync cached operation didn't sync the log to disk (this requires some additional bookeping in the transaction and log code). If the device doesn't claim to support barriers, the filesystem has an extern log volume or the trial superblock write with barriers enabled failed we disable barriers and print a warning. We should probably fail the mount completely, but that could lead to nasty boot failures for the root filesystem. Not enabled by default yet, needs more destructive testing first.
Revision 1.649 / (download) - annotate - [select for diffs], Wed Aug 3 10:43:11 2005 UTC (12 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.648: +3 -44
lines
Diff to previous 1.648 (colored)
add infrastructure for waiting on I/O completion at inode reclaim time
Revision 1.648 / (download) - annotate - [select for diffs], Thu Jul 14 17:07:55 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.647: +22 -23
lines
Diff to previous 1.647 (colored)
remove struct vnode::v_type
Revision 1.647 / (download) - annotate - [select for diffs], Mon Jun 20 03:44:04 2005 UTC (12 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.646: +2 -3
lines
Diff to previous 1.646 (colored)
Merge fixes into realtime quota code, since one/two reported, still not enabled though. Merge of xfs-linux-melb:xfs-kern:22900a by kenmcd.
Revision 1.646 / (download) - annotate - [select for diffs], Fri Jun 17 14:33:58 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.645: +13 -3
lines
Diff to previous 1.645 (colored)
(mostly) remove xfs_inval_cached_pages Since the last round of direct I/O locking changes it is just a wrapper around VOP_FLUSHINVAL_PAGES, so it's not nessecary anymore. Keep a simplified version for kernels < 2.4.22, as these don't have the changed direct I/O locking. (mostly) remove xfs_inval_cached_pages
Revision 1.645 / (download) - annotate - [select for diffs], Fri Jun 3 06:04:22 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.644: +22 -15
lines
Diff to previous 1.644 (colored)
Add support for project quota inheritance, a merge of Glens changes. Merge of xfs-linux-melb:xfs-kern:22806a by kenmcd.
Revision 1.644 / (download) - annotate - [select for diffs], Fri Jun 3 06:03:33 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.643: +25 -8
lines
Diff to previous 1.643 (colored)
Add support for project quota, based on Dan Knappes earlier work. Merge of xfs-linux-melb:xfs-kern:22805a by kenmcd.
Revision 1.643 / (download) - annotate - [select for diffs], Wed May 18 09:29:33 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.642: +1 -1
lines
Diff to previous 1.642 (colored)
mark various symbols static Patch from Adrian Bunk
Revision 1.642 / (download) - annotate - [select for diffs], Fri Apr 8 02:50:51 2005 UTC (12 years, 6 months ago) by roehrich
Branch: MAIN
Changes since 1.641: +1 -1
lines
Diff to previous 1.641 (colored)
upate copyrights
Revision 1.641 / (download) - annotate - [select for diffs], Fri Apr 8 02:46:25 2005 UTC (12 years, 6 months ago) by roehrich
Branch: MAIN
Changes since 1.640: +9 -2
lines
Diff to previous 1.640 (colored)
Add ATTR_NOLOCK for xfs_setattr to indicate that XFS_IOLOCK is held Change xfs_setattr() and xfs_free_file_space() to use ATTR_NOLOCK to mean that the caller has XFS_IOLOCK_*.
Revision 1.640 / (download) - annotate - [select for diffs], Mon Mar 21 02:45:02 2005 UTC (12 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.639: +6 -6
lines
Diff to previous 1.639 (colored)
Make trivial extension to sync flag to implement dirsync, instead of silently ignoring it. Merge of xfs-linux-melb:xfs-kern:21888a by kenmcd.
Revision 1.639 / (download) - annotate - [select for diffs], Fri Feb 11 02:46:15 2005 UTC (12 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.638: +9 -9
lines
Diff to previous 1.638 (colored)
Fix problems with synchronous writes returning EAGAIN incorrectly for pinned inodes. Merge of xfs-linux-melb:xfs-kern:21460a by kenmcd.
Revision 1.638 / (download) - annotate - [select for diffs], Wed Jan 12 22:38:29 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.637: +1 -1
lines
Diff to previous 1.637 (colored)
Stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere
Revision 1.637 / (download) - annotate - [select for diffs], Wed Dec 15 14:30:54 2004 UTC (12 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.636: +3 -3
lines
Diff to previous 1.636 (colored)
make sure to always reclaim inodes in xfs_finish_reclaim don't forget to call xfs_ireclaim for bad vnodes
Revision 1.636 / (download) - annotate - [select for diffs], Thu Sep 30 03:40:12 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.635: +5 -5
lines
Diff to previous 1.635 (colored)
Fix merge botch affecting xfs_setattr for realtime files. Merge of xfs-linux-melb:xfs-kern:19619a by kenmcd.
Revision 1.635 / (download) - annotate - [select for diffs], Wed Sep 29 15:26:59 2004 UTC (13 years ago) by roehrich
Branch: MAIN
Changes since 1.634: +1 -1
lines
Diff to previous 1.634 (colored)
update copyright update copyright
Revision 1.634 / (download) - annotate - [select for diffs], Tue Sep 28 01:04:28 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.633: +1 -2
lines
Diff to previous 1.633 (colored)
Fix uninitialised variable use on xfs_reclaim error path. Merge of xfs-linux-melb:xfs-kern:19605a by kenmcd.
Revision 1.633 / (download) - annotate - [select for diffs], Wed Sep 22 21:55:51 2004 UTC (13 years ago) by hch
Branch: MAIN
Changes since 1.632: +13 -3
lines
Diff to previous 1.632 (colored)
fix handling of bad inodes keep bad inodes from beeing flushed to disk
Revision 1.632 / (download) - annotate - [select for diffs], Wed Sep 22 07:13:53 2004 UTC (13 years ago) by nathans
Branch: MAIN
Changes since 1.631: +30 -17
lines
Diff to previous 1.631 (colored)
Add nosymlinks inode flag for the security folks, reserve projinherit flag.
Revision 1.631 / (download) - annotate - [select for diffs], Thu Sep 9 10:16:42 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.630: +2 -4
lines
Diff to previous 1.630 (colored)
Convert to list_for_each_entry_safe form in reclaim list walk.
Revision 1.630 / (download) - annotate - [select for diffs], Mon Aug 23 17:35:44 2004 UTC (13 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.629: +31 -26
lines
Diff to previous 1.629 (colored)
Change DMAPI dm_punch_hole to punch holes, rather than just truncate files. Change to not touch timestamps if called by dmapi. Change xfs_free_file_space to not touch the IOLOCK if called by dmapi.
Revision 1.629 / (download) - annotate - [select for diffs], Tue Aug 17 05:02:12 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.628: +1 -1
lines
Diff to previous 1.628 (colored)
Ensure we get bit precedence wrt realtime inheritance flag correct.
Revision 1.628 / (download) - annotate - [select for diffs], Mon Aug 16 06:43:29 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.627: +5 -1
lines
Diff to previous 1.627 (colored)
Add a realtime inheritance bit for directory inodes so new files can be automatically created as realtime files.
Revision 1.627 / (download) - annotate - [select for diffs], Fri Aug 13 05:14:58 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.626: +0 -2
lines
Diff to previous 1.626 (colored)
Remove several macros which are no longer used anywhere.
Revision 1.626 / (download) - annotate - [select for diffs], Fri Aug 13 03:01:27 2004 UTC (13 years, 2 months ago) by herry.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.625: +5 -2
lines
Diff to previous 1.625 (colored)
Add support for unsetting realtime flag on realtime file which has no extents allocated.
Revision 1.625 / (download) - annotate - [select for diffs], Wed Aug 11 20:20:22 2004 UTC (13 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.624: +6 -2
lines
Diff to previous 1.624 (colored)
Fix lock leak in xfs_free_file_space unlock IOLOCK_EXCL when erroring out of the realtime case
Revision 1.624 / (download) - annotate - [select for diffs], Tue Jun 15 02:10:09 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.623: +0 -16
lines
Diff to previous 1.623 (colored)
Remove unused MAC macros, never needed on Linux (implemented differently).
Revision 1.623 / (download) - annotate - [select for diffs], Mon May 10 06:17:46 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.622: +3 -18
lines
Diff to previous 1.622 (colored)
Make uses of extended inode flags consistent, remove duplicated code.
Revision 1.622 / (download) - annotate - [select for diffs], Tue Apr 20 08:04:37 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.621: +5 -11
lines
Diff to previous 1.621 (colored)
Fix vmtruncate abuse in the XFS setattr ATTR_SIZE operation.
Revision 1.621 / (download) - annotate - [select for diffs], Fri Mar 5 03:58:57 2004 UTC (13 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.620: +6 -98
lines
Diff to previous 1.620 (colored)
Remove dup fdatasync/fdatawait call on fsync. Means we no longer take the iolock here, and readers no longer conflict with concurrent fsync activity. Kudos to Steve!
Revision 1.620 / (download) - annotate - [select for diffs], Thu Feb 26 21:16:57 2004 UTC (13 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.619: +2 -1
lines
Diff to previous 1.619 (colored)
Send DM_FLAGS_ISEM with dmapi truncate event.
Revision 1.619 / (download) - annotate - [select for diffs], Sun Nov 23 21:53:15 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.618: +3 -0
lines
Diff to previous 1.618 (colored)
Abstract sendfile operation out, supporting multiple kernels more easily.
Revision 1.618 / (download) - annotate - [select for diffs], Fri Nov 21 01:49:22 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.617: +4 -10
lines
Diff to previous 1.617 (colored)
Seperate the NFS reference cache code out from xfs_rw.c to simplify management of different kernel versions.
Revision 1.617 / (download) - annotate - [select for diffs], Mon Oct 20 04:21:43 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.616: +7 -4
lines
Diff to previous 1.616 (colored)
Fix build with tracing enabled, couple of portability macros, move externs into headers.
Revision 1.616 / (download) - annotate - [select for diffs], Thu Oct 9 06:34:07 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.615: +0 -4
lines
Diff to previous 1.615 (colored)
Fix compiler warning after change to xfs_ioctl interface.
Revision 1.615 / (download) - annotate - [select for diffs], Tue Oct 7 21:43:50 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.614: +2 -1
lines
Diff to previous 1.614 (colored)
cleanup uio use some more
Revision 1.614 / (download) - annotate - [select for diffs], Tue Oct 7 21:21:22 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.613: +22 -22
lines
Diff to previous 1.613 (colored)
switch xfs to use linux imode flags internally
Revision 1.613 / (download) - annotate - [select for diffs], Mon Oct 6 18:11:55 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.612: +18 -18
lines
Diff to previous 1.612 (colored)
Implement deletion of inode clusters in XFS. extend the inactive path logic to deal with freeing the space which could be removed with an inode cluster.
Revision 1.612 / (download) - annotate - [select for diffs], Fri Oct 3 15:02:37 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.611: +7 -10
lines
Diff to previous 1.611 (colored)
Code cleanup Merge of 2.4.x-xfs-kern:slinx:159439a by lord. simplify copy interface
Revision 1.611 / (download) - annotate - [select for diffs], Fri Sep 26 06:40:16 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.610: +36 -33
lines
Diff to previous 1.610 (colored)
Clean up inode revalidation code slightly
Revision 1.610 / (download) - annotate - [select for diffs], Tue Sep 23 21:43:35 2003 UTC (14 years ago) by roehrich
Branch: MAIN
Changes since 1.609: +3 -3
lines
Diff to previous 1.609 (colored)
Make dm_send_data_event use vp rather than bhv Merge of 2.4.x-xfs-kern:slinx:158840a by roehrich. Make dm_send_data_event use vp rather than bhv
Revision 1.609 / (download) - annotate - [select for diffs], Mon Sep 22 17:46:12 2003 UTC (14 years ago) by roehrich
Branch: MAIN
Changes since 1.608: +1 -1
lines
Diff to previous 1.608 (colored)
Change dm_send_destroy_event to use vnode ptrs rather than bhv ptrs
Revision 1.608 / (download) - annotate - [select for diffs], Mon Sep 15 05:03:19 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.607: +36 -2
lines
Diff to previous 1.607 (colored)
Undoes mod: xfs-linux:slinx:158358a Implement several additional inode flags - immutable, append-only, etc; contributed by Ethan Benson.
Revision 1.607 / (download) - annotate - [select for diffs], Mon Sep 15 04:36:29 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.606: +2 -3
lines
Diff to previous 1.606 (colored)
Separate the big filesystems macro out into separate big inums and blknos macros; fix the check for too-large filesystems in the process.
Revision 1.606 / (download) - annotate - [select for diffs], Mon Sep 15 03:40:38 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.605: +2 -36
lines
Diff to previous 1.605 (colored)
Undoes mod: xfs-linux:slinx:158357a Undo last mod, checked in against wrong bug number with wrong change message.
Revision 1.605 / (download) - annotate - [select for diffs], Mon Sep 15 03:13:46 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.604: +36 -2
lines
Diff to previous 1.604 (colored)
Separate the big filesystems macro out into separate big inums and blknos macros. Also fix the check for too-large filesystems in the process.
Revision 1.604 / (download) - annotate - [select for diffs], Mon Sep 8 03:47:34 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.603: +0 -1
lines
Diff to previous 1.603 (colored)
remove doubly-included header files
Revision 1.603 / (download) - annotate - [select for diffs], Thu Aug 28 12:48:31 2003 UTC (14 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.602: +20 -20
lines
Diff to previous 1.602 (colored)
Change dm_send_namesp_event to take vnode ptrs rather than bhv ptrs. Change dm_send_namesp_event to take vnode ptrs rather than bhv ptrs.
Revision 1.602 / (download) - annotate - [select for diffs], Thu Aug 21 19:47:57 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.601: +1 -1
lines
Diff to previous 1.601 (colored)
Re-work xfs stats macros to support per-cpu data
Revision 1.601 / (download) - annotate - [select for diffs], Tue Aug 12 20:59:27 2003 UTC (14 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.600: +0 -0
lines
Diff to previous 1.600 (colored)
Fix some inconsistent types Fix some inconsistent types
Revision 1.600 / (download) - annotate - [select for diffs], Mon Aug 11 20:43:31 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.599: +2 -7
lines
Diff to previous 1.599 (colored)
remove an impossible code path from mkdir and link paths, spotted by Al Viro. no need to look for an rdev when making a directory or a symlink, there cannot be one.
Revision 1.599 / (download) - annotate - [select for diffs], Wed Aug 6 20:55:24 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.598: +18 -34
lines
Diff to previous 1.598 (colored)
clean up the flush logic some more, make the inode flush path less lossy since we now depend on it. Add a sync_fs callout which waits for flush to be done. in the write_inode path, try harder to get locks on the inode
Revision 1.598 / (download) - annotate - [select for diffs], Mon Jul 14 05:05:04 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.597: +9 -15
lines
Diff to previous 1.597 (colored)
Cleanup empty/noaddr pagebuf initialisation; particularly for buffers used for log IO - no longer allocate buffers for data device then reset target, gets it right from the start.
Revision 1.597 / (download) - annotate - [select for diffs], Thu Jul 10 01:54:38 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.596: +4 -4
lines
Diff to previous 1.596 (colored)
Correct the maxbytes sb value for non-pagesize filesystem block sizes, and all uses of max file size constant within XFS
Revision 1.596 / (download) - annotate - [select for diffs], Mon Jul 7 04:10:21 2003 UTC (14 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.595: +3 -0
lines
Diff to previous 1.595 (colored)
Catch read-only filesystems in xfs_setattr, and return EROFS
Revision 1.595 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.594: +4801 -0
lines
Diff to previous 1.594 (colored)
The Big Move linux/fs/xfs/xfs_vnodeops.c 1.593 Renamed to xfs_vnodeops.c
Revision 1.594 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
CVS Tags: DENUKE
Changes since 1.593: +0 -4801
lines
Diff to previous 1.593 (colored)
Nuke
Revision 1.593 / (download) - annotate - [select for diffs], Fri Jun 13 14:03:22 2003 UTC (14 years, 4 months ago) by cwf
Branch: MAIN
Changes since 1.592: +2 -1
lines
Diff to previous 1.592 (colored)
Close window to prevent a file with delayed write extents from being converted to a realtime file. Merge of grove2:irix:150953a by lord. add check to xfs_setattr to avoid file with delalloc setting rt flag
Revision 1.592 / (download) - annotate - [select for diffs], Fri Jun 13 03:08:42 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.591: +18 -7
lines
Diff to previous 1.591 (colored)
Fix deadlock between xfs_finish_reclaim and xfs_iget_core. An inode being reclaimed and removed from memory by one thread while another thread is attempting to reuse the inode and bring it back to life. There was a window between the iget starting to reuse the inode and the reclaim starting. Close the window by marking the inode as being reused under the hash lock, and by abandoning the reclaim if this is detected when it obtains the hash lock. Set XFS_IRECLAIMABLE when disconnecting an xfs_inode from the linux inode. This is safe from the iget path because of the I_LOCK which is held in both cases. In xfs_finish_reclaim, after obtaining the hash lock, check that XFS_IRECLAIMABLE is set in the case where there is no vnode, abandon the reclaim if it is not. We can also reduce the locking use in a couple of paths here.
Revision 1.591 / (download) - annotate - [select for diffs], Tue May 6 20:53:19 2003 UTC (14 years, 5 months ago) by cwf
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.590: +2 -2
lines
Diff to previous 1.590 (colored)
Merge over an irix fix
Revision 1.590 / (download) - annotate - [select for diffs], Thu May 1 21:05:53 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.589: +29 -31
lines
Diff to previous 1.589 (colored)
Rework of how xfs syncs metadata to disk. This has a number of benefits: We no longer walk the list of all the inodes in the filesystem everytime the write_super is called. If you type sync and then reset the box then everything is definitely recovered afterwards. We remove a lot of calls to mark_inode_dirty which did not really do us any good, and replace them with a single one which does. kupdated does less work in xfs now, freeing it to do other things. Finally, get the dummy log record code working, this means that after a period of inactivity with everything on disk, we clean the log so that recovery does not have any work to do. Change flush flags used in the write_inode path, if an inode is in the log, start the write immediately, if not, do a delayed write. Add a new list the i_reclaim list to hold inodes being reclaimed.
Revision 1.589 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
Changes since 1.588: +39 -1
lines
Diff to previous 1.588 (colored)
Rework the way xfs includes xfs_<blah>.h headers. This reduces a lot of the compile dependenciesÂ, and should reduce some of the "recompile all" situations.
Revision 1.588 / (download) - annotate - [select for diffs], Sat Apr 19 20:13:38 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.587: +3 -1
lines
Diff to previous 1.587 (colored)
report extended attribute existence in the xattr flags field report extended attribute existence in the xattr flags field of a getattr call.
Revision 1.587 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.586: +69 -69
lines
Diff to previous 1.586 (colored)
Whitespace cleanup Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)
Revision 1.586 / (download) - annotate - [select for diffs], Mon Mar 17 06:02:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.585: +167 -282
lines
Diff to previous 1.585 (colored)
Separate the quota source into its own subdirectory ala dmapi. Push a bunch of quota- and dmapi-specific code down into these subdirs which previously was compiled into the core XFS code, and don't descend into these subdirs if options config'd off. Separate the quota source into its own subdirectory ala dmapi. Push a bunch of quota- and dmapi-specific code down into these subdirs which previously was compiled into the core XFS code, and don't descend into these subdirs if options config'd off.
Revision 1.585 / (download) - annotate - [select for diffs], Wed Mar 5 18:29:00 2003 UTC (14 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.584: +2 -1
lines
Diff to previous 1.584 (colored)
In open, check the inode for extents after getting the shared lock on the inode. The inode could have changed since before the lock. Merge of irix6.5f:irix:137931a by sandeen. Merge of grove2-6520stage:irix:137931a by roehrich. Merge of cxfs-client2.5.0:irix:137931a by roehrich. Merge of grove2:irix:137931a by roehrich. In open, check the inode for extents after getting the shared lock on the inode. The inode could have changed since before the lock.
Revision 1.584 / (download) - annotate - [select for diffs], Tue Mar 4 20:15:43 2003 UTC (14 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.583: +0 -0
lines
Diff to previous 1.583 (colored)
Add error reporting calls in error paths that return EFSCORRUPTED Merge of irix6.5f:irix:136445a by sandeen. Merge of grove2-6520stage:irix:136445a by roehrich. Merge of grove2:irix:136445a by roehrich. Add error reporting calls in error paths that return EFSCORRUPTED
Revision 1.583 / (download) - annotate - [select for diffs], Thu Feb 27 18:46:30 2003 UTC (14 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.582: +9 -5
lines
Diff to previous 1.582 (colored)
fix dmapi POSTCREATE event in xfs_create/xfs_mkdir Add dm_event_sent to xfs_create/xfs_mkdir. Make POSTCREATE work the way it does in Irix.
Revision 1.582 / (download) - annotate - [select for diffs], Tue Feb 25 11:01:21 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.581: +2 -1
lines
Diff to previous 1.581 (colored)
validate_fields is called on a vnode to update directory related fields after a create/remove etc. Make sure we pass in all the flags for the status fields we want. NBLOCKS was missing and working by accident. Merge of 2.4.x-xfs-dev:slinx:134817a by lord. add XFS_AT_BLKSIZE to the early skip out flags
Revision 1.581 / (download) - annotate - [select for diffs], Wed Jan 8 05:49:33 2003 UTC (14 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.580: +1 -1
lines
Diff to previous 1.580 (colored)
put back a change that got dropped in the last checkin
Revision 1.580 / (download) - annotate - [select for diffs], Wed Jan 8 05:08:24 2003 UTC (14 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.579: +44 -1
lines
Diff to previous 1.579 (colored)
Revisit the remount read only code again. apparently the root file system are not being synced correctly during system shutdown New function to do xfs inode reclaim during system shutdown
Revision 1.579 / (download) - annotate - [select for diffs], Thu Jan 2 13:06:03 2003 UTC (14 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.578: +1 -1
lines
Diff to previous 1.578 (colored)
xfs_getattr should be static
Revision 1.578 / (download) - annotate - [select for diffs], Fri Dec 13 21:27:14 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.577: +2 -12
lines
Diff to previous 1.577 (colored)
remove superlous MAXNAMELEN checks don't check for MAXNAMELEN in the individual VOPs - we never enter them with longer names
Revision 1.577 / (download) - annotate - [select for diffs], Fri Dec 13 20:12:46 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.576: +9 -86
lines
Diff to previous 1.576 (colored)
more dead code removal remove a bunch of checks that aren't needed on linux
Revision 1.576 / (download) - annotate - [select for diffs], Fri Dec 13 18:01:28 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.575: +0 -38
lines
Diff to previous 1.575 (colored)
remove unused debugging code remove some unused debugging code
Revision 1.575 / (download) - annotate - [select for diffs], Thu Dec 12 17:04:17 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.574: +10 -10
lines
Diff to previous 1.574 (colored)
remove xfs_dm_send_create_event call dm_send_send_create_event instead of xfs_dm_send_create_event
Revision 1.574 / (download) - annotate - [select for diffs], Fri Nov 22 07:45:15 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.573: +99 -124
lines
Diff to previous 1.573 (colored)
Minor formatting and code consistency cleanups. Minor cleanups - format code consistently; keep details of dentry internals over with the other Linux-specific code.
Revision 1.573 / (download) - annotate - [select for diffs], Wed Nov 13 23:11:12 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.572: +0 -0
lines
Diff to previous 1.572 (colored)
Undoes mod: 2.4.x-xfs:slinx:132930a Rethink some of those recent types changes slightly.
Revision 1.572 / (download) - annotate - [select for diffs], Wed Nov 13 02:25:49 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.571: +57 -55
lines
Diff to previous 1.571 (colored)
Change AT_* to XFS_AT_* to prevent namespace collisions; move some type declarations into more appropriate places. Change AT_* to XFS_AT_* to prevent namespace collisions.
Revision 1.571 / (download) - annotate - [select for diffs], Sun Oct 27 02:27:15 2002 UTC (14 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.570: +9 -0
lines
Diff to previous 1.570 (colored)
Prevent a couple transactions from happening on ro mounts Before calling xfs_inactive_free_eofblocks, check for VFS_RDONLY. Don't do it if it's set, as this may be a read-only device, and the resulting log I/O would shut down the fs. If this is just a read-only mount & we're recovering the log, VFS_RDONLY will be turned off and we'll proceed.
Revision 1.570 / (download) - annotate - [select for diffs], Wed Oct 23 04:21:07 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.569: +28 -28
lines
Diff to previous 1.569 (colored)
Undoes mod: 2.4.x-xfs:slinx:130826a Revert STATIC->static change
Revision 1.569 / (download) - annotate - [select for diffs], Wed Oct 23 03:54:05 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.568: +28 -28
lines
Diff to previous 1.568 (colored)
Replace STATIC with static in xfs code
Revision 1.568 / (download) - annotate - [select for diffs], Fri Oct 11 15:30:34 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.567: +0 -1
lines
Diff to previous 1.567 (colored)
merge strategy and bmap calls, they are two aspects of the same operation. remove strategy from the vop definitions
Revision 1.567 / (download) - annotate - [select for diffs], Wed Oct 9 03:06:48 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.566: +6 -6
lines
Diff to previous 1.566 (colored)
Global search and replace of the b* memory routines to their mem* equivalents. (bcopy->memcopy, ovbcopy->memmove, bzero->memset, bcmp->memcmp).
Revision 1.566 / (download) - annotate - [select for diffs], Wed Oct 2 17:25:30 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.565: +7 -7
lines
Diff to previous 1.565 (colored)
This is a two fold change, first it moves the translation between linux dev_t and kdev_t up the call stack in xfs and makes the bulk of xfs work in terms of its on disk dev_t format. It also cleans up a few related chunks of code. The other part of the change reworks how we keep the linux inode contents and the xfs inode fields in sync. A number of places where we resynced the two have been removed, these were basically replicating work elsewhere in the filesystem. We now also ensure that the inode fields are filled in before calling unlock_new_inode - there used to be a window. Finally all the code which hooks together the linux inode and the xfs inode is brought together as a more coherent whole rather than being scattered around the inode create path. Most calls to revalidate the linux inode from the xfs inode are removed. At this level all the code now speaks in terms of xfs dev_t format.
Revision 1.565 / (download) - annotate - [select for diffs], Mon Sep 23 22:04:49 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.564: +56 -124
lines
Diff to previous 1.564 (colored)
Fold some code paths together in the xfs fsync implementation. Code inspection revealed two large chunks of code on different sides of an if which were identical except for one line. fold together the if and else cases for syncing an inode to disk using a transaction. They were identical except for one line.
Revision 1.564 / (download) - annotate - [select for diffs], Thu Sep 19 18:19:37 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.563: +1 -7
lines
Diff to previous 1.563 (colored)
Simplify xfs_dir_lookup_int Adopt for new xfs_dir_lookup_int prototype
Revision 1.563 / (download) - annotate - [select for diffs], Fri Sep 13 18:24:43 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.562: +87 -325
lines
Diff to previous 1.562 (colored)
remove dead code paths from create/mkdir/link/symlink
Revision 1.562 / (download) - annotate - [select for diffs], Mon Sep 2 13:01:45 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.561: +1 -1
lines
Diff to previous 1.561 (colored)
make xfs_link static
Revision 1.561 / (download) - annotate - [select for diffs], Mon Sep 2 01:39:23 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.560: +1 -2
lines
Diff to previous 1.560 (colored)
remove local variable "sync_mode" which was intended to be removed before previous checkin.
Revision 1.560 / (download) - annotate - [select for diffs], Sun Sep 1 12:43:34 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.559: +25 -25
lines
Diff to previous 1.559 (colored)
fix a hole between sync and reclaim, clean up finish_reclaim code, add comments
Revision 1.559 / (download) - annotate - [select for diffs], Thu Aug 29 16:00:10 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.558: +0 -26
lines
Diff to previous 1.558 (colored)
cleanup/optimize xfs_dir_lookup_int()
Revision 1.558 / (download) - annotate - [select for diffs], Wed Aug 28 02:21:15 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.557: +3 -4
lines
Diff to previous 1.557 (colored)
Remove extraneous comments, re-order unlocks (cosmetic)
Revision 1.557 / (download) - annotate - [select for diffs], Tue Aug 27 18:27:46 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.556: +10 -5
lines
Diff to previous 1.556 (colored)
put back some inode hash locking
Revision 1.556 / (download) - annotate - [select for diffs], Tue Aug 27 14:56:45 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.555: +12 -135
lines
Diff to previous 1.555 (colored)
remove extra generation number checks
Revision 1.555 / (download) - annotate - [select for diffs], Mon Aug 26 17:41:48 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.554: +2 -67
lines
Diff to previous 1.554 (colored)
clean up dead paths in reclaim code
Revision 1.554 / (download) - annotate - [select for diffs], Mon Aug 26 14:58:54 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.553: +0 -10
lines
Diff to previous 1.553 (colored)
remove unneeded vnode type checks
Revision 1.553 / (download) - annotate - [select for diffs], Sat Aug 24 12:39:22 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.552: +0 -80
lines
Diff to previous 1.552 (colored)
remove redundant checks for working in an unlinked directory.
Revision 1.552 / (download) - annotate - [select for diffs], Fri Aug 16 20:44:19 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.551: +56 -18
lines
Diff to previous 1.551 (colored)
extend the flush_inode interface in xfs
Revision 1.551 / (download) - annotate - [select for diffs], Tue Aug 13 16:09:38 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.550: +1 -1
lines
Diff to previous 1.550 (colored)
rationalize xfs <-> pagebuf interface
Revision 1.550 / (download) - annotate - [select for diffs], Mon Aug 12 20:17:49 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.549: +3 -0
lines
Diff to previous 1.549 (colored)
Allow non-root to set sticky bit on regular files. (Linux difference from Irix, apparently).
Revision 1.549 / (download) - annotate - [select for diffs], Fri Aug 9 14:23:41 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.548: +0 -5
lines
Diff to previous 1.548 (colored)
clean up vnode flags
Revision 1.548 / (download) - annotate - [select for diffs], Tue Jul 30 21:24:38 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.547: +2 -20
lines
Diff to previous 1.547 (colored)
remove some dead vop arguments
Revision 1.547 / (download) - annotate - [select for diffs], Tue Jul 30 13:52:51 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.546: +0 -29
lines
Diff to previous 1.546 (colored)
remove vop_seek
Revision 1.546 / (download) - annotate - [select for diffs], Sat Jul 27 14:25:06 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.545: +4 -9
lines
Diff to previous 1.545 (colored)
remove a cell_capable ifdef
Revision 1.545 / (download) - annotate - [select for diffs], Tue Jul 23 16:35:37 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.544: +2 -7
lines
Diff to previous 1.544 (colored)
remove unused xfs_bmapi vars
Revision 1.544 / (download) - annotate - [select for diffs], Mon Jul 22 20:50:38 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.543: +1 -1
lines
Diff to previous 1.543 (colored)
kill LINVFS_GET_VPTR
Revision 1.543 / (download) - annotate - [select for diffs], Mon Jul 22 18:34:31 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.542: +1 -1
lines
Diff to previous 1.542 (colored)
remove kdev_t abuse from XFS
Revision 1.542 / (download) - annotate - [select for diffs], Fri Jul 19 16:06:15 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.541: +2 -2
lines
Diff to previous 1.541 (colored)
remove unecessary casts
Revision 1.541 / (download) - annotate - [select for diffs], Thu Jul 18 17:35:16 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.540: +37 -37
lines
Diff to previous 1.540 (colored)
update Designated initializer format
Revision 1.540 / (download) - annotate - [select for diffs], Fri Jul 12 21:03:14 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.539: +1 -192
lines
Diff to previous 1.539 (colored)
remove xfs_allocstore and a call to vop_realvp
Revision 1.539 / (download) - annotate - [select for diffs], Fri Jul 12 16:42:01 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.538: +0 -8
lines
Diff to previous 1.538 (colored)
remove XFS_BIG_FILES ifdefs
Revision 1.538 / (download) - annotate - [select for diffs], Thu Jul 11 17:18:33 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.537: +4 -4
lines
Diff to previous 1.537 (colored)
change ih_lock to an read/write spin lock
Revision 1.537 / (download) - annotate - [select for diffs], Thu Jul 11 16:20:51 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.536: +0 -23
lines
Diff to previous 1.536 (colored)
remove VOP_CLOSE
Revision 1.536 / (download) - annotate - [select for diffs], Wed Jul 10 19:00:42 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.535: +504 -504
lines
Diff to previous 1.535 (colored)
whitespace cleanup
Revision 1.535 / (download) - annotate - [select for diffs], Wed Jul 10 14:44:55 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.534: +0 -9
lines
Diff to previous 1.534 (colored)
do not pass cwd into rmdir
Revision 1.534 / (download) - annotate - [select for diffs], Mon Jul 8 22:09:30 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.533: +1 -2
lines
Diff to previous 1.533 (colored)
changes xfs_inval_cached_pages interface
Revision 1.533 / (download) - annotate - [select for diffs], Mon Jul 8 20:25:42 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.532: +61 -5
lines
Diff to previous 1.532 (colored)
Add an iflush call which will initiate an inode flush to disk if it can, otherwise return EAGAIN.
Revision 1.532 / (download) - annotate - [select for diffs], Thu Jun 20 15:21:23 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.531: +0 -6
lines
Diff to previous 1.531 (colored)
remove xfs_stickytest
Revision 1.531 / (download) - annotate - [select for diffs], Thu Jun 20 05:33:04 2002 UTC (15 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.530: +1 -2
lines
Diff to previous 1.530 (colored)
xfs_trans_mod_dquot_byino is now void, don't cast to void.
Revision 1.530 / (download) - annotate - [select for diffs], Wed Jun 5 15:53:46 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.529: +47 -71
lines
Diff to previous 1.529 (colored)
Add dentries into the vops, and get the inode from the dentry in unlink and rmdir.
Revision 1.529 / (download) - annotate - [select for diffs], Tue Jun 4 16:30:46 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.528: +1 -1
lines
Diff to previous 1.528 (colored)
Update copyright dates
Revision 1.528 / (download) - annotate - [select for diffs], Fri May 31 00:44:20 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.527: +6 -6
lines
Diff to previous 1.527 (colored)
kdev_t changes to sync up the 2.4 code base with the 2.5 code (incl. use of the kdev compat macros, removed pb_dev from page_buf_t, made XFS_BUF_TARGET use match up with current 2.5, removed unused q_dev field from xfs_dquot).
Revision 1.527 / (download) - annotate - [select for diffs], Tue May 28 22:30:45 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.526: +0 -13
lines
Diff to previous 1.526 (colored)
Remove checks for VISSWAP, it's never set. Remove xfs_pre_rename, xfs_pre_rmdir, xfs_pre_remove, these either checked flags that are never set, or duplicated standard Linux VFS checks already in place.
Revision 1.526 / (download) - annotate - [select for diffs], Mon May 20 20:33:09 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.525: +0 -1
lines
Diff to previous 1.525 (colored)
remove sethole vop
Revision 1.525 / (download) - annotate - [select for diffs], Thu May 16 16:00:48 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.524: +0 -5
lines
Diff to previous 1.524 (colored)
remove some vops
Revision 1.524 / (download) - annotate - [select for diffs], Thu Apr 18 20:59:47 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.523: +1 -1
lines
Diff to previous 1.523 (colored)
And now _really_ turn off that check...
Revision 1.523 / (download) - annotate - [select for diffs], Thu Apr 18 20:53:35 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.522: +9 -0
lines
Diff to previous 1.522 (colored)
Remove extra access check in lookup path
Revision 1.522 / (download) - annotate - [select for diffs], Thu Mar 28 15:06:54 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.521: +4 -1
lines
Diff to previous 1.521 (colored)
Merge irix6.5f:irix:114941b Bug 852300. In xfs_create_new(), for an existing file, if there are no changes made, then VOP_VNODE_CHANGE(x, VCHANGE_FLAGS_TRUNCATED, 3) must be called to release the IO token, clear the DVN_RECREATE flag, and unlock the dsv_dirlock.
Revision 1.521 / (download) - annotate - [select for diffs], Wed Mar 27 13:11:14 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.520: +0 -12
lines
Diff to previous 1.520 (colored)
remove bogus asserts
Revision 1.520 / (download) - annotate - [select for diffs], Tue Mar 26 16:19:25 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.519: +6 -10
lines
Diff to previous 1.519 (colored)
remove usage of i_dev
Revision 1.519 / (download) - annotate - [select for diffs], Mon Mar 25 03:32:38 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.518: +7 -2
lines
Diff to previous 1.518 (colored)
Prepare pagebuf APIs for multiple blocksize support. In particular, the IO path needs to get access to blocksize information which currently is only held in the xfs_mount structure -- this change reorganises a few things so that the necessary information is available to the code that needs it. We also no longer need pbm_dev field (pb_bmap_t) as this is now available from pb_target_t always.
Revision 1.518 / (download) - annotate - [select for diffs], Thu Mar 14 19:58:22 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.517: +17 -0
lines
Diff to previous 1.517 (colored)
Do not report stripesize back in st_blocksize - it confuses applications on linux.
Revision 1.517 / (download) - annotate - [select for diffs], Wed Mar 6 19:58:25 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.516: +0 -36
lines
Diff to previous 1.516 (colored)
remove readahead reset macro calls, and iocore_reset calls - the latter did nothing and we were obtaining a lock to do it.
Revision 1.516 / (download) - annotate - [select for diffs], Tue Feb 26 00:33:20 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.515: +2 -139
lines
Diff to previous 1.515 (colored)
Merge of 2.4.18-xfs:slinx:112528b by nathans. remove several no-longer-used fields (iosize) from the xfs_iocore_t.
Revision 1.515 / (download) - annotate - [select for diffs], Mon Feb 25 23:42:16 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.514: +4 -9
lines
Diff to previous 1.514 (colored)
Merge of 2.4.18-xfs:slinx:111144a by nathans. Kernel changes to transition us to the new extended attribute and ACL interfaces. Some minor code rearranging (files moved, some deleted, some new ones from ext2/ext3 ACL project) too.
Revision 1.514 / (download) - annotate - [select for diffs], Thu Jan 31 11:43:06 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.513: +2 -2
lines
Diff to previous 1.513 (colored)
Merge of 2.5.x-xfs:slinx:110319a by lord. vnode/inode layout and allocation changed
Revision 1.513 / (download) - annotate - [select for diffs], Mon Nov 5 18:40:15 2001 UTC (15 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.512: +6 -6
lines
Diff to previous 1.512 (colored)
Fix error return on too long pathname component.
Revision 1.512 / (download) - annotate - [select for diffs], Tue Sep 18 20:56:42 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.511: +8 -0
lines
Diff to previous 1.511 (colored)
Update linux inode block count after pre-alloced space is freed. Call VOP_RELEASE when releasing inodes bumped from the refcache.
Revision 1.511 / (download) - annotate - [select for diffs], Tue Sep 11 19:25:00 2001 UTC (16 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.510: +5 -4
lines
Diff to previous 1.510 (colored)
fix min max typing issues
Revision 1.510 / (download) - annotate - [select for diffs], Mon Aug 20 07:39:46 2001 UTC (16 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.509: +2 -0
lines
Diff to previous 1.509 (colored)
make xfs_allocstore conditional - its only needed if CELL_CAPABLE set.
Revision 1.509 / (download) - annotate - [select for diffs], Wed Aug 15 11:55:01 2001 UTC (16 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.508: +16 -9
lines
Diff to previous 1.508 (colored)
Second attempt at ABBA deadlock fix between inode and inode hash lock, this time without introducing a race between inode lookup and teardown.
Revision 1.508 / (download) - annotate - [select for diffs], Tue Aug 14 21:58:24 2001 UTC (16 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.507: +2 -11
lines
Diff to previous 1.507 (colored)
Remove ABBA deadlock between ilock and ihash lock, the ihash lock in xfs_finish_reclaim is a hang over from an earlier implementation on Linux, we do not need it anymore, and at some point this deadlock got introduced.
Revision 1.507 / (download) - annotate - [select for diffs], Tue Aug 14 13:35:18 2001 UTC (16 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.506: +10 -2
lines
Diff to previous 1.506 (colored)
Merge of irix6.5f:irix:99901a Add xfs_ioerror_alert calls on I/O errors
Revision 1.506 / (download) - annotate - [select for diffs], Tue Jun 26 22:07:29 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.505: +1 -1
lines
Diff to previous 1.505 (colored)
Set the mtime on a zero length file when a create is being done on top of it.
Revision 1.505 / (download) - annotate - [select for diffs], Mon Jun 25 20:12:14 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.504: +2 -2
lines
Diff to previous 1.504 (colored)
reorder xfs_getattr a little so we can get the blockcount of a directory cheaply.
Revision 1.504 / (download) - annotate - [select for diffs], Fri Jun 8 20:55:16 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.503: +8 -3
lines
Diff to previous 1.503 (colored)
Make the mode used on flushing of freed inode controllable - on unmount we do not want to be delayed write as we can end up waiting for a buffer for several seconds.
Revision 1.503 / (download) - annotate - [select for diffs], Tue May 22 20:28:23 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.502: +4 -0
lines
Diff to previous 1.502 (colored)
When tearing down the linux inode, also teardown the xfs inode right away if it is clean. This makes the prune_icache calls free up a lot more memory.
Revision 1.502 / (download) - annotate - [select for diffs], Mon May 14 15:49:02 2001 UTC (16 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.501: +1 -3
lines
Diff to previous 1.501 (colored)
Move the call to _MAC_XFS_IACCESS() down after the call to xfs_trans_ijoin(). (irix6.5f:irix:93795a PV 819774)
Revision 1.501 / (download) - annotate - [select for diffs], Mon May 14 15:39:44 2001 UTC (16 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.500: +5 -1
lines
Diff to previous 1.500 (colored)
Add instrumentation for error conditions. (Irix6.5f:irix:93790c, PV818277)
Revision 1.500 / (download) - annotate - [select for diffs], Thu Apr 19 02:37:23 2001 UTC (16 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.499: +16 -16
lines
Diff to previous 1.499 (colored)
change XFS_STATS macro so that it doesn't rely on cpp ## to construct individual field names for the xfsstats structure. fixes up some gcc compiler warnings, for recent versions of gcc.
Revision 1.499 / (download) - annotate - [select for diffs], Tue Apr 17 01:11:30 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.498: +16 -13
lines
Diff to previous 1.498 (colored)
fix group inheritance and quota interaction (bug #821412).
Revision 1.498 / (download) - annotate - [select for diffs], Wed Apr 11 16:27:03 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.497: +2 -146
lines
Diff to previous 1.497 (colored)
Kill gratuitous prototypes
Revision 1.497 / (download) - annotate - [select for diffs], Wed Apr 11 01:44:54 2001 UTC (16 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.496: +65 -68
lines
Diff to previous 1.496 (colored)
Get rid of the last compiler warning OFF flags
Revision 1.496 / (download) - annotate - [select for diffs], Mon Apr 9 21:47:52 2001 UTC (16 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.495: +44 -44
lines
Diff to previous 1.495 (colored)
Add member labels to ops vector initializations for clarity.
Revision 1.495 / (download) - annotate - [select for diffs], Wed Apr 4 01:48:37 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.494: +2 -1
lines
Diff to previous 1.494 (colored)
fix a silly chgrp bug introduced in the group quota merge.
Revision 1.494 / (download) - annotate - [select for diffs], Tue Apr 3 15:40:17 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.493: +4 -9
lines
Diff to previous 1.493 (colored)
Fix a mandatory access control locking bug - not that Linux has the MAC code yet....
Revision 1.493 / (download) - annotate - [select for diffs], Tue Apr 3 02:52:38 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.492: +70 -68
lines
Diff to previous 1.492 (colored)
support group quotas in Linux/XFS.
Revision 1.492 / (download) - annotate - [select for diffs], Mon Mar 12 19:41:17 2001 UTC (16 years, 7 months ago) by sandeen
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.491: +0 -0
lines
Diff to previous 1.491 (colored)
If the file has attributes, set the xflags to indicate thus. I can't see any real value in XFS. In CXFS we can check that flag to determine if an RPC is needed.
Revision 1.491 / (download) - annotate - [select for diffs], Tue Mar 6 21:05:35 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.490: +4 -0
lines
Diff to previous 1.490 (colored)
Change release code to do nothing if an inode is in the reference cache
Revision 1.490 / (download) - annotate - [select for diffs], Tue Mar 6 19:44:15 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.489: +16 -0
lines
Diff to previous 1.489 (colored)
remove inode being deleted from nfs reference cache
Revision 1.489 / (download) - annotate - [select for diffs], Mon Mar 5 20:19:59 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.488: +1 -1
lines
Diff to previous 1.488 (colored)
Add back VN_DIRTY since it is easy to work this out now
Revision 1.488 / (download) - annotate - [select for diffs], Wed Feb 21 00:50:22 2001 UTC (16 years, 7 months ago) by mann
Branch: MAIN
Changes since 1.487: +5 -2
lines
Diff to previous 1.487 (colored)
inode should be unlocked before reclaim
Revision 1.487 / (download) - annotate - [select for diffs], Tue Jan 23 07:11:51 2001 UTC (16 years, 8 months ago) by tes
Branch: MAIN
Changes since 1.486: +0 -63
lines
Diff to previous 1.486 (colored)
ACL config cleanup
Revision 1.486 / (download) - annotate - [select for diffs], Fri Jan 19 06:50:04 2001 UTC (16 years, 8 months ago) by tes
Branch: MAIN
Changes since 1.485: +2 -0
lines
Diff to previous 1.485 (colored)
Make ACLs compile configurable
Revision 1.485 / (download) - annotate - [select for diffs], Thu Jan 18 22:31:19 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.484: +1 -0
lines
Diff to previous 1.484 (colored)
Add xfs_strategy to vnode ops
Revision 1.484 / (download) - annotate - [select for diffs], Mon Jan 15 10:28:46 2001 UTC (16 years, 9 months ago) by tes
Branch: MAIN
Changes since 1.483: +23 -21
lines
Diff to previous 1.483 (colored)
Add XFS/ACL support
Revision 1.483 / (download) - annotate - [select for diffs], Fri Jan 12 03:52:05 2001 UTC (16 years, 9 months ago) by dxm
Branch: MAIN
Changes since 1.482: +1 -1
lines
Diff to previous 1.482 (colored)
change loff_t in bmap to xfs_off_t for cxfs. move vop_release.
Revision 1.482 / (download) - annotate - [select for diffs], Fri Jan 5 03:17:43 2001 UTC (16 years, 9 months ago) by dxm
Branch: MAIN
Changes since 1.481: +1 -1
lines
Diff to previous 1.481 (colored)
move vop_ioctl back to where it was in irix
Revision 1.481 / (download) - annotate - [select for diffs], Wed Dec 20 03:23:53 2000 UTC (16 years, 9 months ago) by dxm
Branch: MAIN
Changes since 1.480: +6 -4
lines
Diff to previous 1.480 (colored)
put vops back to the same as irix
Revision 1.480 / (download) - annotate - [select for diffs], Wed Dec 13 06:02:07 2000 UTC (16 years, 10 months ago) by ivanr
Branch: MAIN
Changes since 1.479: +6 -5
lines
Diff to previous 1.479 (colored)
add parameter to VOP_TOSS_PAGES VOP_FLUSH_PAGES and VOP_FLUSHINVAL_PAGES for irix compatibility
Revision 1.479 / (download) - annotate - [select for diffs], Tue Dec 12 00:27:26 2000 UTC (16 years, 10 months ago) by ivanr
Branch: MAIN
Changes since 1.478: +8 -8
lines
Diff to previous 1.478 (colored)
undo mod 80332a: we will solve the problem a different way Undoes mod: 2.4.x-xfs:slinx:80332a
Revision 1.478 / (download) - annotate - [select for diffs], Sun Dec 10 23:21:19 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
Changes since 1.477: +8 -8
lines
Diff to previous 1.477 (colored)
rename fs_* to xfs_fs_*
Revision 1.477 / (download) - annotate - [select for diffs], Tue Oct 10 14:38:27 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.476: +12 -30
lines
Diff to previous 1.476 (colored)
Extensions to rwlock interface for trylock variants
Revision 1.476 / (download) - annotate - [select for diffs], Tue Oct 3 19:46:33 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.475: +2 -2
lines
Diff to previous 1.475 (colored)
fix error return values for rmdir to be correct for linux
Revision 1.475 / (download) - annotate - [select for diffs], Fri Sep 29 19:03:03 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.474: +1 -1
lines
Diff to previous 1.474 (colored)
Merge Irix mod to Back out stripe width alignment
Revision 1.474 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.473: +19 -221
lines
Diff to previous 1.473 (colored)
use xfs.h, remove all traces of SIM, push extern declarations into headers, dead code removal.
Revision 1.473 / (download) - annotate - [select for diffs], Fri Sep 22 19:22:18 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.472: +41 -2
lines
Diff to previous 1.472 (colored)
add xfs_fid2 for dmapi add xfs_fid2
Revision 1.472 / (download) - annotate - [select for diffs], Thu Sep 7 06:52:23 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.471: +1 -29
lines
Diff to previous 1.471 (colored)
cleanse sim remnants, minor tidying, remove dead code/types/#defines.
Revision 1.471 / (download) - annotate - [select for diffs], Fri Aug 18 19:27:11 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.470: +6 -9
lines
Diff to previous 1.470 (colored)
Remove references to VN_DIRTY - it is gone (and didn't do aything when it was there)
Revision 1.470 / (download) - annotate - [select for diffs], Mon Aug 7 15:12:24 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.469: +12 -8
lines
Diff to previous 1.469 (colored)
Make 64 bit divide and modulus operations explicit
Revision 1.469 / (download) - annotate - [select for diffs], Mon Jul 31 16:16:28 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.468: +2 -2
lines
Diff to previous 1.468 (colored)
Bring tree up to 2.4.0-test5
Revision 1.468 / (download) - annotate - [select for diffs], Wed Jul 26 16:03:54 2000 UTC (17 years, 2 months ago) by jtk
Branch: MAIN
Changes since 1.467: +7 -7
lines
Diff to previous 1.467 (colored)
Put xfs_attr_{set,get,list,remove} back into the vnodeops.
Revision 1.467 / (download) - annotate - [select for diffs], Wed Jul 26 05:23:11 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.466: +2 -3
lines
Diff to previous 1.466 (colored)
pv 797297 tidy handling of IRIX device numbers
Revision 1.466 / (download) - annotate - [select for diffs], Sat Jul 22 04:20:01 2000 UTC (17 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.465: +1 -3
lines
Diff to previous 1.465 (colored)
merge cred, mac, & cap headers to facilitate sharing between user and kernel tools cleanly. remove some unused headers, definitions, typedefs, etc where found also.
Revision 1.465 / (download) - annotate - [select for diffs], Tue Jul 18 01:41:36 2000 UTC (17 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.464: +2 -2
lines
Diff to previous 1.464 (colored)
rework the xfs stats interface to facilitate code sharing. if there is no interface available to export the stats (i.e. procfs), don't bother compiling them in.
Revision 1.464 / (download) - annotate - [select for diffs], Mon Jul 17 20:57:01 2000 UTC (17 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.463: +3 -3
lines
Diff to previous 1.463 (colored)
use dmapi_kern.h instead of dmi_kern.h use dmapi_kern.h instead of dmi_kern.h
Revision 1.463 / (download) - annotate - [select for diffs], Fri Jul 14 21:05:29 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.462: +4 -5
lines
Diff to previous 1.462 (colored)
Really add add fid2 to vnodeops vector
Revision 1.462 / (download) - annotate - [select for diffs], Fri Jul 14 20:43:43 2000 UTC (17 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.461: +2 -1
lines
Diff to previous 1.461 (colored)
add vget and fid2 to ops vectors add fid2 to vnodeops vector
Revision 1.461 / (download) - annotate - [select for diffs], Fri Jul 7 21:00:39 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.460: +2 -10
lines
Diff to previous 1.460 (colored)
Remove calls to xfs_post_r*.
Revision 1.460 / (download) - annotate - [select for diffs], Fri Jul 7 18:36:17 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.459: +11 -3
lines
Diff to previous 1.459 (colored)
Fix the locking/unlocking in xfs_finish_reclaim for the case where it's called with the locks already held. At inactive time, if there's i_delayed_blks allocated to the inode, we need to call xfs_inactive_free_eofblocks.
Revision 1.459 / (download) - annotate - [select for diffs], Thu Jul 6 21:29:49 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.458: +27 -62
lines
Diff to previous 1.458 (colored)
Remove include <sys/dnlc.h>. Remove "ncfastdata" from xfs_dir_lookup_int calls. Remove all references to any dnlc_ routine.
Revision 1.458 / (download) - annotate - [select for diffs], Fri Jun 30 18:54:07 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.457: +24 -9
lines
Diff to previous 1.457 (colored)
fix xfs_reclaim and xfs_finish_reclaim so that a) they do the correct locking for a directory which is being removed, and b) so that they work when called from xfs_repair code.
Revision 1.457 / (download) - annotate - [select for diffs], Wed Jun 28 15:03:03 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.456: +3 -2
lines
Diff to previous 1.456 (colored)
Modify setattr in the truncate to zero case to pay attention to existing extents beying end of file, open with O_TRUNC comes this way in Linux.
Revision 1.456 / (download) - annotate - [select for diffs], Fri Jun 16 20:57:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.455: +14 -4
lines
Diff to previous 1.455 (colored)
Rearrange some #ifdef's to make the xfs_alloc_file_space() visible to the SIM library, also involved using a couple of specific cast's to keep the compiler happy when generating four different versions of the SIM library.
Revision 1.455 / (download) - annotate - [select for diffs], Thu Jun 15 21:42:59 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.454: +3 -20
lines
Diff to previous 1.454 (colored)
Pull the IRIX specific "refcache" code.
Revision 1.454 / (download) - annotate - [select for diffs], Thu Jun 15 03:01:24 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.453: +1 -39
lines
Diff to previous 1.453 (colored)
ongoing code cleanup, remove unused headers, dead code.
Revision 1.453 / (download) - annotate - [select for diffs], Tue Jun 13 20:06:43 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.452: +7 -30
lines
Diff to previous 1.452 (colored)
Remove unneeded vnode fields v_mreg, v_mregb, v_pgcnt, v_buf & v_nodeid. Fix & use the VN_CACHED() & VN_MAPPED() macros.
Revision 1.452 / (download) - annotate - [select for diffs], Fri Jun 9 06:40:03 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.451: +136 -102
lines
Diff to previous 1.451 (colored)
Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00 Use 'vn_count()' to check the reference count. Add some vn_trace_'s. Merge of 2.3.99pre2-xfs:slinx:63026a originally by cattelan on 05/30/00 Masive type update all daddr_t -> xfs_daddr_t caddr_t -> xfs_caddr_t off_t -> xfs_off_t ino_t -> xfs_ino_t off64_t -> xfs_off_t Removed need for file xfs_to_linux.h and lunux_to_xfs.h Merge of 2.3.99pre2-xfs:slinx:63177a originally by lord on 06/01/00 use the passed in vnode to locate the target inode if it is present instead of walking down the directory structure looking for it. Merge of 2.3.99pre2-xfs:slinx:63295a originally by nathans on 06/03/00 remove all references to stuff from ksa.h and psa.h. Merge of 2.3.99pre2-xfs:slinx:63404a originally by lord on 06/06/00 Break apart xfs_reclaim - flush all data during reclaim and then unlink the inode from the vnode. The xfs_finish_reclaim() function is called later to complete the teardown. This removes waiting for the log to go to disk from the delete path. Merge of 2.3.99pre2-xfs:slinx:63599a originally by lord on 06/07/00 synchronize better between one thread finishing a reclaim and another putting a vnode back in the xfs inode, it was possible for both to happen and the end result would be nasty. Merge of 2.3.99pre2-xfs:slinx:63636a originally by nathans on 06/07/00 more housekeeping - remove unused headers & dead code. Merge of 2.3.99pre2-xfs:slinx:63664a originally by nathans on 06/08/00 more housekeeping - remove unused headers & dead code.
Revision 1.451 / (download) - annotate - [select for diffs], Fri Jun 9 03:35:56 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.450: +10 -0
lines
Diff to previous 1.450 (colored)
Merge of 2.3.99pre2-xfs:slinx:57940a by ananth. Add xfs_ioctl() to the vnodeops vector.
Revision 1.450 / (download) - annotate - [select for diffs], Fri Jun 9 03:28:16 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.449: +2 -29
lines
Diff to previous 1.449 (colored)
Merge of 2.3.99pre2-xfs:slinx:56996a by ananth. Remove calls to spec_vp they do nothing
Revision 1.449 / (download) - annotate - [select for diffs], Fri Jun 9 03:24:37 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.448: +5 -7
lines
Diff to previous 1.448 (colored)
Merge of 2.3.99pre2-xfs:slinx:56595a by ananth. Change calls to VOP_FLUSH_PAGES VOP_FLUSHINVAL_PAGES and VOP_TOSS_PAGES to not take an end offset.
Revision 1.448 / (download) - annotate - [select for diffs], Fri Jun 9 03:23:30 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.447: +48 -0
lines
Diff to previous 1.447 (colored)
Merge of 2.3.99pre2-xfs:slinx:56508a by ananth. Implement the release vnode op to call xfs_inactive_free_eofblocks() ensure that we keep a reference count on the vnode returned when we make a symbolic link.
Revision 1.447 / (download) - annotate - [select for diffs], Fri Jun 9 03:16:56 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.446: +42 -287
lines
Diff to previous 1.446 (colored)
Merge of 2.3.99pre2-xfs:slinx:56119a by ananth. Have create, lookup, symlink, and mkdir set v_nodeid of new vnode. Modify symlink to return vpp. Delete xfs_create and xfs_create_exists. Rename xfs_create_new -> xfs_create.
Revision 1.446 / (download) - annotate - [select for diffs], Fri Jun 9 02:59:45 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.445: +11 -0
lines
Diff to previous 1.445 (colored)
Merge of 2.3.99pre2-xfs:slinx:55891a by ananth. Short circuit the case where we truncate a zero length file down to zero length so that we do not do a transaction. This close to doubles create/close AIM run performance.
Revision 1.445 / (download) - annotate - [select for diffs], Fri Jun 9 02:50:02 2000 UTC (17 years, 4 months ago) by kenmcd
Branch: MAIN
CVS Tags: GPL-ENCUMBRANCE
Changes since 1.444: +25 -11
lines
Diff to previous 1.444 (colored)
Updated copyright and license notices, ready for open source release Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.
Revision 1.444 / (download) - annotate - [select for diffs], Fri Jun 9 02:42:56 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
CVS Tags: DELETE
Changes since 1.443: +76 -350
lines
Diff to previous 1.443 (colored)
Merge of 2.3.99pre2-xfs:slinx:55789a by ananth. Remove include of fcntl.h Remove include of flock.h Include xfs_fs.hffff Remove crufty DATAPIPE stuff & some unused _ABI64 definitions. Remove all of xfs_fcntl().
Revision 1.443 / (download) - annotate - [select for diffs], Fri Jun 9 02:29:42 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.442: +2 -2
lines
Diff to previous 1.442 (colored)
cleanup XFS use of device types Merge of 2.3.99pre2-xfs:slinx:55615a by ananth. Merge of 2.3.42-xfs:slinx:55615a by lord.
Revision 1.442 / (download) - annotate - [select for diffs], Fri Jun 9 02:10:00 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.441: +1 -1
lines
Diff to previous 1.441 (colored)
Merge of 2.3.99pre2-xfs:slinx:46541a by ananth. Merge of 2.3.42-xfs:slinx:46541a by ananth. Header file cleanup removed the last of the #if defined(__linux__) #include <xfs_linux> #endif All os specific include file switches should now done in xfs_os_defs.h
Revision 1.441 / (download) - annotate - [select for diffs], Fri Jun 9 01:50:04 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.440: +5 -24
lines
Diff to previous 1.440 (colored)
Merge of 2.3.99pre2-xfs:slinx:46428a by ananth. Merge of 2.3.42-xfs:slinx:46428a by ananth. remove unused include files & dead code.
Revision 1.440 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:34 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.439: +97 -39
lines
Diff to previous 1.439 (colored)
use linux security mechanisms Merge of 2.3.99pre2-xfs:slinx:46379a by ananth. Merge of 2.3.42-xfs:slinx:46379a by ananth.
Revision 1.439 / (download) - annotate - [select for diffs], Fri Jun 9 01:12:46 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.438: +0 -3
lines
Diff to previous 1.438 (colored)
Merge of 2.3.99pre2-xfs:slinx:46057a by ananth. Merge of 2.3.42-xfs:slinx:46057a by ananth. remove call to bp_dcache_wbinval()
Revision 1.438 / (download) - annotate - [select for diffs], Fri Jun 9 01:11:55 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.437: +1 -10
lines
Diff to previous 1.437 (colored)
Merge of 2.3.99pre2-xfs:slinx:46048a by ananth. Merge of 2.3.42-xfs:slinx:46048a by ananth. removed linux conditionals.
Revision 1.437 / (download) - annotate - [select for diffs], Fri Jun 9 01:06:41 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.436: +5 -295
lines
Diff to previous 1.436 (colored)
Merge of 2.3.99pre2-xfs:slinx:45877a by ananth. Merge of 2.3.42-xfs:slinx:45877a by ananth. removed __linux__ conditionals, unused xfs_access, xfs_fid, xfs_fid2, xfs_frlock, xfs_allocstore, xfs_pathconf, xfs_fast_fid, xfs_ioctl routines and reworked initialization of xfs_vnodeops global to match header changes.
Revision 1.436 / (download) - annotate - [select for diffs], Fri Jun 9 00:54:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.435: +8 -2
lines
Diff to previous 1.435 (colored)
Merge of 2.3.99pre2-xfs:slinx:44904a by ananth. Merge of 2.3.42-xfs:slinx:44904a by ananth. fix debug build with pagebuf meta-data
Revision 1.435 / (download) - annotate - [select for diffs], Thu Jun 8 23:59:59 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.434: +5 -6
lines
Diff to previous 1.434 (colored)
Bring XFS upto 2.3.42 Merge of 2.3.99pre2-xfs:slinx:43458a by ananth. Merge of 2.3.42-xfs:slinx:43458a by ananth.
Revision 1.434 / (download) - annotate - [select for diffs], Sat Feb 12 01:03:17 2000 UTC (17 years, 8 months ago) by cattelan
Branch: MAIN
Changes since 1.433: +2 -2
lines
Diff to previous 1.433 (colored)
Macros for special buffer gets.
Revision 1.433 / (download) - annotate - [select for diffs], Fri Feb 11 03:35:55 2000 UTC (17 years, 8 months ago) by mostek
Branch: MAIN
Changes since 1.432: +3 -3
lines
Diff to previous 1.432 (colored)
Use xfs_rwlock/xfs_rwunlock in the I/O path. This will slow things down, but let's make sure things work before we try and run without locks.
Revision 1.432 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
Changes since 1.431: +12 -17
lines
Diff to previous 1.431 (colored)
Encumbrance review done. Add copyright and license words consistent with GPL. Refer to http://fsg.melbourne.sgi.com/reviews/ for details. There is a slight change in the license terms and conditions words to go with the copyrights, so most of the files are not getting new GPL's, just updated versions ... but there are 20-30 more files here as well.
Revision 1.431 / (download) - annotate - [select for diffs], Mon Jan 24 21:38:02 2000 UTC (17 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.430: +22 -17
lines
Diff to previous 1.430 (colored)
Merge from irix/irix6.5f to pingu/slinx-xfs Merge of irix6.5f:irix:32165a created by doucette on 11/02/99 Fix realtime space reservation in xfs_alloc_file_space, for files with an extent size. Cleanup in xfs_zero_remaining_bytes, don't zero if the extent is unwritten. xfs_free_file_space uses unwritten extents to "free" partial extents if possible (letting xfs_bunmapi do the work). Remove the "extra" zeroing of data to be freed from xfs_free_file_space. Merge of irix6.5f:irix:32672a created by doucette on 11/05/99 Fix xfs_alloc_file_space use of uninitialized variable 'error' in an error path, give back EINVAL instead. Merge of irix6.5f:irix:33831a created by jtk on 11/22/99 Move the debugging code in xfs_remove under an #ifdef DEBUG, the referencing of a global variable out of this code was becoming visible during performance testing.
Revision 1.430 / (download) - annotate - [select for diffs], Thu Jan 13 00:29:10 2000 UTC (17 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.429: +3 -3
lines
Diff to previous 1.429 (colored)
XFS_* macro additions
Revision 1.429 / (download) - annotate - [select for diffs], Tue Dec 21 10:01:54 1999 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.428: +24 -1
lines
Diff to previous 1.428 (colored)
Encumbrance review done. Add copyright and license words consistent with GPL.
Revision 1.428 / (download) - annotate - [select for diffs], Fri Dec 10 20:44:19 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.427: +26 -23
lines
Diff to previous 1.427 (colored)
Remove use of pn_*. Only use was checking that component within symbolic link was too big. This can be done without any pn_* code.
Revision 1.427 / (download) - annotate - [select for diffs], Fri Dec 10 20:20:52 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.426: +2 -2
lines
Diff to previous 1.426 (colored)
More macros bwrite -> XFS_bwrite bawrite -> XFS_bawrite biodone -> xfs_biodone bwait -> xfs_bwait incore -> xfs_incore incore_relse -> xfs_incore_relse incore_match -> xfs_incore_match baread -> xfs_baread
Revision 1.426 / (download) - annotate - [select for diffs], Thu Dec 2 21:00:29 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.425: +1 -1
lines
Diff to previous 1.425 (colored)
abstract b_pincount
Revision 1.425 / (download) - annotate - [select for diffs], Thu Nov 25 06:29:10 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.424: +8 -6
lines
Diff to previous 1.424 (colored)
Last of the b_flags abstraction.
Revision 1.424 / (download) - annotate - [select for diffs], Wed Nov 24 21:48:45 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.423: +1 -1
lines
Diff to previous 1.423 (colored)
hide read_buf and get_buf calls
Revision 1.423 / (download) - annotate - [select for diffs], Tue Nov 23 20:52:36 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.422: +3 -5
lines
Diff to previous 1.422 (colored)
make all xfs buffer access be buftarg_t based
Revision 1.422 / (download) - annotate - [select for diffs], Tue Nov 23 20:09:20 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.421: +20 -20
lines
Diff to previous 1.421 (colored)
reomve the unused functions from the vop list
Revision 1.421 / (download) - annotate - [select for diffs], Tue Nov 23 16:21:39 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.420: +1 -1
lines
Diff to previous 1.420 (colored)
hide b_bcount and b_blkno
Revision 1.420 / (download) - annotate - [select for diffs], Mon Nov 22 22:58:48 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.419: +3 -3
lines
Diff to previous 1.419 (colored)
virtualize brelse() call
Revision 1.419 / (download) - annotate - [select for diffs], Mon Nov 22 19:39:07 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.418: +3 -3
lines
Diff to previous 1.418 (colored)
virtualize interface to buffer data
Revision 1.418 / (download) - annotate - [select for diffs], Wed Nov 17 19:22:23 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.417: +5 -5
lines
Diff to previous 1.417 (colored)
replace struct buf and buf_t references with xfs_buf and xfs_buf_t
Revision 1.417 / (download) - annotate - [select for diffs], Mon Nov 15 23:07:16 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.416: +82 -52
lines
Diff to previous 1.416 (colored)
Merge from irix/irix6.5f to pingu/slinx-xfs Merge of irix6.5f:irix:32165a created by doucette on 11/02/99 Fix realtime space reservation in xfs_alloc_file_space, for files with an extent size. Cleanup in xfs_zero_remaining_bytes, don't zero if the extent is unwritten. xfs_free_file_space uses unwritten extents to "free" partial extents if possible (letting xfs_bunmapi do the work). Remove the "extra" zeroing of data to be freed from xfs_free_file_space. Merge of irix6.5f:irix:32672a created by doucette on 11/05/99 Fix xfs_alloc_file_space use of uninitialized variable 'error' in an error path, give back EINVAL instead.
Revision 1.416 / (download) - annotate - [select for diffs], Thu Oct 28 11:11:15 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.415: +6 -3
lines
Diff to previous 1.415 (colored)
cleanup debug message and remove bad hedaer file
Revision 1.415 / (download) - annotate - [select for diffs], Thu Oct 28 10:52:19 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.414: +18 -15
lines
Diff to previous 1.414 (colored)
In xfs_free_file_space(), don't adjust offset and length arguments to xfs_bunmapi() for real-time files. Let xfs_bunmapi() handle preserving real-time-extent-sized allocation. Assume worst case real-time extent size alignment of the freed range for purposes of zeroing bytes that potentially will remain mapped.
Revision 1.414 / (download) - annotate - [select for diffs], Thu Oct 28 10:51:09 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.413: +1 -1
lines
Diff to previous 1.413 (colored)
Replace the FSC_NOTIFY_LINK_REMOVED macro with a direct VOP_LINK_REMOVED call.
Revision 1.413 / (download) - annotate - [select for diffs], Thu Oct 28 10:45:22 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.412: +11 -3
lines
Diff to previous 1.412 (colored)
Return the correct d_miniosz for fcntl.
Revision 1.412 / (download) - annotate - [select for diffs], Thu Oct 28 10:43:37 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.411: +2 -4
lines
Diff to previous 1.411 (colored)
xfs_getattr now always checks ATTR_LAZY before calling xfs_iunlock. Remove an incorrect assert that was trapping any xfs_getattr that had the ATTR_LAZY flag set but wanted something other than AT_SIZE.
Revision 1.411 / (download) - annotate - [select for diffs], Thu Oct 28 10:42:15 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.410: +12 -5
lines
Diff to previous 1.410 (colored)
xfs_getattr now looks at the ATTR_LAZY flag and when set does not grab the ilock. This is only safe when called to get one attribute, and is intended for use by pas_vfault.
Revision 1.410 / (download) - annotate - [select for diffs], Wed Oct 6 21:58:53 1999 UTC (18 years ago) by cattelan
Branch: MAIN
Changes since 1.409: +1 -1
lines
Diff to previous 1.409 (colored)
Missed files on last checkin.
Revision 1.409 / (download) - annotate - [select for diffs], Thu Sep 2 19:11:37 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.408: +3 -0
lines
Diff to previous 1.408 (colored)
Added defines... getting the undefined symbol list down.
Revision 1.408 / (download) - annotate - [select for diffs], Fri Aug 27 22:00:32 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.407: +9 -0
lines
Diff to previous 1.407 (colored)
Header file checkpoint... libsim mkfs xfsdb build\n as well as most of the kernel files
Revision 1.407 / (download) - annotate - [select for diffs], Wed Aug 18 22:56:59 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.406: +4 -2
lines
Diff to previous 1.406 (colored)
Minor compile fixes... fix some alignment problems
Revision 1.406 / (download) - annotate - [select for diffs], Wed Aug 18 17:43:46 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.405: +9 -5
lines
Diff to previous 1.405 (colored)
First compiling version of mkfs unsing XFS libsim. Mostly just addtions of cut up irix header files.
Revision 1.405 / (download) - annotate - [select for diffs], Fri Jun 18 18:00:02 1999 UTC (18 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.404: +6 -3
lines
Diff to previous 1.404 (colored)
Add #pragma mips_frequency_hint NEVER to CXFS specific code path
Revision 1.404 / (download) - annotate - [select for diffs], Tue May 25 20:01:08 1999 UTC (18 years, 4 months ago) by clk
Branch: MAIN
Changes since 1.403: +1 -68
lines
Diff to previous 1.403 (colored)
Remove XFS VOP_FRLOCK2 and VOP_RWLOCKING.
Revision 1.403 / (download) - annotate - [select for diffs], Mon May 17 22:03:42 1999 UTC (18 years, 5 months ago) by lhd
Branch: MAIN
Changes since 1.402: +1 -1
lines
Diff to previous 1.402 (colored)
In the preallocate path, don't force allocation into low-space mode when the allocation is larger than any single allocation group can satisfy. This shouldn't cause deadlock (see bug 648359) because preallocation only gets a single extent at a time, each time in a separate transaction.
Revision 1.402 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.401: +177 -75
lines
Diff to previous 1.401 (colored)
Merge from irix/cxfs-f to irix/irix6.5f Merge of cxfs-f:irix:15011b created by lord on 05/11/99 Merge from irix/cxfs to irix/cxfs-f Merge of cxfs:irix:13423a created by lord on 04/19/99 CXFS infrastructure checkin
Revision 1.401 / (download) - annotate - [select for diffs], Thu May 13 15:53:16 1999 UTC (18 years, 5 months ago) by lhd
Branch: MAIN
Changes since 1.400: +1 -1
lines
Diff to previous 1.400 (colored)
Add NULL dio argument to xfs_inval_cached_pages call in xfs_free_file_space. A NULL dio tells xfs_inval_cached_pages it is not being called during direct I/O.
Revision 1.400 / (download) - annotate - [select for diffs], Tue Apr 27 18:11:47 1999 UTC (18 years, 5 months ago) by ethan
Branch: MAIN
Changes since 1.399: +1 -1
lines
Diff to previous 1.399 (colored)
bring stop offsets into sync between buffer and page caches bring stop offsets into sync between buffer and page caches
Revision 1.399 / (download) - annotate - [select for diffs], Tue Mar 2 03:02:44 1999 UTC (18 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.398: +1 -0
lines
Diff to previous 1.398 (colored)
In xfs_reclaim, get the inode flush lock back after the call to xfs_iflush to coordinate with xfs_iflush_done. This will prevent a possible race where xfs_iflush could return before all the i/o done callbacks are completed.
Revision 1.398 / (download) - annotate - [select for diffs], Fri Feb 26 01:27:32 1999 UTC (18 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.397: +2 -2
lines
Diff to previous 1.397 (colored)
Fix a conditional in xfs_inactive where xfs_inactive_free_eofblocks isn't called when there are pages attached to the vnode but the file size is zero.
Revision 1.397 / (download) - annotate - [select for diffs], Thu Feb 4 01:28:30 1999 UTC (18 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.396: +18 -15
lines
Diff to previous 1.396 (colored)
Change includes for v2 directory support. Vector out v1/v2 directory operations.
Revision 1.396 / (download) - annotate - [select for diffs], Thu Dec 3 23:25:10 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.395: +2 -1
lines
Diff to previous 1.395 (colored)
Fix the total argument to xfs_bmapi so it reflects the block reservation gotten from xfs_trans_reserve. pv: 648359
Revision 1.395 / (download) - annotate - [select for diffs], Wed Dec 2 08:14:17 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.394: +29 -18
lines
Diff to previous 1.394 (colored)
In xfs_link, call xfs_dir_canenter before xfs_dir_createname if we have no space reservation. In xfs_rmdir, get a 0 space reservation if we can't get the real space reservation (as is done for xfs_remove). In xfs_symlink, properly account for resblks throughout so we don't make it go negative to a xfs_bmapi call. pv: 653987
Revision 1.394 / (download) - annotate - [select for diffs], Wed Dec 2 07:06:04 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.393: +47 -20
lines
Diff to previous 1.393 (colored)
Add namelength argument to top-level directory routines that don't already have it, so we can cut down on duplicated strlen calls. Moves the check for MAXNAMELEN out into the callers. pv: 653733
Revision 1.393 / (download) - annotate - [select for diffs], Wed Nov 18 22:17:38 1998 UTC (18 years, 10 months ago) by ethan
Branch: MAIN
Changes since 1.392: +16 -18
lines
Diff to previous 1.392 (colored)
back out xfs_vnodeops.c changes back out xfs_vnodeops.c changes
Revision 1.392 / (download) - annotate - [select for diffs], Tue Nov 17 23:17:37 1998 UTC (18 years, 10 months ago) by ethan
Branch: MAIN
Changes since 1.391: +19 -17
lines
Diff to previous 1.391 (colored)
Changes for bug 622333, improving write performance and blocking B_BDFLUSH
Revision 1.391 / (download) - annotate - [select for diffs], Wed Sep 23 18:30:33 1998 UTC (19 years ago) by bryanf
Branch: MAIN
Changes since 1.390: +14 -3
lines
Diff to previous 1.390 (colored)
635493 - Add a callback to oplock code before truncating during creat().
Revision 1.390 / (download) - annotate - [select for diffs], Thu Sep 10 22:24:51 1998 UTC (19 years, 1 month ago) by nrs
Branch: MAIN
Changes since 1.389: +5 -1
lines
Diff to previous 1.389 (colored)
478652 - Added call to xfs_xfsd_list_evict to xfs_inactive before call to xfs_itruncate_start (the file is being removed, any buffers in the xfsd list can be safely yanked to avoid unnecessary work).
Revision 1.389 / (download) - annotate - [select for diffs], Thu Aug 13 18:25:28 1998 UTC (19 years, 2 months ago) by kanoj
Branch: MAIN
Changes since 1.388: +7 -2
lines
Diff to previous 1.388 (colored)
pv: 627585, rv: rcc@engr Fix SIM builds.
Revision 1.388 / (download) - annotate - [select for diffs], Mon Aug 10 18:10:17 1998 UTC (19 years, 2 months ago) by kanoj
Branch: MAIN
Changes since 1.387: +1 -2
lines
Diff to previous 1.387 (colored)
pv: 608182, rv: curt@engr Delete needless inclusion of ksys/vpag.h, so that it is easier to figure out what targets need to be delivered when the header file changes.
Revision 1.387 / (download) - annotate - [select for diffs], Sun Jul 12 03:58:00 1998 UTC (19 years, 3 months ago) by bbowen
Branch: MAIN
Changes since 1.386: +37 -17
lines
Diff to previous 1.386 (colored)
Change xfs_lock_inodes to allow all lock modes and also allow it to be called with the first inode already locked.
Revision 1.386 / (download) - annotate - [select for diffs], Sun Jul 12 03:57:42 1998 UTC (19 years, 3 months ago) by bbowen
Branch: MAIN
Changes since 1.385: +29 -7
lines
Diff to previous 1.385 (colored)
566573 - add xfs_rwlockf/xfs_rwunlockf to support nested inode locking for file i/o using recursively mmapped buffers
Revision 1.385 / (download) - annotate - [select for diffs], Wed May 27 17:18:17 1998 UTC (19 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.384: +3 -2
lines
Diff to previous 1.384 (colored)
In xfs_symlink, make sure DM_EVENT_ENABLED call at end has a proper inode pointer to look at even if the dp variable has been cleared (bookkeeping for locking). pv: 604149
Revision 1.384 / (download) - annotate - [select for diffs], Wed May 13 20:48:51 1998 UTC (19 years, 5 months ago) by kcm
Branch: MAIN
Changes since 1.383: +1 -8
lines
Diff to previous 1.383 (colored)
Make function xfs_set_dmattrs global - it is now called from xfs_dmapi.c.
Revision 1.383 / (download) - annotate - [select for diffs], Wed May 13 18:57:18 1998 UTC (19 years, 5 months ago) by mduchene
Branch: MAIN
Changes since 1.382: +20 -4
lines
Diff to previous 1.382 (colored)
Realtime fixes to punch holes in the correct partition (rt_dev rather than m_dev). Alter xfs_free_file_space() to handle RT files.
Revision 1.382 / (download) - annotate - [select for diffs], Fri Apr 10 16:42:41 1998 UTC (19 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.381: +8 -5
lines
Diff to previous 1.381 (colored)
Use cap_able_cred instead of checking against uid 0, also instead of macro _CAP_CRABLE. pv: 586451 rv: bitbug@engr
Revision 1.381 / (download) - annotate - [select for diffs], Fri Mar 20 21:41:52 1998 UTC (19 years, 6 months ago) by kcm
Branch: MAIN
Changes since 1.380: +15 -9
lines
Diff to previous 1.380 (colored)
Correct DM_EVENT_NOSPACE event type and FINVIS file handling. pv: 570037 rv: kfr@cray.com
Revision 1.380 / (download) - annotate - [select for diffs], Tue Mar 17 23:26:29 1998 UTC (19 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.379: +13 -10
lines
Diff to previous 1.379 (colored)
Rewrite xfs_open so that we don't get an exclusive lock on directory opens that don't really need it (use xfs_ilock_map_shared), and don't get any lock for regular files unless we're actually going to check the file size. pv: 579665 rv: kayuri@engr
Revision 1.379 / (download) - annotate - [select for diffs], Fri Feb 27 18:12:15 1998 UTC (19 years, 7 months ago) by rm
Branch: MAIN
Changes since 1.378: +2 -2
lines
Diff to previous 1.378 (colored)
Fix an ASSERT
Revision 1.378 / (download) - annotate - [select for diffs], Fri Feb 20 23:09:43 1998 UTC (19 years, 7 months ago) by rm
Branch: MAIN
Changes since 1.377: +6 -3
lines
Diff to previous 1.377 (colored)
Implement unwritten extent flagging. rv: doucette@engr, rcc@engr, earsh@engr, kayuri@engr pv: 705217
Revision 1.377 / (download) - annotate - [select for diffs], Sun Jan 18 21:19:17 1998 UTC (19 years, 8 months ago) by rcc
Branch: MAIN
Changes since 1.376: +11 -12
lines
Diff to previous 1.376 (colored)
fix xfs_set_uiosize to properly maintain the blocks fields when resetting to defaults and the max_io_log. pv: 563846, rv: doucette@engr
Revision 1.376 / (download) - annotate - [select for diffs], Sun Jan 18 09:06:09 1998 UTC (19 years, 8 months ago) by rcc
Branch: MAIN
Changes since 1.375: +22 -20
lines
Diff to previous 1.375 (colored)
added extra argument to xfs_trans_commit for IO_DSYNC speedup. pv: 555963 rv: lord@cray
Revision 1.375 / (download) - annotate - [select for diffs], Mon Jan 12 21:56:24 1998 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.374: +6 -3
lines
Diff to previous 1.374 (colored)
In xfs_inactive, if xfs_ifree fails, force a shutdown of the filesystem. Otherwise the filesystem will look corrupt since the inode will be lost. pv: 559265 rv: jtk@cray.com
Revision 1.374 / (download) - annotate - [select for diffs], Fri Jan 9 18:41:26 1998 UTC (19 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.373: +3 -3
lines
Diff to previous 1.373 (colored)
pv: 551636 rv: lord@cray.com lock the inode in the correct order.
Revision 1.373 / (download) - annotate - [select for diffs], Fri Jan 9 18:36:36 1998 UTC (19 years, 9 months ago) by jtk
Branch: MAIN
Changes since 1.372: +1 -5
lines
Diff to previous 1.372 (colored)
pv: 557364 rv: doucette Remove code from xfs_setattr that would silently return 0 (success) as an errno for truncating a VCHR/VBLK device.
Revision 1.372 / (download) - annotate - [select for diffs], Fri Dec 19 20:51:05 1997 UTC (19 years, 9 months ago) by kcm
Branch: MAIN
Changes since 1.371: +40 -15
lines
Diff to previous 1.371 (colored)
Generate DMAPI DM_EVENT_NOSPACE if ENOSPC encountered in fcntl space pre-allocation. pv: 554251 rv: kfr@sdiv.cray.com
Revision 1.371 / (download) - annotate - [select for diffs], Fri Dec 19 06:06:51 1997 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.370: +2 -2
lines
Diff to previous 1.370 (colored)
Initialize error variable in new xfs_fsync error code, otherwise random values get used in some paths. pv: 378010 rv: rcc@engr
Revision 1.370 / (download) - annotate - [select for diffs], Fri Dec 19 03:41:29 1997 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.369: +163 -1
lines
Diff to previous 1.369 (colored)
add iosize fcntl and pay attention to I/O error in xfs_fsync. pv: 553288,378010 rv: doucette@engr
Revision 1.369 / (download) - annotate - [select for diffs], Fri Dec 19 03:26:41 1997 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.368: +93 -81
lines
Diff to previous 1.368 (colored)
Rewrite xfs_inactive_symlink_rmt to get the locking of the inode right in the error cases. pv: 549449 rv: rcc@engr
Revision 1.368 / (download) - annotate - [select for diffs], Thu Dec 18 17:01:42 1997 UTC (19 years, 9 months ago) by kcm
Branch: MAIN
Changes since 1.367: +43 -5
lines
Diff to previous 1.367 (colored)
Add support for new F_GETBMAPX fcntl command. pv: 545725. rv: ram@sdiv.cray.com
Revision 1.367 / (download) - annotate - [select for diffs], Tue Dec 16 15:39:26 1997 UTC (19 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.366: +170 -19
lines
Diff to previous 1.366 (colored)
rv: rcc@engr.sgi.com pv: 551636 Don't block waiting for a second (or more) inode if an already locked inode is in the AIL. Use lock_nowait and retry (after releasing any locks). releasing inode locks pushes the AIL.
Revision 1.366 / (download) - annotate - [select for diffs], Thu Dec 4 23:56:44 1997 UTC (19 years, 10 months ago) by kayuri
Branch: MAIN
Changes since 1.365: +32 -15
lines
Diff to previous 1.365 (colored)
rv: doucette@engr pv: 551378 Fixed xfs_getattr() to return the di_extsize or the sb_rextsize as the preferred i/o size for realtime files.
Revision 1.365 / (download) - annotate - [select for diffs], Wed Nov 26 23:25:25 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.364: +25 -34
lines
Diff to previous 1.364 (colored)
Clean up the tests of file type (looking to special case device nodes) in xfs_getattr, so stat will run a little faster. rv: rcc@engr pv: 542907
Revision 1.364 / (download) - annotate - [select for diffs], Sun Nov 9 02:17:21 1997 UTC (19 years, 11 months ago) by scottl
Branch: MAIN
Changes since 1.363: +8 -2
lines
Diff to previous 1.363 (colored)
543386: Add MH_R10000_SPECULATION_WAR code from bonsai to F_DIOINFO cmd code in xfs_fcntl(). pv: 543386, rv: wje
Revision 1.363 / (download) - annotate - [select for diffs], Mon Oct 27 20:33:58 1997 UTC (19 years, 11 months ago) by rm
Branch: MAIN
Changes since 1.362: +50 -3
lines
Diff to previous 1.362 (colored)
Fix fcntl problem when len = 0 in F_RESVSP and F_UNRESVSP. rv: lord@cray.com pv: 538511 Add detection code for xfs_create() infinite loop. rv: mostek@cray.com pv: 522864
Revision 1.362 / (download) - annotate - [select for diffs], Fri Oct 17 21:18:58 1997 UTC (20 years ago) by nowicki
Branch: MAIN
Changes since 1.361: +12 -34
lines
Diff to previous 1.361 (colored)
xfs_fid returns 48 bits of inode number now, to support file systems larger than 1 Terabyte with NFS. pv: 304136 rv: rcc
Revision 1.361 / (download) - annotate - [select for diffs], Fri Oct 17 18:29:40 1997 UTC (20 years ago) by kcm
Branch: MAIN
Changes since 1.360: +2 -2
lines
Diff to previous 1.360 (colored)
Use correct behavior pointer rather than first. rv: kfr@sdiv.cray.com pv: 534608
Revision 1.360 / (download) - annotate - [select for diffs], Fri Oct 3 14:22:31 1997 UTC (20 years ago) by mostek
Branch: MAIN
Changes since 1.359: +4 -1
lines
Diff to previous 1.359 (colored)
Insert missing call to VOP_VNODE_CHANGE in xfs_create_new. This notifies CFS that a file has been truncated. This is causing compiles to loop forever in page cache code.
Revision 1.359 / (download) - annotate - [select for diffs], Sun Sep 21 00:17:45 1997 UTC (20 years ago) by bitbug
Branch: MAIN
Changes since 1.358: +4 -4
lines
Diff to previous 1.358 (colored)
fix bug 526915
Revision 1.358 / (download) - annotate - [select for diffs], Fri Sep 19 19:58:55 1997 UTC (20 years ago) by kcm
Branch: MAIN
Changes since 1.357: +8 -4
lines
Diff to previous 1.357 (colored)
make sure DMAPI event DM_EVENT_TRUNCATE is sent when needed in xfs_create_new.
Revision 1.357 / (download) - annotate - [select for diffs], Fri Sep 12 17:52:10 1997 UTC (20 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.356: +6 -4
lines
Diff to previous 1.356 (colored)
Add buffer targeting stuff
Revision 1.356 / (download) - annotate - [select for diffs], Fri Sep 12 00:48:29 1997 UTC (20 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.355: +22 -15
lines
Diff to previous 1.355 (colored)
Add more vnode tracing points. Remove some cruft from merge errors. Speed up xfs_remove by getting a real space reservation unless the fs is full, then reverting to a zero space reservation (bug 519072).
Revision 1.355 / (download) - annotate - [select for diffs], Wed Sep 10 06:32:16 1997 UTC (20 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.354: +8 -11
lines
Diff to previous 1.354 (colored)
Fix simulation build error (misplaced #ifdef SIMs). Fix a couple of warnings, extra stuff in SIM, etc.
Revision 1.354 / (download) - annotate - [select for diffs], Tue Sep 9 14:29:07 1997 UTC (20 years, 1 month ago) by kcm
Branch: MAIN
Changes since 1.353: +312 -125
lines
Diff to previous 1.353 (colored)
Changes to reflect DMAPI upgrade to conform to the X/Open XDSM document.
Revision 1.353 / (download) - annotate - [select for diffs], Fri Sep 5 15:55:55 1997 UTC (20 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.352: +3 -3
lines
Diff to previous 1.352 (colored)
Also, eliminate a compile warning in xfs_create (when tracing is off).
Revision 1.352 / (download) - annotate - [select for diffs], Sat Aug 30 17:00:30 1997 UTC (20 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.351: +1 -0
lines
Diff to previous 1.351 (colored)
eliminate remark() from compile when tracing is off.
Revision 1.351 / (download) - annotate - [select for diffs], Fri Aug 29 21:46:41 1997 UTC (20 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.350: +268 -50
lines
Diff to previous 1.350 (colored)
vn_create is changed to pass a vnode via *vpp with VOP_CREATE if the file was found. All file systems need to VN_RELE if *vpp is set when VOP_CREATE is called. This was done before in vn_create. This tells the underlying file system that the file "name" already exists and its vnode is given in *vpp. NFS and others should be modified to take advantage of this. This checkin also inserts the VOP_VNODE_CHANGE calls into xfs and efs when a create hits an existing file and that file is truncated. This simplifies CFS (ds side) when a file is created. Also, the xfs_create code is cleaned up and simplified by taking advantage of the *vpp passed in the vn_create. The creat-open aim test is now 3 times faster.
Revision 1.350 / (download) - annotate - [select for diffs], Thu Aug 28 23:04:47 1997 UTC (20 years, 1 month ago) by kayuri
Branch: MAIN
Changes since 1.349: +8 -5
lines
Diff to previous 1.349 (colored)
xfs_ilock not held around XFS_INODE_CLEAR_READ_AHEAD macro (bug 516806).
Revision 1.349 / (download) - annotate - [select for diffs], Mon Jul 28 21:57:09 1997 UTC (20 years, 2 months ago) by pjr
Branch: MAIN
Changes since 1.348: +16 -22
lines
Diff to previous 1.348 (colored)
in xfs_setattr if the ISGID bit is turned off, call VOP_VNODE_CHANGE if nec.
Revision 1.348 / (download) - annotate - [select for diffs], Fri Jul 25 08:19:24 1997 UTC (20 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.347: +4 -4
lines
Diff to previous 1.347 (colored)
412713,494624 - put xfs_vop_readbuf into vnodeops table and turn on fsync assert
Revision 1.347 / (download) - annotate - [select for diffs], Thu Jul 17 01:30:41 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.346: +2 -0
lines
Diff to previous 1.346 (colored)
Change xfs_create and xfs_symlink to always log the core of the directory inode, as we're changing timestamps (at least). In some paths there was no other reason to log the inode core, so even though there was a transaction and the timestamp was changed, it wasn't logged.
Revision 1.346 / (download) - annotate - [select for diffs], Tue Jul 15 23:27:50 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.345: +1 -1
lines
Diff to previous 1.345 (colored)
Fix fcntl(F_ALLOCSP) to give an error back if file allocation fails (e.g. with ENOSPC).
Revision 1.345 / (download) - annotate - [select for diffs], Tue Jul 15 18:02:42 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.344: +65 -31
lines
Diff to previous 1.344 (colored)
Try operations with a zero space reservation, being careful to make no changes if it's not going to work. Affects create, link, mkdir, and symlink.
Revision 1.344 / (download) - annotate - [select for diffs], Fri Jul 11 16:36:01 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.343: +26 -25
lines
Diff to previous 1.343 (colored)
Fix up some xfs_dir_createname calls whose total argument had no relationship to their space reservation. Make the reservation for rmdir 0, just like unlink.
Revision 1.343 / (download) - annotate - [select for diffs], Wed Jul 9 17:38:12 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.342: +16 -52
lines
Diff to previous 1.342 (colored)
Remove the truncate hackery from unlink (xfs_remove) when it can't get the space reservation. Just make the space reservation 0, and we make xfs_da_shrink_inode work with a 0 space reservation.
Revision 1.342 / (download) - annotate - [select for diffs], Wed Jul 9 05:51:15 1997 UTC (20 years, 3 months ago) by sup
Branch: MAIN
Changes since 1.341: +9 -9
lines
Diff to previous 1.341 (colored)
setattr wasn't dqrele'ing dquots in some error cases.
Revision 1.341 / (download) - annotate - [select for diffs], Mon Jun 30 23:20:16 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.340: +21 -10
lines
Diff to previous 1.340 (colored)
Get space reservations from xfs_trans_space.h macros.
Revision 1.340 / (download) - annotate - [select for diffs], Tue Jun 24 18:38:20 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.339: +48 -39
lines
Diff to previous 1.339 (colored)
A little rearrangement in xfs_getattr to get all the stat fields done before the fields not needed for stat. Fix the check for needing "xfs" fields in xfs_getattr, the value should have been in va_mask not the flags argument. Fixed the corresponding call in xfs_fcntl.
Revision 1.339 / (download) - annotate - [select for diffs], Mon Jun 23 23:30:39 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.338: +3 -3
lines
Diff to previous 1.338 (colored)
Change new vops (strgetmsg, strputmsg) to be noops (fs_nosys) in the simulation.
Revision 1.338 / (download) - annotate - [select for diffs], Wed Jun 18 14:48:41 1997 UTC (20 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.337: +5 -1
lines
Diff to previous 1.337 (colored)
Implement infrastructure for VOP_STR{GET,PUT}MSG.
Revision 1.337 / (download) - annotate - [select for diffs], Sun Jun 15 23:08:44 1997 UTC (20 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.336: +6 -6
lines
Diff to previous 1.336 (colored)
Change new page-oriented vops to fs_nosys for the simulation.
Revision 1.336 / (download) - annotate - [select for diffs], Thu Jun 12 17:39:00 1997 UTC (20 years, 4 months ago) by kayuri
Branch: MAIN
Changes since 1.335: +5 -1
lines
Diff to previous 1.335 (colored)
Added new vops VOP_COMMIT (bug 472090) and VOP_READBUF.
Revision 1.335 / (download) - annotate - [select for diffs], Wed Jun 11 14:01:24 1997 UTC (20 years, 4 months ago) by steiner
Branch: MAIN
Changes since 1.334: +26 -22
lines
Diff to previous 1.334 (colored)
Add vnode pcache VOPs required for CELLs.
Revision 1.334 / (download) - annotate - [select for diffs], Tue Jun 3 19:37:23 1997 UTC (20 years, 4 months ago) by pjr
Branch: MAIN
Changes since 1.333: +2 -2
lines
Diff to previous 1.333 (colored)
mmap of files that don't support mapping now returns ENODEV instead of ENOSYS. This was done by implementing a new fs_nodev routine and plugging that in the appropriate vnode ops vectors instead of fs_nosys
Revision 1.333 / (download) - annotate - [select for diffs], Thu May 29 21:35:08 1997 UTC (20 years, 4 months ago) by cp
Branch: MAIN
Changes since 1.332: +3 -3
lines
Diff to previous 1.332 (colored)
Behavior position becomes behavior identity
Revision 1.332 / (download) - annotate - [select for diffs], Thu May 29 20:41:57 1997 UTC (20 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.331: +6 -3
lines
Diff to previous 1.331 (colored)
Fix the XFS_MAXLINK value from 2^32-1 to 2^31-1 since it needs to be returnable in pathconf, which is a signed interface. Make pathconf value (vop and vsop layers as well as system call) be signed (long) instead of unsigned, since that's what the call actually returns.
Revision 1.331 / (download) - annotate - [select for diffs], Fri May 23 23:26:29 1997 UTC (20 years, 4 months ago) by rcc
Branch: MAIN
Changes since 1.330: +24 -17
lines
Diff to previous 1.330 (colored)
492722 - fix up assert and move it to cover both fsync paths
Revision 1.330 / (download) - annotate - [select for diffs], Mon May 12 18:24:38 1997 UTC (20 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.329: +3 -1
lines
Diff to previous 1.329 (colored)
Ifdef out some code in SIM so the simulation will build.
Revision 1.329 / (download) - annotate - [select for diffs], Sat May 10 01:17:18 1997 UTC (20 years, 5 months ago) by rcc
Branch: MAIN
Changes since 1.328: +19 -10
lines
Diff to previous 1.328 (colored)
478201 - move i/o size state initialization to the right place
Revision 1.328 / (download) - annotate - [select for diffs], Sat May 3 00:45:29 1997 UTC (20 years, 5 months ago) by pjr
Branch: MAIN
Changes since 1.327: +11 -7
lines
Diff to previous 1.327 (colored)
fix to reclock() bug #461449: add a new vrwock_t parameter to VOP_FRLOCK, fs_checklock, fs_cleanlock, and a INOLOCK_READ flag to reclock, telling reclock whether to unlock a read lock or a write lock when going to sleep. Added a VRWLOCK_NONE define to the vrwlock_t enum which is a way of passing through VOP_FRLOCK, etc. that no lock is currently held.
Revision 1.327 / (download) - annotate - [select for diffs], Wed Apr 30 22:46:39 1997 UTC (20 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.326: +109 -96
lines
Diff to previous 1.326 (colored)
xfs_reclaim path was not tossing all the pages in case of an I/O error and we're shutting down. Also some error paths were busted, and wasn't doing the ireclaim.
Revision 1.326 / (download) - annotate - [select for diffs], Tue Apr 29 21:49:32 1997 UTC (20 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.325: +2 -1
lines
Diff to previous 1.325 (colored)
Add new field va_gencount to xfs_getattr. Bug 477391.
Revision 1.325 / (download) - annotate - [select for diffs], Tue Apr 29 00:59:22 1997 UTC (20 years, 5 months ago) by singal
Branch: MAIN
Changes since 1.324: +2 -21
lines
Diff to previous 1.324 (colored)
Remove some dead code.
Revision 1.324 / (download) - annotate - [select for diffs], Fri Apr 18 01:25:35 1997 UTC (20 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.323: +2 -2
lines
Diff to previous 1.323 (colored)
Include spec_lsnode.h from sys/fs instead of fs/specfs so -I can point to $ROOT.
Revision 1.323 / (download) - annotate - [select for diffs], Thu Apr 17 13:45:04 1997 UTC (20 years, 6 months ago) by jtk
Branch: MAIN
Changes since 1.322: +1 -5
lines
Diff to previous 1.322 (colored)
Remove unused code associated with "#ifdef OLDSPECFS".
Revision 1.322 / (download) - annotate - [select for diffs], Wed Apr 9 17:32:49 1997 UTC (20 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.321: +2 -2
lines
Diff to previous 1.321 (colored)
Fix a warning by including cmn_err.h under #define _KERNEL.
Revision 1.321 / (download) - annotate - [select for diffs], Sun Apr 6 03:19:29 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.320: +43 -36
lines
Diff to previous 1.320 (colored)
xfs_inactive_attrs() wasn't letting an ilock go in case of error. xfs_mkdir was not releasing all vnode references in case of error. In xfs_reclaim(), do ptossvp instead of pflushinvalvp if we are in the forced-shutdown mode. Otherwise, we end up keeping P_BAD pfdats attached to vnode's dirty page list.
Revision 1.320 / (download) - annotate - [select for diffs], Fri Apr 4 08:02:08 1997 UTC (20 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.319: +58 -17
lines
Diff to previous 1.319 (colored)
474302 - change xfs_fsync to respect range args. also change xfs_inactive to signal xfs_itruncate_finish whether it can run async or not
Revision 1.319 / (download) - annotate - [select for diffs], Fri Apr 4 01:29:57 1997 UTC (20 years, 6 months ago) by bitbug
Branch: MAIN
Changes since 1.318: +64 -31
lines
Diff to previous 1.318 (colored)
fix bug #476557
Revision 1.318 / (download) - annotate - [select for diffs], Fri Mar 28 01:54:57 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.317: +1 -3
lines
Diff to previous 1.317 (colored)
disk error handling changes
Revision 1.317 / (download) - annotate - [select for diffs], Thu Mar 27 01:34:54 1997 UTC (20 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.316: +7 -6
lines
Diff to previous 1.316 (colored)
474299 - change xfs_getattr to return the inode's i/o size instead of the filesystem's i/o size
Revision 1.316 / (download) - annotate - [select for diffs], Wed Mar 26 00:43:17 1997 UTC (20 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.315: +3 -2
lines
Diff to previous 1.315 (colored)
Allow O_TRUNC on fifos to be silently ignored (bug 468558).
Revision 1.315 / (download) - annotate - [select for diffs], Tue Mar 25 19:07:53 1997 UTC (20 years, 6 months ago) by pjr
Branch: MAIN
Changes since 1.314: +2 -4
lines
Diff to previous 1.314 (colored)
support for bhv2_head_t in vnodes
Revision 1.314 / (download) - annotate - [select for diffs], Sat Mar 22 01:12:11 1997 UTC (20 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.313: +161 -33
lines
Diff to previous 1.313 (colored)
341879 - change xfs_fsync to do I/O only when there are changes that haven't been logged or flushed to disk, to do sync transactions instead of an inode flush to flush the core, and to force the log only when the inode is pinned (meaning that it's been altered but the changes haven't hit the disk). Also changed the FSYNC_DATA path to flush the data only if the vnode is dirty.
Revision 1.313 / (download) - annotate - [select for diffs], Fri Mar 21 22:11:38 1997 UTC (20 years, 6 months ago) by nowicki
Branch: MAIN
Changes since 1.312: +1 -5
lines
Diff to previous 1.312 (colored)
Remove xfs_do_fast_fid since it is no longer used.
Revision 1.312 / (download) - annotate - [select for diffs], Thu Mar 20 23:56:01 1997 UTC (20 years, 6 months ago) by singal
Branch: MAIN
Changes since 1.311: +10 -4
lines
Diff to previous 1.311 (colored)
Minor changes to xfs_close.
Revision 1.311 / (download) - annotate - [select for diffs], Mon Mar 17 05:11:03 1997 UTC (20 years, 7 months ago) by singal
Branch: MAIN
Changes since 1.310: +1 -10
lines
Diff to previous 1.310 (colored)
Removed some PRIO-specific code. PRIO has now been merged with GRIO.
Revision 1.310 / (download) - annotate - [select for diffs], Sat Mar 15 00:41:54 1997 UTC (20 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.309: +5 -5
lines
Diff to previous 1.309 (colored)
Fix compiler warnings.
Revision 1.309 / (download) - annotate - [select for diffs], Sat Mar 8 02:34:51 1997 UTC (20 years, 7 months ago) by singal
Branch: MAIN
Changes since 1.308: +3 -2
lines
Diff to previous 1.308 (colored)
Remove call to grio_remove_reservation from xfs_close.
Revision 1.308 / (download) - annotate - [select for diffs], Wed Mar 5 22:01:31 1997 UTC (20 years, 7 months ago) by casey
Branch: MAIN
Changes since 1.307: +45 -29
lines
Diff to previous 1.307 (colored)
Reordered some access checks so that privilege checks happen last. This make the audit trail much more meaningfull (and correct).
Revision 1.307 / (download) - annotate - [select for diffs], Sun Feb 23 23:54:38 1997 UTC (20 years, 7 months ago) by pjr
Branch: MAIN
Changes since 1.306: +1 -10
lines
Diff to previous 1.306 (colored)
remove setting of VENF_LOCKING from xfs_create since it's being done in xfs_ialloc (this change should have happened as part of Rev. 1.304)
Revision 1.306 / (download) - annotate - [select for diffs], Fri Feb 21 02:09:05 1997 UTC (20 years, 7 months ago) by sup
Branch: MAIN
Changes since 1.305: +8 -1
lines
Diff to previous 1.305 (colored)
Changing the projid (for the first time) may rev the inode version, as well as add NLINK feature bit to the superblock. xfs_setattr() accomodates that now.
Revision 1.305 / (download) - annotate - [select for diffs], Wed Feb 19 19:15:50 1997 UTC (20 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.304: +12 -38
lines
Diff to previous 1.304 (colored)
For change_file_space, call convoff to do checking and conversion of flock structure (starting offset) instead of doing it by hand. We missed the check for negative offsets in the old code.
Revision 1.304 / (download) - annotate - [select for diffs], Sun Feb 9 03:05:08 1997 UTC (20 years, 8 months ago) by pjr
Branch: MAIN
Changes since 1.303: +1 -2
lines
Diff to previous 1.303 (colored)
move setting of vnode's VENF_LOCKING flag from xfs_create to xfs_ialloc
Revision 1.303 / (download) - annotate - [select for diffs], Tue Feb 4 01:21:11 1997 UTC (20 years, 8 months ago) by nar
Branch: MAIN
Changes since 1.302: +2 -2
lines
Diff to previous 1.302 (colored)
VM batch reservation support for miser. A new object called process aggregate (pagg) has been designed. It is used for miser and array session accounting.
Revision 1.302 / (download) - annotate - [select for diffs], Mon Feb 3 16:25:47 1997 UTC (20 years, 8 months ago) by jtk
Branch: MAIN
Changes since 1.301: +4 -2
lines
Diff to previous 1.301 (colored)
Move spec_asnode.h to spec_lsnode.h
Revision 1.301 / (download) - annotate - [select for diffs], Fri Jan 31 17:46:12 1997 UTC (20 years, 8 months ago) by pjr
Branch: MAIN
Changes since 1.300: +16 -10
lines
Diff to previous 1.300 (colored)
in xfs_setattr, call VOP_VNODE_CHANGE under inode lock to avoid races
Revision 1.300 / (download) - annotate - [select for diffs], Fri Jan 31 17:16:57 1997 UTC (20 years, 8 months ago) by pjr
Branch: MAIN
Changes since 1.299: +10 -1
lines
Diff to previous 1.299 (colored)
in xfs_create, set vnode's mandatory locking flag if the file is being created in mandatory locking mode
Revision 1.299 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:54 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.298: +583 -396
lines
Diff to previous 1.298 (colored)
First cut of XFS I/O error handling changes.
Revision 1.298 / (download) - annotate - [select for diffs], Wed Jan 15 04:42:02 1997 UTC (20 years, 9 months ago) by jwag
Branch: MAIN
Changes since 1.297: +30 -2
lines
Diff to previous 1.297 (colored)
add xfs_pathconf to handle _PC_FILESIZEBITS option (which returns 64).
Revision 1.297 / (download) - annotate - [select for diffs], Tue Jan 14 21:31:58 1997 UTC (20 years, 9 months ago) by dnoveck
Branch: MAIN
Changes since 1.296: +5 -3
lines
Diff to previous 1.296 (colored)
Fix ioctl routine for added vopbd parameter.
Revision 1.296 / (download) - annotate - [select for diffs], Thu Jan 9 17:45:50 1997 UTC (20 years, 9 months ago) by montep
Branch: MAIN
Changes since 1.295: +9 -7
lines
Diff to previous 1.295 (colored)
merge ficus into kudzu (1.243.1.31 ... 1.243.1.37) > ---------------------------- > revision 1.243.1.37 > date: 1996/12/12 21:44:56; author: lguo; state: Exp; lines: +9 -3 > Use #ifdef DATAPIPE to comment out datapipe stuff. > ---------------------------- > revision 1.243.1.36 > date: 1996/12/02 19:34:19; author: doucette; state: Exp; lines: +5 -1 > For truncate, need to check for write permission on the setattr(AT_SIZE). > Previously there was no check, so any file could be truncated by anyone > (bug 447743). > ---------------------------- > revision 1.243.1.35 > date: 1996/11/27 23:10:41; author: kayuri; state: Exp; lines: +7 -1 > Released and grabbed the directory inode lock around calls to VN_RELE in > xfs_dir_lookup_int() since we could end up in xfs_inactive(), and deadlock > while trying to grab log space. Refer to bug 444272. > ---------------------------- > revision 1.243.1.34 > date: 1996/11/27 19:04:35; author: doucette; state: Exp; lines: +21 -11 > In xfs_dir_lookup_int, if the dnlc nowait lookup fails due to the > nowait (on vn_get) flag, drop the parent directory lock, and try > the dnlc lookup again, allowing waits. This helps AIM3 performance. > (bug 444493) > ---------------------------- > revision 1.243.1.33 > date: 1996/11/21 23:31:13; author: doucette; state: Exp; lines: +9 -19 > Fix race in opening directories, by noticing the possibility and > getting an exclusive instead of shared lock. > Remove the warning about losing space on attribute inactive failing, > since it doesn't any more. > ---------------------------- > revision 1.243.1.32 > date: 1996/11/20 17:51:52; author: casey; state: Exp; lines: +15 -2 > Repair access control list and mandatory access control support. > =============================================================================
Revision 1.295 / (download) - annotate - [select for diffs], Mon Dec 23 19:58:54 1996 UTC (20 years, 9 months ago) by jtk
Branch: MAIN
Changes since 1.294: +28 -21
lines
Diff to previous 1.294 (colored)
Minor changes to use newer specfs include & routine names. Use subroutine interfaces rather than direct data structure access when using the new specfs.
Revision 1.294 / (download) - annotate - [select for diffs], Fri Dec 20 15:39:44 1996 UTC (20 years, 9 months ago) by pjr
Branch: MAIN
Changes since 1.293: +2 -4
lines
Diff to previous 1.293 (colored)
remove now unused flid arg to VOP_CLOSE
Revision 1.293 / (download) - annotate - [select for diffs], Thu Dec 19 20:17:26 1996 UTC (20 years, 9 months ago) by pjr
Branch: MAIN
Changes since 1.292: +0 -4
lines
Diff to previous 1.292 (colored)
cleaning locks at close time done via VOP_FRLOCK instead of VOP_CLOSE
Revision 1.292 / (download) - annotate - [select for diffs], Sat Dec 14 03:19:32 1996 UTC (20 years, 10 months ago) by pjr
Branch: MAIN
Changes since 1.291: +16 -0
lines
Diff to previous 1.291 (colored)
call VOP_VNODE_CHANGE when mandatory locking mode changes
Revision 1.291 / (download) - annotate - [select for diffs], Fri Dec 13 01:04:18 1996 UTC (20 years, 10 months ago) by pjr
Branch: MAIN
Changes since 1.290: +5 -5
lines
Diff to previous 1.290 (colored)
remove unused flags arg to VOP_ACCESS; add new vop
Revision 1.290 / (download) - annotate - [select for diffs], Fri Dec 13 00:39:33 1996 UTC (20 years, 10 months ago) by sup
Branch: MAIN
Changes since 1.289: +2 -1661
lines
Diff to previous 1.289 (colored)
Took out common (non STATIC) routines like xfs_dir_ialloc, xfs_truncate_file into xfs_utils.c along with some #defines. Ripped off the rename routines and put them in xfs_rename.c. (RFE 422609)
Revision 1.243.1.37 / (download) - annotate - [select for diffs], Thu Dec 12 21:44:56 1996 UTC (20 years, 10 months ago) by lguo
CVS Tags: DELETE-1
Changes since 1.243.1.36: +9 -3
lines
Diff to previous 1.243.1.36 (colored) next main 1.244 (colored)
Use #ifdef DATAPIPE to comment out datapipe stuff.
Revision 1.289 / (download) - annotate - [select for diffs], Thu Dec 12 01:46:55 1996 UTC (20 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.288: +9 -8
lines
Diff to previous 1.288 (colored)
Fix some warnings: remove unused variables, add ARGSUSED and REFERENCED, add casts.
Revision 1.288 / (download) - annotate - [select for diffs], Tue Dec 10 21:42:46 1996 UTC (20 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.287: +51 -51
lines
Diff to previous 1.287 (colored)
Use a typedef for each vnodeop function pointer type, and use the typedef in casts for the stub routines. Eliminates a bunch of warnings.
Revision 1.287 / (download) - annotate - [select for diffs], Fri Dec 6 22:05:50 1996 UTC (20 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.286: +331 -239
lines
Diff to previous 1.286 (colored)
Fold in ficus changes not yet merged in: revision 1.276 date: 1996/11/21 23:31:13; author: doucette; state: Exp; lines: +9 -19 Fix race in opening directories, by noticing the possibility and getting an exclusive instead of shared lock. Remove the warning about losing space on attribute inactive failing, since it doesn't any more. revision 1.260 date: 1996/08/29 18:13:38; author: doucette; state: Exp; lines: +321 -220 Rewrite the fcntl - F_ALLOCSP, F_FREESP, F_RESVSP, F_UNRESVSP routines. Actually implement the hole-punching implied by F_UNRESVSP. Make F_ALLOCSP and F_FREESP identical to each other, and like EFS. Fix locking problems in the old implementations.
Revision 1.286 / (download) - annotate - [select for diffs], Fri Dec 6 17:40:55 1996 UTC (20 years, 10 months ago) by casey
Branch: MAIN
Changes since 1.285: +15 -2
lines
Diff to previous 1.285 (colored)
Trix footprint merge from ficus
Revision 1.285 / (download) - annotate - [select for diffs], Mon Dec 2 19:35:59 1996 UTC (20 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.284: +12 -1
lines
Diff to previous 1.284 (colored)
For truncate, need to check for write permission on the setattr(AT_SIZE). Previously there was no check, so any file could be truncated by anyone (bug 447743).
Revision 1.243.1.36 / (download) - annotate - [select for diffs], Mon Dec 2 19:34:19 1996 UTC (20 years, 10 months ago) by doucette
Changes since 1.243.1.35: +5 -1
lines
Diff to previous 1.243.1.35 (colored)
For truncate, need to check for write permission on the setattr(AT_SIZE). Previously there was no check, so any file could be truncated by anyone (bug 447743).
Revision 1.243.1.35 / (download) - annotate - [select for diffs], Wed Nov 27 23:10:41 1996 UTC (20 years, 10 months ago) by kayuri
Changes since 1.243.1.34: +7 -1
lines
Diff to previous 1.243.1.34 (colored)
Released and grabbed the directory inode lock around calls to VN_RELE in xfs_dir_lookup_int() since we could end up in xfs_inactive(), and deadlock while trying to grab log space. Refer to bug 444272.
Revision 1.284 / (download) - annotate - [select for diffs], Wed Nov 27 23:04:15 1996 UTC (20 years, 10 months ago) by kayuri
Branch: MAIN
Changes since 1.283: +7 -1
lines
Diff to previous 1.283 (colored)
Released and grabbed the directory inode lock around calls to VN_RELE in xfs_dir_lookup_int() since we could end up in xfs_inactive(), and deadlock while trying to grab log space. Refer to bug 444272.
Revision 1.283 / (download) - annotate - [select for diffs], Wed Nov 27 19:06:50 1996 UTC (20 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.282: +21 -11
lines
Diff to previous 1.282 (colored)
In xfs_dir_lookup_int, if the dnlc nowait lookup fails due to the nowait (on vn_get) flag, drop the parent directory lock, and try the dnlc lookup again, allowing waits. This helps AIM3 performance. (bug 444493)
Revision 1.243.1.34 / (download) - annotate - [select for diffs], Wed Nov 27 19:04:35 1996 UTC (20 years, 10 months ago) by doucette
Changes since 1.243.1.33: +21 -11
lines
Diff to previous 1.243.1.33 (colored)
In xfs_dir_lookup_int, if the dnlc nowait lookup fails due to the nowait (on vn_get) flag, drop the parent directory lock, and try the dnlc lookup again, allowing waits. This helps AIM3 performance. (bug 444493)
Revision 1.282 / (download) - annotate - [select for diffs], Tue Nov 26 19:27:22 1996 UTC (20 years, 10 months ago) by kayuri
Branch: MAIN
Changes since 1.281: +3 -2
lines
Diff to previous 1.281 (colored)
Modified the parameter to the link_removed xfs_vnodeops under #define SIM. Also included sys/kmem.h to correct compilation errors under -D_SIM.
Revision 1.281 / (download) - annotate - [select for diffs], Sat Nov 23 18:50:50 1996 UTC (20 years, 10 months ago) by montep
Branch: MAIN
Changes since 1.280: +5 -3
lines
Diff to previous 1.280 (colored)
commented out fspe reference with #ifdef TO_LOOK_AT_LATER
Revision 1.243.1.33 / (download) - annotate - [select for diffs], Thu Nov 21 23:31:13 1996 UTC (20 years, 10 months ago) by doucette
Changes since 1.243.1.32: +9 -19
lines
Diff to previous 1.243.1.32 (colored)
Fix race in opening directories, by noticing the possibility and getting an exclusive instead of shared lock. Remove the warning about losing space on attribute inactive failing, since it doesn't any more.
Revision 1.243.1.32 / (download) - annotate - [select for diffs], Wed Nov 20 17:51:52 1996 UTC (20 years, 10 months ago) by casey
Changes since 1.243.1.31: +15 -2
lines
Diff to previous 1.243.1.31 (colored)
Repair access control list and mandatory access control support.
Revision 1.280 / (download) - annotate - [select for diffs], Wed Nov 13 15:26:34 1996 UTC (20 years, 11 months ago) by montep
Branch: MAIN
Changes since 1.279: +74 -15
lines
Diff to previous 1.279 (colored)
merge ficus into kudzu (1.243.1.27 ... 1.243.1.31) > ---------------------------- > revision 1.243.1.31 > date: 1996/11/12 19:34:19; author: lguo; state: Exp; lines: +34 -1 > added xfs_fspe_dioinfo for datapipe direct IO allocation. > ---------------------------- > revision 1.243.1.30 > date: 1996/11/04 01:05:04; author: doucette; state: Exp; lines: +40 -13 > Fix off-by-one error in logging symlink values in blocks, that caused > memory corruption during recovery for lengths at the boundaries (bug 440334). > When deleting symlinks that are in blocks (xfs_inactive), need to call > xfs_trans_binval on them before committing, so they won't get replayed > during recovery (bug 440477). > ---------------------------- > revision 1.243.1.29 > date: 1996/10/25 21:16:48; author: rcc; state: Exp; lines: +3 -2 > fix my stupid mistake where I wasn't checking to make > sure we actually lost track of space before issuing > the warning message when deleting attributes > ---------------------------- > revision 1.243.1.28 > date: 1996/10/25 00:52:22; author: lguo; state: Exp; lines: +1 -3 > removed fspe_store_cookie() and fspe_destroy_cookie() declaration. > =============================================================================
Revision 1.243.1.31 / (download) - annotate - [select for diffs], Tue Nov 12 19:34:19 1996 UTC (20 years, 11 months ago) by lguo
Changes since 1.243.1.30: +34 -1
lines
Diff to previous 1.243.1.30 (colored)
added xfs_fspe_dioinfo for datapipe direct IO allocation.
Revision 1.279 / (download) - annotate - [select for diffs], Tue Nov 12 19:31:07 1996 UTC (20 years, 11 months ago) by pjr
Branch: MAIN
Changes since 1.278: +12 -4
lines
Diff to previous 1.278 (colored)
frlock op accepts check/clean cmds
Revision 1.243.1.30 / (download) - annotate - [select for diffs], Mon Nov 4 01:05:04 1996 UTC (20 years, 11 months ago) by doucette
Changes since 1.243.1.29: +40 -13
lines
Diff to previous 1.243.1.29 (colored)
Fix off-by-one error in logging symlink values in blocks, that caused memory corruption during recovery for lengths at the boundaries (bug 440334). When deleting symlinks that are in blocks (xfs_inactive), need to call xfs_trans_binval on them before committing, so they won't get replayed during recovery (bug 440477).
Revision 1.278 / (download) - annotate - [select for diffs], Sun Oct 27 17:07:40 1996 UTC (20 years, 11 months ago) by montep
Branch: MAIN
Changes since 1.277: +2 -0
lines
Diff to previous 1.277 (colored)
fixed another merge problem
Revision 1.277 / (download) - annotate - [select for diffs], Sun Oct 27 03:07:28 1996 UTC (20 years, 11 months ago) by montep
Branch: MAIN
Changes since 1.276: +0 -30
lines
Diff to previous 1.276 (colored)
fixed merge problems
Revision 1.243.1.29 / (download) - annotate - [select for diffs], Fri Oct 25 21:16:48 1996 UTC (20 years, 11 months ago) by rcc
Changes since 1.243.1.28: +3 -2
lines
Diff to previous 1.243.1.28 (colored)
fix my stupid mistake where I wasn't checking to make sure we actually lost track of space before issuing the warning message when deleting attributes
Revision 1.243.1.28 / (download) - annotate - [select for diffs], Fri Oct 25 00:52:22 1996 UTC (20 years, 11 months ago) by lguo
Changes since 1.243.1.27: +1 -3
lines
Diff to previous 1.243.1.27 (colored)
removed fspe_store_cookie() and fspe_destroy_cookie() declaration.
Revision 1.276 / (download) - annotate - [select for diffs], Mon Oct 21 22:59:39 1996 UTC (20 years, 11 months ago) by montep
Branch: MAIN
Changes since 1.275: +8 -483
lines
Diff to previous 1.275 (colored)
merge ficus into kudzu (1.243.1.24 ... 1.243.1.27) > ---------------------------- > revision 1.243.1.27 > date: 1996/10/08 01:47:20; author: lguo; state: Exp; lines: +1 -7 > delete F_SETTRANSFER and F_DESTROYTRANSFER. > ---------------------------- > revision 1.243.1.26 > date: 1996/09/26 20:55:16; author: doucette; state: Exp; lines: +3 -3 > Fix call to xfs_bmapi that was using 1 as value of flags instead > of symbolic XFS_BMAPI_WRITE. > ---------------------------- > revision 1.243.1.25 > date: 1996/09/23 05:27:14; author: singal; state: Exp; lines: +5 -501 > Moved priority I/O code to xfs_prio.c > =============================================================================
Revision 1.275 / (download) - annotate - [select for diffs], Sun Oct 20 17:19:51 1996 UTC (20 years, 11 months ago) by jwag
Branch: MAIN
Changes since 1.274: +2 -50
lines
Diff to previous 1.274 (colored)
no longer need vop_map routine
Revision 1.274 / (download) - annotate - [select for diffs], Sat Oct 12 02:00:30 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.273: +3 -13
lines
Diff to previous 1.273 (colored)
file system implementations of read and write vops now by default assume they must do locking themselves - i.e., they assume that VOP_RWLOCK/VOP_RWUNLOCK hasn't been done by the layer above. This is unless the IO_ISLOCKED flag is set in the ioflag arg, in which case it assumes the layer above did call VOP_RWLOCK/VOP_RWUNLOCK.
Revision 1.273 / (download) - annotate - [select for diffs], Wed Oct 9 04:59:14 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.272: +0 -2
lines
Diff to previous 1.272 (colored)
remove unused offset arg to VOP_CLOSE
Revision 1.243.1.27 / (download) - annotate - [select for diffs], Tue Oct 8 01:47:20 1996 UTC (21 years ago) by lguo
Changes since 1.243.1.26: +1 -7
lines
Diff to previous 1.243.1.26 (colored)
delete F_SETTRANSFER and F_DESTROYTRANSFER.
Revision 1.272 / (download) - annotate - [select for diffs], Wed Oct 2 22:31:47 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.271: +5 -2
lines
Diff to previous 1.271 (colored)
macro'ize access to an open file's underlyng vnode or vsocket to guard against bugs; checks to prevent a vsocket to be used as a vnode
Revision 1.271 / (download) - annotate - [select for diffs], Mon Sep 30 23:52:31 1996 UTC (21 years ago) by kayuri
Branch: MAIN
Changes since 1.270: +17 -8
lines
Diff to previous 1.270 (colored)
Returning the stripe width in the va_blksize field if logical data volume is a stripe volume.
Revision 1.270 / (download) - annotate - [select for diffs], Fri Sep 27 21:20:10 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.269: +27 -1
lines
Diff to previous 1.269 (colored)
add calls to VOP_LINK_REMOVED in xfs_rename
Revision 1.269 / (download) - annotate - [select for diffs], Fri Sep 27 03:32:13 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.268: +18 -27
lines
Diff to previous 1.268 (colored)
create/mkdir/symlink have projid passed in via the attr struct instead of those routines going off to the proc/arsess to fetch it.
Revision 1.243.1.26 / (download) - annotate - [select for diffs], Thu Sep 26 20:55:16 1996 UTC (21 years ago) by doucette
Changes since 1.243.1.25: +3 -3
lines
Diff to previous 1.243.1.25 (colored)
Fix call to xfs_bmapi that was using 1 as value of flags instead of symbolic XFS_BMAPI_WRITE.
Revision 1.268 / (download) - annotate - [select for diffs], Thu Sep 26 02:41:54 1996 UTC (21 years ago) by sp
Branch: MAIN
Changes since 1.267: +4 -4
lines
Diff to previous 1.267 (colored)
Change interface to VPROC_LOOKUP/VPROC_HOLD
Revision 1.267 / (download) - annotate - [select for diffs], Wed Sep 25 02:17:57 1996 UTC (21 years ago) by montep
Branch: MAIN
Changes since 1.266: +12 -8
lines
Diff to previous 1.266 (colored)
fixed merge problem
Revision 1.266 / (download) - annotate - [select for diffs], Mon Sep 23 22:32:59 1996 UTC (21 years ago) by montep
Branch: MAIN
Changes since 1.265: +520 -8
lines
Diff to previous 1.265 (colored)
merge ficus into kudzu (1.243.1.21 ... 1.243.1.24) > ---------------------------- > revision 1.243.1.24 > date: 1996/09/19 01:59:22; author: rcc; state: Exp; lines: +12 -3 > issue a warning if we lose space because xfs_attr_inactive > fails when the filesystem is too full > ---------------------------- > revision 1.243.1.23 > date: 1996/09/18 10:00:26; author: rcc; state: Exp; lines: +4 -3 > change bogus assert and set di_anextents to 0 instead of > ignoring it in the xfs_inactive() non-local attribute path > ---------------------------- > revision 1.243.1.22 > date: 1996/09/14 00:47:52; author: singal; state: Exp; lines: +106 -19 > Updated fcntls F_SETBW and F_GETBW. > =============================================================================
Revision 1.243.1.25 / (download) - annotate - [select for diffs], Mon Sep 23 05:27:14 1996 UTC (21 years ago) by singal
Changes since 1.243.1.24: +5 -501
lines
Diff to previous 1.243.1.24 (colored)
Moved priority I/O code to xfs_prio.c
Revision 1.243.1.24 / (download) - annotate - [select for diffs], Thu Sep 19 01:59:22 1996 UTC (21 years ago) by rcc
Changes since 1.243.1.23: +12 -3
lines
Diff to previous 1.243.1.23 (colored)
issue a warning if we lose space because xfs_attr_inactive fails when the filesystem is too full
Revision 1.243.1.23 / (download) - annotate - [select for diffs], Wed Sep 18 10:00:26 1996 UTC (21 years ago) by rcc
Changes since 1.243.1.22: +4 -3
lines
Diff to previous 1.243.1.22 (colored)
change bogus assert and set di_anextents to 0 instead of ignoring it in the xfs_inactive() non-local attribute path
Revision 1.265 / (download) - annotate - [select for diffs], Tue Sep 17 16:00:31 1996 UTC (21 years ago) by henseler
Branch: MAIN
Changes since 1.264: +2 -2
lines
Diff to previous 1.264 (colored)
vfile restructure
Revision 1.264 / (download) - annotate - [select for diffs], Tue Sep 17 05:27:58 1996 UTC (21 years, 1 month ago) by pjr
Branch: MAIN
Changes since 1.263: +13 -4
lines
Diff to previous 1.263 (colored)
need to use vproc_lookup/vproc_rele for calls to vproc_getarsess
Revision 1.243.1.22 / (download) - annotate - [select for diffs], Sat Sep 14 00:47:52 1996 UTC (21 years, 1 month ago) by singal
Changes since 1.243.1.21: +106 -19
lines
Diff to previous 1.243.1.21 (colored)
Updated fcntls F_SETBW and F_GETBW.
Revision 1.263 / (download) - annotate - [select for diffs], Fri Sep 13 22:17:22 1996 UTC (21 years, 1 month ago) by sfc
Branch: MAIN
Changes since 1.262: +15 -6
lines
Diff to previous 1.262 (colored)
Don't use the XFS_PROC_PROJID macro, which has been deleted, since it used curprocp. Code now uses VPROC_GETARSESS.
Revision 1.262 / (download) - annotate - [select for diffs], Wed Sep 11 21:36:10 1996 UTC (21 years, 1 month ago) by montep
Branch: MAIN
Changes since 1.261: +225 -753
lines
Diff to previous 1.261 (colored)
fixed merge problem
Revision 1.261 / (download) - annotate - [select for diffs], Mon Sep 9 06:27:02 1996 UTC (21 years, 1 month ago) by montep
Branch: MAIN
Changes since 1.260: +754 -226
lines
Diff to previous 1.260 (colored)
merge ficus into kudzu (1.243.1.15 ... 1.243.1.21) > ---------------------------- > revision 1.243.1.21 > date: 1996/09/08 02:49:28; author: singal; state: Exp; lines: +240 -236 > Fix indentation, misc cleanup. > ---------------------------- > revision 1.243.1.20 > date: 1996/09/07 19:32:18; author: lguo; state: Exp; lines: +3 -3 > added error return for storing and destroying data pipe cookies. > ---------------------------- > revision 1.243.1.19 > date: 1996/09/04 02:36:54; author: rcc; state: Exp; lines: +7 -7 > put priority I/O additions under #ifndef SIM > ---------------------------- > revision 1.243.1.18 > date: 1996/08/30 19:17:56; author: singal; state: Exp; lines: +419 -4 > Code for Priority I/O file system bandwidth allocation support. > Includes fcntl code for F_SETBW & F_GETBW, xfs_get_inumber_fs_dev, > xfs_get_extents_for_file, xfs_is_file_realtime, xfs_file_to_disks. > ---------------------------- > revision 1.243.1.17 > date: 1996/08/29 18:13:38; author: doucette; state: Exp; lines: +321 -220 > Rewrite the fcntl - F_ALLOCSP, F_FREESP, F_RESVSP, F_UNRESVSP routines. > Actually implement the hole-punching implied by F_UNRESVSP. > Make F_ALLOCSP and F_FREESP identical to each other, and like EFS. > Fix locking problems in the old implementations. > ---------------------------- > revision 1.243.1.16 > date: 1996/08/26 23:53:42; author: ajs; state: Exp; lines: +10 -1 > 360667 Prevent file size changes for swap files. > 311076 Restore fix to disallow setting the size > of non regular files. > =============================================================================
Revision 1.243.1.21 / (download) - annotate - [select for diffs], Sun Sep 8 02:49:28 1996 UTC (21 years, 1 month ago) by singal
Changes since 1.243.1.20: +240 -236
lines
Diff to previous 1.243.1.20 (colored)
Fix indentation, misc cleanup.
Revision 1.243.1.20 / (download) - annotate - [select for diffs], Sat Sep 7 19:32:18 1996 UTC (21 years, 1 month ago) by lguo
Changes since 1.243.1.19: +3 -3
lines
Diff to previous 1.243.1.19 (colored)
added error return for storing and destroying data pipe cookies.
Revision 1.243.1.19 / (download) - annotate - [select for diffs], Wed Sep 4 02:36:54 1996 UTC (21 years, 1 month ago) by rcc
Changes since 1.243.1.18: +7 -7
lines
Diff to previous 1.243.1.18 (colored)
put priority I/O additions under #ifndef SIM
Revision 1.243.1.18 / (download) - annotate - [select for diffs], Fri Aug 30 19:17:56 1996 UTC (21 years, 1 month ago) by singal
Changes since 1.243.1.17: +419 -4
lines
Diff to previous 1.243.1.17 (colored)
Code for Priority I/O file system bandwidth allocation support. Includes fcntl code for F_SETBW & F_GETBW, xfs_get_inumber_fs_dev, xfs_get_extents_for_file, xfs_is_file_realtime, xfs_file_to_disks.
Revision 1.243.1.17 / (download) - annotate - [select for diffs], Thu Aug 29 18:13:38 1996 UTC (21 years, 1 month ago) by doucette
Changes since 1.243.1.16: +321 -220
lines
Diff to previous 1.243.1.16 (colored)
Rewrite the fcntl - F_ALLOCSP, F_FREESP, F_RESVSP, F_UNRESVSP routines. Actually implement the hole-punching implied by F_UNRESVSP. Make F_ALLOCSP and F_FREESP identical to each other, and like EFS. Fix locking problems in the old implementations.
Revision 1.243.1.16 / (download) - annotate - [select for diffs], Mon Aug 26 23:53:42 1996 UTC (21 years, 1 month ago) by ajs
Changes since 1.243.1.15: +10 -1
lines
Diff to previous 1.243.1.15 (colored)
360667 Prevent file size changes for swap files. 311076 Restore fix to disallow setting the size of non regular files.
Revision 1.260 / (download) - annotate - [select for diffs], Fri Aug 23 07:51:11 1996 UTC (21 years, 1 month ago) by livesey
Branch: MAIN
Changes since 1.259: +15 -1
lines
Diff to previous 1.259 (colored)
merge ficus into kudzu (1.243.1.14 ... 1.243.1.15) > ---------------------------- > revision 1.243.1.15 > date: 1996/08/20 23:44:51; author: lguo; state: Exp; lines: +15 -1 > added support for file system data pipe. > =============================================================================
Revision 1.243.1.15 / (download) - annotate - [select for diffs], Tue Aug 20 23:44:51 1996 UTC (21 years, 1 month ago) by lguo
Changes since 1.243.1.14: +15 -1
lines
Diff to previous 1.243.1.14 (colored)
added support for file system data pipe.
Revision 1.259 / (download) - annotate - [select for diffs], Sat Aug 3 19:29:20 1996 UTC (21 years, 2 months ago) by montep
Branch: MAIN
Changes since 1.258: +9 -2
lines
Diff to previous 1.258 (colored)
merge ficus into kudzu (1.243.1.13 ... 1.243.1.14) > ---------------------------- > revision 1.243.1.14 > date: 1996/08/03 06:07:43; author: ajs; state: Exp; lines: +9 -2 > 409389 Trim back an assertion in xfs_fsync that > turns out to be a bit racy. > =============================================================================
Revision 1.243.1.14 / (download) - annotate - [select for diffs], Sat Aug 3 06:07:43 1996 UTC (21 years, 2 months ago) by ajs
Changes since 1.243.1.13: +9 -2
lines
Diff to previous 1.243.1.13 (colored)
409389 Trim back an assertion in xfs_fsync that turns out to be a bit racy.
Revision 1.258 / (download) - annotate - [select for diffs], Wed Jul 31 19:11:06 1996 UTC (21 years, 2 months ago) by sfc
Branch: MAIN
Changes since 1.257: +2 -3
lines
Diff to previous 1.257 (colored)
Delete use of obsolete ABI_IS_SVR4 macro.
Revision 1.257 / (download) - annotate - [select for diffs], Wed Jul 24 02:01:04 1996 UTC (21 years, 2 months ago) by pjr
Branch: MAIN
Changes since 1.256: +3 -2
lines
Diff to previous 1.256 (colored)
fix one of xfs_getattr's fast paths that I previously broke
Revision 1.256 / (download) - annotate - [select for diffs], Sat Jul 20 06:36:53 1996 UTC (21 years, 2 months ago) by livesey
Branch: MAIN
Changes since 1.255: +12 -5
lines
Diff to previous 1.255 (colored)
merge ficus into kudzu (1.243.1.12 ... 1.243.1.13)
Revision 1.255 / (download) - annotate - [select for diffs], Thu Jul 18 21:30:14 1996 UTC (21 years, 2 months ago) by sfc
Branch: MAIN
Changes since 1.254: +2 -1
lines
Diff to previous 1.254 (colored)
include os/proc/pproc_private as necessary
Revision 1.243.1.13 / (download) - annotate - [select for diffs], Tue Jul 16 22:11:20 1996 UTC (21 years, 3 months ago) by ajs
Changes since 1.243.1.12: +12 -5
lines
Diff to previous 1.243.1.12 (colored)
391416 Make sure to acquire the inode lock in xfs_inactive when clearing the read ahead state. This was necessary after all.
Revision 1.254 / (download) - annotate - [select for diffs], Sat Jul 13 22:36:39 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.253: +30 -12
lines
Diff to previous 1.253 (colored)
merge ficus into kudzu (1.243.1.10 ... 1.243.1.12)
Revision 1.243.1.12 / (download) - annotate - [select for diffs], Thu Jul 11 05:11:42 1996 UTC (21 years, 3 months ago) by sup
Changes since 1.243.1.11: +19 -12
lines
Diff to previous 1.243.1.11 (colored)
Fixed a bug in xfs_create quota code where it was possible to take extra references on dquots because of a goto statement.
Revision 1.243.1.11 / (download) - annotate - [select for diffs], Thu Jul 11 00:51:38 1996 UTC (21 years, 3 months ago) by ajs
Changes since 1.243.1.10: +12 -1
lines
Diff to previous 1.243.1.10 (colored)
390257 Update ctime on src_ip in xfs_rename.
Revision 1.253 / (download) - annotate - [select for diffs], Sat Jul 6 00:24:58 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.252: +8 -11
lines
Diff to previous 1.252 (colored)
merge ficus into kudzu (1.243.1.8 ... 1.243.1.10)
Revision 1.243.1.10 / (download) - annotate - [select for diffs], Tue Jul 2 22:09:56 1996 UTC (21 years, 3 months ago) by ajs
Changes since 1.243.1.9: +8 -1
lines
Diff to previous 1.243.1.9 (colored)
Use new VREMAPPING flag around calls to remapf/pflushinvalvp.
Revision 1.243.1.9 / (download) - annotate - [select for diffs], Mon Jul 1 23:03:04 1996 UTC (21 years, 3 months ago) by ajs
Changes since 1.243.1.8: +1 -11
lines
Diff to previous 1.243.1.8 (colored)
Pull out some ASSERTs I didn't mean to check in.
Revision 1.252 / (download) - annotate - [select for diffs], Sat Jun 29 06:23:50 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.251: +127 -106
lines
Diff to previous 1.251 (colored)
merge ficus into kudzu (1.243.1.5 ... 1.243.1.8)
Revision 1.251 / (download) - annotate - [select for diffs], Tue Jun 25 22:56:58 1996 UTC (21 years, 3 months ago) by sfc
Branch: MAIN
Changes since 1.250: +2 -1
lines
Diff to previous 1.250 (colored)
include ksys/vproc.h for definition of current_pid()
Revision 1.250 / (download) - annotate - [select for diffs], Tue Jun 25 18:09:08 1996 UTC (21 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.249: +2 -2
lines
Diff to previous 1.249 (colored)
Add cast for link_removed null entry to eliminate warnings in simulation.
Revision 1.243.1.8 / (download) - annotate - [select for diffs], Tue Jun 25 17:57:26 1996 UTC (21 years, 3 months ago) by ajs
Changes since 1.243.1.7: +11 -1
lines
Diff to previous 1.243.1.7 (colored)
Add shortform directory validation code.
Revision 1.243.1.7 / (download) - annotate - [select for diffs], Mon Jun 24 08:45:31 1996 UTC (21 years, 3 months ago) by sup
Changes since 1.243.1.6: +4 -1
lines
Diff to previous 1.243.1.6 (colored)
initialize error = 0 to make sure that we don't return bogus values. xfs_link's quotacode had a failure path.
Revision 1.243.1.6 / (download) - annotate - [select for diffs], Sun Jun 23 11:40:19 1996 UTC (21 years, 3 months ago) by sup
Changes since 1.243.1.5: +114 -106
lines
Diff to previous 1.243.1.5 (colored)
We return error (ie. abort operation) when we encounter an error in the quota system (eg. disk corruption) now. (instead of turning off quotas). Fixed a bug in dir_ialloc where the dqinfo structure getting 'carried over' to the next transaction was marking the second transaction dirty unnecessarily.
Revision 1.249 / (download) - annotate - [select for diffs], Sat Jun 22 02:06:50 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.248: +11 -6
lines
Diff to previous 1.248 (colored)
merge ficus into kudzu (1.243.1.3 ... 1.243.1.5)
Revision 1.243.1.5 / (download) - annotate - [select for diffs], Thu Jun 20 06:12:46 1996 UTC (21 years, 3 months ago) by doucette
Changes since 1.243.1.4: +2 -2
lines
Diff to previous 1.243.1.4 (colored)
Fix xfs_error to distinguish rt out-of-space from the normal case.
Revision 1.243.1.4 / (download) - annotate - [select for diffs], Tue Jun 18 23:47:26 1996 UTC (21 years, 3 months ago) by sup
Changes since 1.243.1.3: +10 -5
lines
Diff to previous 1.243.1.3 (colored)
Changed a case in xfs_inactive to take zero length symlinks into account.
Revision 1.248 / (download) - annotate - [select for diffs], Sat Jun 15 19:15:44 1996 UTC (21 years, 4 months ago) by livesey
Branch: MAIN
Changes since 1.247: +32 -39
lines
Diff to previous 1.247 (colored)
merge ficus 1.245-1.246 (1.243,1,3)
Revision 1.247 / (download) - annotate - [select for diffs], Thu Jun 13 21:25:11 1996 UTC (21 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.246: +2 -4
lines
Diff to previous 1.246 (colored)
325472 Remove references to VXNAM.
Revision 1.243.1.3 / (download) - annotate - [select for diffs], Thu Jun 13 00:15:56 1996 UTC (21 years, 4 months ago) by jeffs
Changes since 1.243.1.2: +10 -1
lines
Diff to previous 1.243.1.2 (colored)
Changed fcntl for IP28 only to say that you should use 16KB aligned buffers. When combined with our tlb invalidate for dma to memory, this should further reduced the changes of speculative stores that do not graduate trashing read dma. Deliberately did NOT change the check at the read/write system call, so apps that hardcoded their alignment for some reason will still work. [olson from pacecar 1.234]
Revision 1.246 / (download) - annotate - [select for diffs], Wed Jun 12 20:48:45 1996 UTC (21 years, 4 months ago) by pjr
Branch: MAIN
Changes since 1.245: +3 -3
lines
Diff to previous 1.245 (colored)
Take fast path through getattr when flags specify AT_NLINK.
Revision 1.243.1.2 / (download) - annotate - [select for diffs], Wed Jun 12 01:33:02 1996 UTC (21 years, 4 months ago) by sup
Changes since 1.243.1.1: +23 -39
lines
Diff to previous 1.243.1.1 (colored)
Took out SHAREII hooks and moved them to xfs_trans_dquot layer. SHAREII will be dependent on XFS quotas now. Also added inode quota reservations. We weren't reserving inodes earlier as a matter of policy. Policy changed ;-) Also a few cleanups in the quotacode.
Revision 1.245 / (download) - annotate - [select for diffs], Sun Jun 9 00:56:41 1996 UTC (21 years, 4 months ago) by livesey
Branch: MAIN
Changes since 1.244: +4 -6
lines
Diff to previous 1.244 (colored)
merge ficus 1.244 (1.243.1.1)
Revision 1.244 / (download) - annotate - [select for diffs], Fri Jun 7 02:28:09 1996 UTC (21 years, 4 months ago) by pjr
Branch: MAIN
Changes since 1.243: +16 -1
lines
Diff to previous 1.243 (colored)
link_removed vop
Revision 1.243.1.1 / (download) - annotate - [select for diffs], Tue Jun 4 21:43:43 1996 UTC (21 years, 4 months ago) by doucette
Changes since 1.243: +4 -6
lines
Diff to previous 1.243 (colored)
Use new superblock versioning macros (bug 385316). Some cleanup.
Revision 1.243 / (download) - annotate - [select for diffs], Wed May 29 17:26:39 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.242: +13 -9
lines
Diff to previous 1.242 (colored)
initialize va_projid in getattr(). Attach dquots in the rename path. check for uquotino _and_ pquotino in inactive path. It wasn't checking for the latter.
Revision 1.242 / (download) - annotate - [select for diffs], Wed May 22 16:36:28 1996 UTC (21 years, 4 months ago) by bhanu
Branch: MAIN
Changes since 1.241: +7 -1
lines
Diff to previous 1.241 (colored)
Fix bugs found when aglock() test program got enabled. This test tries to truncate a mapped file which has locked pages. This operations takes through some new paths in both VM and file system which were not travelled before. This bug exists in banyan too!!.
Revision 1.241 / (download) - annotate - [select for diffs], Wed May 15 22:26:29 1996 UTC (21 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.240: +575 -140
lines
Diff to previous 1.240 (colored)
Exported xfs_truncate_file and xfs_dir_ialloc to quotas. Split xfs_inactive and added xfs_inactive_free_eofblocks() because inactive was just getting too long.
Revision 1.240 / (download) - annotate - [select for diffs], Thu May 9 02:56:33 1996 UTC (21 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.239: +3 -96
lines
Diff to previous 1.239 (colored)
375390 Delete the addmap and delmap routines. They didn't do anything useful, and acquiring the inode lock in them could deadlock with the address space lock.
Revision 1.239 / (download) - annotate - [select for diffs], Wed May 8 23:51:06 1996 UTC (21 years, 5 months ago) by olson
Branch: MAIN
Changes since 1.238: +2 -2
lines
Diff to previous 1.238 (colored)
change all #if _K64U64 => #if _MIPS_SIM == _ABI64 and equivalent. The original meaning/intent of the _K64* and _K32* stuff has been getting more and more ignored, and now it is just confusing. #if _K32U32 and equivalent is just gone, we have no machines like that since 5.3. #if _K32U64||_K64U64 have the ifdefs removed, and code remaining, since it is always true. #if _K32U64||_K32U32 usually changed to != _ABI64. Some files have the older longer _MIPS_SIM_ABI64 and similar shorted to _ABI64 and equivalent; the compiler folks tell me this is preferred now and in the future, and is what cc -show prints, so it is less confusing.
Revision 1.238 / (download) - annotate - [select for diffs], Tue Apr 30 22:11:28 1996 UTC (21 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.237: +213 -74
lines
Diff to previous 1.237 (colored)
357358 Change the way that xfs_dir_lookup_int() works in order to prevent the deadlock where we are waiting for an inactive call to complete while holding the directory lock. Now we pass the VN_GET_NOWAIT flag through our dnlc lookups to keep from waiting there, and we drop the directory lock before calling xfs_iget() for the inode being fetched. We then deal with the issues raised by dropping the directory lock.
Revision 1.237 / (download) - annotate - [select for diffs], Tue Apr 23 20:18:37 1996 UTC (21 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.236: +14 -15
lines
Diff to previous 1.236 (colored)
Changes for the new dnlc that works better with behaviors.
Revision 1.236 / (download) - annotate - [select for diffs], Fri Apr 19 18:27:10 1996 UTC (21 years, 5 months ago) by pjr
Branch: MAIN
Changes since 1.235: +5 -3
lines
Diff to previous 1.235 (colored)
Move position of behavior layer from behavior descriptor to ops vector.
Revision 1.235 / (download) - annotate - [select for diffs], Fri Apr 19 02:17:37 1996 UTC (21 years, 5 months ago) by huy
Branch: MAIN
Changes since 1.234: +2 -1
lines
Diff to previous 1.234 (colored)
change mount() system call to call VOP_MOUNT instead of VFS_MOUNT and VFS_MNTUPDATE directly. Base file systems VOP_MOUNT points to fs_mount() which deals with the usual logic that cmount() used to do.
Revision 1.234 / (download) - annotate - [select for diffs], Mon Apr 1 22:49:46 1996 UTC (21 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.233: +642 -503
lines
Diff to previous 1.233 (colored)
Changes for vnodes with behaviors.
Revision 1.233 / (download) - annotate - [select for diffs], Sat Mar 9 00:15:26 1996 UTC (21 years, 7 months ago) by pjr
Branch: MAIN
Changes since 1.232: +100 -100
lines
Diff to previous 1.232 (colored)
remove pvnode_t and related
Revision 1.232 / (download) - annotate - [select for diffs], Tue Mar 5 07:59:10 1996 UTC (21 years, 7 months ago) by limes
Branch: MAIN
Changes since 1.231: +2 -1
lines
Diff to previous 1.231 (colored)
fix some compiler messages
Revision 1.231 / (download) - annotate - [select for diffs], Wed Feb 28 04:41:54 1996 UTC (21 years, 7 months ago) by ack
Branch: MAIN
Changes since 1.230: +21 -1
lines
Diff to previous 1.230 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.233 > date: 1996/02/23 22:11:30; author: ajs; state: Exp; lines: +20 -0 > 351743 Fix race in xfs_rmdir, xfs_symlink, and xfs_mkdir > by bumping the directory gen count in these routines > when we change the directory. > =============================================================================
Revision 1.230 / (download) - annotate - [select for diffs], Fri Feb 16 21:37:41 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.229: +3 -3
lines
Diff to previous 1.229 (colored)
Use XFS_ERROR macro where it was missing in several places.
Revision 1.229 / (download) - annotate - [select for diffs], Fri Feb 16 00:00:28 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.228: +32 -30
lines
Diff to previous 1.228 (colored)
Improve vnode tracing by, among other things, adding the caller's __return_address to the trace entries.
Revision 1.228 / (download) - annotate - [select for diffs], Tue Feb 13 17:03:42 1996 UTC (21 years, 8 months ago) by sp
Branch: MAIN
Changes since 1.227: +2 -2
lines
Diff to previous 1.227 (colored)
Use current_pid() to find the identity of the caller rather than curprocp
Revision 1.227 / (download) - annotate - [select for diffs], Fri Feb 9 01:14:32 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.226: +6 -6
lines
Diff to previous 1.226 (colored)
Move the include of sys/debug.h under #define _KERNEL for compile errors. Fix types of SIM vnodeops to match interposition changes.
Revision 1.226 / (download) - annotate - [select for diffs], Tue Feb 6 02:35:58 1996 UTC (21 years, 8 months ago) by pjr
Branch: MAIN
Changes since 1.225: +7 -39
lines
Diff to previous 1.225 (colored)
cleanup fdt table walkers
Revision 1.225 / (download) - annotate - [select for diffs], Sat Feb 3 21:49:49 1996 UTC (21 years, 8 months ago) by pjr
Branch: MAIN
Changes since 1.224: +15 -20
lines
Diff to previous 1.224 (colored)
Rest of support for file descriptor table
Revision 1.224 / (download) - annotate - [select for diffs], Sat Jan 27 00:29:34 1996 UTC (21 years, 8 months ago) by sp
Branch: MAIN
Changes since 1.223: +3 -3
lines
Diff to previous 1.223 (colored)
Remove u
Revision 1.223 / (download) - annotate - [select for diffs], Tue Jan 16 03:54:38 1996 UTC (21 years, 9 months ago) by ack
Branch: MAIN
Changes since 1.222: +13 -1
lines
Diff to previous 1.222 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.232 > date: 1996/01/10 18:06:32; author: ajs; state: Exp; lines: +13 -1 > 334338 In xfs_link(), fail the operation if the link > count of the inode being linked to is already 0. This > keeps the unlinked inode lists kosher. > =============================================================================
Revision 1.222 / (download) - annotate - [select for diffs], Fri Jan 5 03:57:14 1996 UTC (21 years, 9 months ago) by huy
Branch: MAIN
Changes since 1.221: +5 -5
lines
Diff to previous 1.221 (colored)
tidy up previous changes a bit.
Revision 1.221 / (download) - annotate - [select for diffs], Sat Dec 30 03:12:07 1995 UTC (21 years, 9 months ago) by ack
Branch: MAIN
Changes since 1.220: +9 -3
lines
Diff to previous 1.220 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.231 > date: 1995/12/22 03:07:53; author: orosz; state: Exp; lines: +1 -2 > Remove extraneous assignment of i_ino into the fid_t structure > in xfs_fid2(). The actual assignment is done with bcopy to > avoid alignment problems with long longs. The previous direct > assignment was still there. > ---------------------------- > revision 1.230 > date: 1995/12/14 22:30:30; author: ajs; state: Exp; lines: +8 -2 > 330599 Improve performance of stdio apps by telling stdio > to use a reasonable buffer size (not our block size) via > st_blksize (va_blksize in xfs_getattr()). > ---------------------------- > revision 1.229 > date: 1995/12/13 23:50:03; author: jeffreyh; state: Exp; lines: +2 -1 > release the lock in fdatasync > =============================================================================
Revision 1.220 / (download) - annotate - [select for diffs], Thu Dec 21 02:11:30 1995 UTC (21 years, 9 months ago) by huy
Branch: MAIN
Changes since 1.219: +99 -67
lines
Diff to previous 1.219 (colored)
convert xfs VOP calls to new syntax.
Revision 1.219 / (download) - annotate - [select for diffs], Fri Dec 15 22:58:01 1995 UTC (21 years, 10 months ago) by sp
Branch: MAIN
Changes since 1.218: +4 -3
lines
Diff to previous 1.218 (colored)
Clean up use of p_shaddr
Revision 1.218 / (download) - annotate - [select for diffs], Tue Dec 5 12:07:51 1995 UTC (21 years, 10 months ago) by ack
Branch: MAIN
Changes since 1.217: +1 -0
lines
Diff to previous 1.217 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.228 > date: 1995/12/02 01:38:09; author: jmy; state: Exp; lines: +2 -2 > change cleanlocks interface to accept 32 bit sysid > ---------------------------- > revision 1.227 > date: 1995/11/30 02:27:12; author: curtis; state: Exp; lines: +2 -1 > Fix a random ragnarok complaint. > =============================================================================
Revision 1.217 / (download) - annotate - [select for diffs], Wed Nov 29 11:30:04 1995 UTC (21 years, 10 months ago) by ack
Branch: MAIN
Changes since 1.216: +10 -3
lines
Diff to previous 1.216 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.226 > date: 1995/11/28 18:27:25; author: doucette; state: Exp; lines: +10 -3 > Fix bug 322938. Drop the link count of the parent directory in rename > when one directory is renamed on top of another (empty) one. > =============================================================================
Revision 1.216 / (download) - annotate - [select for diffs], Thu Nov 9 04:18:26 1995 UTC (21 years, 11 months ago) by jwag
Branch: MAIN
Changes since 1.215: +13 -14
lines
Diff to previous 1.215 (colored)
changes for new VOP_CLOSE interface - pass flid. new cleanlocks interface that takes a flid rather than pid/sysid. remove MANDLOCK check from readlink - links never have mandatory locking. changes for new VOP_CREATE interface that takes a flag argument. use generic function to get name for printing.
Revision 1.215 / (download) - annotate - [select for diffs], Wed Nov 8 05:02:24 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.214: +0 -6
lines
Diff to previous 1.214 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.225 > date: 1995/11/07 01:47:10; author: ajs; state: Exp; lines: +1 -7 > 319226 Remove extra permission check in xfs_readdir. > =============================================================================
Revision 1.214 / (download) - annotate - [select for diffs], Tue Oct 31 06:13:34 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.213: +1 -2
lines
Diff to previous 1.213 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.224 > date: 1995/10/28 02:13:39; author: curtis; state: Exp; lines: +2 -3 > Changed to placement of locks on xfs_inactive as a result of major rework > in the attribute code to correct wrong useage of the transaction mechanism. > =============================================================================
Revision 1.213 / (download) - annotate - [select for diffs], Tue Oct 24 07:44:40 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.212: +0 -0
lines
Diff to previous 1.212 (colored)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.223 > date: 1995/10/13 16:11:37; author: ajs; state: Exp; lines: +4 -4 > Put XFS tracing under ifdefs separate from DEBUG > ---------------------------- > revision 1.222 > date: 1995/10/13 00:28:48; author: doucette; state: Exp; lines: +4 -6 > Include sys/uuid.h since the uuid_t definition has been moved out > of sys/types.h for DCE. > Remove AT_UUID (va_uuid) field and fsx_uuid from fcntl, since the > uuid per-file is now gone. > =============================================================================
Revision 1.212 / (download) - annotate - [select for diffs], Tue Oct 17 08:20:25 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.211: +6 -8
lines
Diff to previous 1.211 (colored)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.223 > date: 1995/10/13 16:11:37; author: ajs; state: Exp; lines: +4 -4 > Put XFS tracing under ifdefs separate from DEBUG > ---------------------------- > revision 1.222 > date: 1995/10/13 00:28:48; author: doucette; state: Exp; lines: +4 -6 > Include sys/uuid.h since the uuid_t definition has been moved out > of sys/types.h for DCE. > Remove AT_UUID (va_uuid) field and fsx_uuid from fcntl, since the > uuid per-file is now gone. > =============================================================================
Revision 1.211 / (download) - annotate - [select for diffs], Tue Oct 10 10:45:52 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.210: +35 -2
lines
Diff to previous 1.210 (colored)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.221 > date: 1995/10/05 01:04:55; author: ajs; state: Exp; lines: +35 -2 > 310776 Zero the uuid field in the getattr code. Also change > the version number of the inode and superblock if we overflow > the 16 bit link count in the inode. > ---------------------------- > revision 1.220 > date: 1995/10/04 00:47:34; author: ajs; state: Exp; lines: +1 -4 > 310776 Back out last change. > ---------------------------- > revision 1.219 > date: 1995/10/03 23:43:02; author: ajs; state: Exp; lines: +3 -0 > 311076 Don't allow setting the size on non-regular files. > ---------------------------- > revision 1.218 > date: 1995/10/03 23:06:29; author: ajs; state: Exp; lines: +2 -2 > 310776 Zero the uuid field in the getattr code. > =============================================================================
Revision 1.210 / (download) - annotate - [select for diffs], Thu Oct 5 20:24:59 1995 UTC (22 years ago) by jwag
Branch: MAIN
Changes since 1.209: +8 -6
lines
Diff to previous 1.209 (colored)
use new get_current_abi() interface rather than referencing curprocp. use passed cred.
Revision 1.209 / (download) - annotate - [select for diffs], Tue Oct 3 04:19:44 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.208: +16 -3
lines
Diff to previous 1.208 (colored)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.217 > date: 1995/10/03 03:12:06; author: orosz; state: Exp; lines: +6 -1 > Use bcopy to copy the (8 byte) inode into an xfs_fid2 structure > (instead of using direct assignment) to avoid any alignment problems. > ---------------------------- > revision 1.216 > date: 1995/09/30 04:05:49; author: ajs; state: Exp; lines: +8 -3 > 310594 Don't log the inode modify timestamp in xfs_create() if > it is the only thing being logged. This speeds up create-close > tests quite a bit. > ---------------------------- > revision 1.215 > date: 1995/09/23 23:45:42; author: doucette; state: Exp; lines: +4 -1 > In xfs_rwlock and xfs_rwunlock, do nothing for directories. > This improveds getdents performance without changing the real locking > behavior. > =============================================================================
Revision 1.208 / (download) - annotate - [select for diffs], Fri Sep 22 09:47:49 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.207: +923 -592
lines
Diff to previous 1.207 (colored)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.214 > date: 1995/09/22 02:24:28; author: doucette; state: Exp; lines: +3 -3 > Rework ino64 offset support for better performance. > ---------------------------- > revision 1.213 > date: 1995/09/21 19:05:44; author: ajs; state: Exp; lines: +4 -1 > 301882 Fix uninitialized variable in new xfs_target_error_checks() > routine. > ---------------------------- > revision 1.212 > date: 1995/09/19 18:16:20; author: ajs; state: Exp; lines: +919 -591 > 301882 Rework some vnode ops so that we never > go for a vnode while in a transaction. This > prevents deadlocks when the inode is in the > inactive state. > =============================================================================
Revision 1.207 / (download) - annotate - [select for diffs], Thu Sep 14 07:09:05 1995 UTC (22 years, 1 month ago) by ack
Branch: MAIN
Changes since 1.206: +68 -36
lines
Diff to previous 1.206 (colored)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.211 > date: 1995/09/10 05:25:46; author: orosz; state: Exp; lines: +67 -35 > Add xfs_fid2 and a vnodeops table entry for it. > ---------------------------- > revision 1.210 > date: 1995/09/09 23:51:54; author: nigel; state: Exp; lines: +3 -3 > replace u.u_comm and u.u_uid (et al) with equivalent proc fields > =============================================================================
Revision 1.206 / (download) - annotate - [select for diffs], Thu Sep 7 07:30:11 1995 UTC (22 years, 1 month ago) by ack
Branch: MAIN
Changes since 1.205: +80 -41
lines
Diff to previous 1.205 (colored)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vnodeops.c,v > ---------------------------- > revision 1.209 > date: 1995/09/05 00:45:59; author: doucette; state: Exp; lines: +7 -7 > Use curprocp instead of u.u_procp, curprocp->p_cred instead of > u.u_cred, since kthreads don't have a u. > ---------------------------- > revision 1.208 > date: 1995/09/04 23:49:12; author: doucette; state: Exp; lines: +7 -6 > Add ino64 mount option, for easier testing of big inode numbers. > ---------------------------- > revision 1.207 > date: 1995/09/04 02:10:54; author: curtis; state: Exp; lines: +3 -1 > Allowed lseek on a directory to drop anything it wants into the file offset. > Redefined how getdents() saves its context. Now low 32bits of dir's file > offset is next entry's hashval. Use that hashval to re-find place in dir > in the face of changes to dir's structure after adds/removes. > ---------------------------- > revision 1.206 > date: 1995/09/01 23:56:10; author: tap; state: Exp; lines: +2 -1 > fix uninitialized variable bug in xfs_alloc_file_space(). This caused > calls to F_ALLOCSP64 and F_RESVSP64 to fail. > ---------------------------- > revision 1.205 > date: 1995/08/31 18:03:42; author: doucette; state: Exp; lines: +64 -29 > Make di_nlink unsigned. Add error checks (EMLINK) where we > call xfs_bumplink. (bug 301574) > =============================================================================
Revision 1.205 / (download) - annotate - [select for diffs], Sat Sep 2 00:22:34 1995 UTC (22 years, 1 month ago) by jwag
Branch: MAIN
Changes since 1.204: +7 -8
lines
Diff to previous 1.204 (colored)
vop_map. vop_admap, vop_delmap now take void * rather than pregion *. remove inclusion of region.h
Revision 1.204 / (download) - annotate - [select for diffs], Wed Aug 16 05:46:43 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.203: +3 -1
lines
Diff to previous 1.203 (colored)
Add includes of xfs_macros.h, xfs_bit.h.
Revision 1.203 / (download) - annotate - [select for diffs], Wed Aug 9 19:53:57 1995 UTC (22 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.202: +6 -1
lines
Diff to previous 1.202 (colored)
294847 Make sure to flush the log if the buffer is pinned before calling bawrite() with it in xfs_fsync.
Revision 1.202 / (download) - annotate - [select for diffs], Wed Aug 9 01:29:58 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.201: +22 -2
lines
Diff to previous 1.201 (colored)
Fix errno returned from ioctl() on an xfs file, where it's not a filesystem-allowed ioctl: it was 89 (ENOSYS), should have been 25 (ENOTTY). This makes xfs behave the same as efs.
Revision 1.201 / (download) - annotate - [select for diffs], Mon Aug 7 18:29:14 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.200: +8 -5
lines
Diff to previous 1.200 (colored)
Inode space reduction: move inode items out of line.
Revision 1.200 / (download) - annotate - [select for diffs], Wed Jul 26 01:16:02 1995 UTC (22 years, 2 months ago) by orosz
Branch: MAIN
Changes since 1.199: +8 -8
lines
Diff to previous 1.199 (colored)
Change F_FSSETDM fcntl arg from a u_int[2] to a struct fsdmidata.
Revision 1.199 / (download) - annotate - [select for diffs], Tue Jul 18 23:15:12 1995 UTC (22 years, 3 months ago) by tap
Branch: MAIN
Changes since 1.198: +3 -3
lines
Diff to previous 1.198 (colored)
fixed bug in xfs_fcntl() where the argument passed by the user on an F_UNRESVSP64 call was not being converted correctly.
Revision 1.198 / (download) - annotate - [select for diffs], Tue Jul 18 21:36:50 1995 UTC (22 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.197: +8 -2
lines
Diff to previous 1.197 (colored)
282718 Change the sticky bit directory behavior to match BSD and XPG4.
Revision 1.197 / (download) - annotate - [select for diffs], Sat Jul 15 00:52:17 1995 UTC (22 years, 3 months ago) by mwang
Branch: MAIN
Changes since 1.196: +2 -2
lines
Diff to previous 1.196 (colored)
convert the lowercase copyin_xlate and xlate_copyout macros to uppercase.
Revision 1.196 / (download) - annotate - [select for diffs], Fri Jun 30 21:26:47 1995 UTC (22 years, 3 months ago) by olson
Branch: MAIN
Changes since 1.195: +2 -8
lines
Diff to previous 1.195 (colored)
removed the last vestiges of the irix4 stuff. Drops the rest of the irix4* data structures, and IRIX4 abi stuff, and some of the irix4 include files. Doubtless a little bit left, but I think this is pretty much the end of it.
Revision 1.195 / (download) - annotate - [select for diffs], Tue Jun 20 18:48:26 1995 UTC (22 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.194: +8 -2
lines
Diff to previous 1.194 (colored)
Read-ahead the first directory block on open, using the new xfs_da_reada_buf routine.
Revision 1.194 / (download) - annotate - [select for diffs], Sat Jun 17 02:48:04 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.193: +1 -2
lines
Diff to previous 1.193 (colored)
Fix a compiler warning, remove unused label.
Revision 1.193 / (download) - annotate - [select for diffs], Thu Jun 15 01:22:48 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.192: +17 -39
lines
Diff to previous 1.192 (colored)
Call the new attribute inactivation routine.
Revision 1.192 / (download) - annotate - [select for diffs], Tue Jun 13 20:37:22 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.191: +2 -2
lines
Diff to previous 1.191 (colored)
Fix comment in xfs_getattr about what happens to inode numbers.
Revision 1.191 / (download) - annotate - [select for diffs], Thu Jun 8 18:35:58 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.190: +5 -4
lines
Diff to previous 1.190 (colored)
Add btree block and inode readahead for bulkstat. Fix missing deletion of attribute for data when inode is freed.
Revision 1.190 / (download) - annotate - [select for diffs], Fri Jun 2 20:41:29 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.189: +0 -1
lines
Diff to previous 1.189 (colored)
281465 - Remove an overzealous assertion in xfs_setattr. It is OK to modify both the file size and other attributes in a single call.
Revision 1.189 / (download) - annotate - [select for diffs], Thu Jun 1 02:02:32 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.188: +1 -21
lines
Diff to previous 1.188 (colored)
Clean up xfs_inactive() a bit now that xfs_atruncate_start() is sure to do a synchronous transaction.
Revision 1.188 / (download) - annotate - [select for diffs], Wed May 31 17:32:47 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.187: +8 -3
lines
Diff to previous 1.187 (colored)
Fix bug in xfs_getattr() where we referenced through a potentially NULL ip->i_afp fork pointer. Now we first check for NULL.
Revision 1.187 / (download) - annotate - [select for diffs], Wed May 31 00:31:33 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.186: +11 -7
lines
Diff to previous 1.186 (colored)
280242 - Change direct I/O memory alignment requirement to the secondary cache line size. Limit the maximum I/O size to ctob(maxdmasz - 1) so that we can handle the case where the I/O sits across maxdmasz pages.
Revision 1.186 / (download) - annotate - [select for diffs], Sat May 27 00:13:38 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.185: +26 -4
lines
Diff to previous 1.185 (colored)
279991 - If we can't get the inode flush lock in xfs_fsync() check to see if the inode buffer is hanging out delayed write and if so kick it out immediately. This keeps us from hanging on the flush lock waiting for bdflush to kick out the buffer.
Revision 1.185 / (download) - annotate - [select for diffs], Fri May 26 00:57:17 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.184: +3 -3
lines
Diff to previous 1.184 (colored)
Put the attribute fork info (i_af) into a zone-allocated structure pointed to by i_afp, to save memory for inodes that don't use attributes.
Revision 1.184 / (download) - annotate - [select for diffs], Thu May 25 23:23:03 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.183: +129 -50
lines
Diff to previous 1.183 (colored)
Add code to xfs_inactive() to deal with truncating the attribute fork of an inode when the inode is unlinked and released.
Revision 1.183 / (download) - annotate - [select for diffs], Tue May 23 03:05:41 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.182: +14 -9
lines
Diff to previous 1.182 (colored)
Get rid of i_vcode and fix compiler warning in the simulation.
Revision 1.182 / (download) - annotate - [select for diffs], Mon May 22 23:49:31 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.181: +11 -7
lines
Diff to previous 1.181 (colored)
261926 - Acquire the I/O lock shared in VOP_RWLOCK if the op code passed in is VRWLOCK_WRITE_DIRECT. This enables multiple writers when using direct I/O.
Revision 1.181 / (download) - annotate - [select for diffs], Mon May 22 23:19:47 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.180: +3 -15
lines
Diff to previous 1.180 (colored)
Always set va_nblocks, instead of just for btree and extents files, since attributes can contribute to nblocks too.
Revision 1.180 / (download) - annotate - [select for diffs], Sun May 21 16:44:54 1995 UTC (22 years, 4 months ago) by tap
Branch: MAIN
Changes since 1.179: +47 -1
lines
Diff to previous 1.179 (colored)
added code to xfs_close() to remove rate guarantees on last close.
Revision 1.179 / (download) - annotate - [select for diffs], Sat May 20 02:27:22 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.178: +23 -11
lines
Diff to previous 1.178 (colored)
Add XFS_XFLAG_PREALLOC to xflags so fsx_getattr can get it. Add F_GETBMAPA and F_FSGETXATTRA fcntl operations for attribute fork.
Revision 1.178 / (download) - annotate - [select for diffs], Thu May 18 21:05:46 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.177: +43 -36
lines
Diff to previous 1.177 (colored)
Fix bug 278247 - don't allow non-directory vnodes in xfs_lookup, reject them with ENOTDIR. Also add XFS_ERROR in a bunch of places where it was missing around error returns.
Revision 1.177 / (download) - annotate - [select for diffs], Wed May 17 23:13:44 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.176: +2 -2
lines
Diff to previous 1.176 (colored)
Change from include/attributes.h to include/sys/attributes.h
Revision 1.176 / (download) - annotate - [select for diffs], Tue May 9 21:21:58 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.175: +50 -47
lines
Diff to previous 1.175 (colored)
Add support for in-core and on-disk inodes with both data and attribute forks, or just a data fork. Change all the data structures and macros used to manipulate the variable portion of the inode, to support this feature.
Revision 1.175 / (download) - annotate - [select for diffs], Tue May 9 18:08:01 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.174: +10 -1
lines
Diff to previous 1.174 (colored)
275065 - Make create fail if the file size limit is set to 0 and the file does not exist.
Revision 1.174 / (download) - annotate - [select for diffs], Mon May 8 20:24:33 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.173: +66 -7
lines
Diff to previous 1.173 (colored)
Change include sequence and add new attribute VOP entry points, a result of the new attribute code and the directory code restructuring.
Revision 1.173 / (download) - annotate - [select for diffs], Tue May 2 00:34:39 1995 UTC (22 years, 5 months ago) by yohn
Branch: MAIN
Changes since 1.172: +4 -4
lines
Diff to previous 1.172 (colored)
changed various lock_t and sema_t locks to mutex_t; changed bli_refcount management to use atomicAddInt so xfs_bli_reflock spinlock could be removed entirely
Revision 1.172 / (download) - annotate - [select for diffs], Mon May 1 17:55:04 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.171: +38 -2
lines
Diff to previous 1.171 (colored)
Add calls to purge entries from the write reference cache when the files are removed.
Revision 1.171 / (download) - annotate - [select for diffs], Sat Apr 29 17:28:47 1995 UTC (22 years, 5 months ago) by tap
Branch: MAIN
Changes since 1.170: +2 -80
lines
Diff to previous 1.170 (colored)
change xfs_close() routine to work with new grio functionality. It is nolonger possible to remove rate guarantees on close of a file.
Revision 1.170 / (download) - annotate - [select for diffs], Wed Apr 26 22:50:18 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.169: +304 -215
lines
Diff to previous 1.169 (colored)
Fixing up recovery from disk errors.
Revision 1.169 / (download) - annotate - [select for diffs], Tue Apr 18 01:23:29 1995 UTC (22 years, 6 months ago) by orosz
Branch: MAIN
Changes since 1.168: +7 -5
lines
Diff to previous 1.168 (colored)
Use ATTR_DMI flag to prevent DMI callouts in xfs_setattr when called from DMI functions.
Revision 1.168 / (download) - annotate - [select for diffs], Fri Apr 14 17:35:54 1995 UTC (22 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.167: +76 -32
lines
Diff to previous 1.167 (colored)
add code to support XFS file block reservation/unreservation commands and to fix F_ALLOCSP and F_FREESP commands.
Revision 1.167 / (download) - annotate - [select for diffs], Thu Apr 13 03:16:14 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.166: +979 -541
lines
Diff to previous 1.166 (colored)
First cut at disk error handling
Revision 1.166 / (download) - annotate - [select for diffs], Sat Apr 1 01:02:24 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.165: +2 -1
lines
Diff to previous 1.165 (colored)
Include sys/dmi.h and sys/dmi_kern.h instead of io/dmi/dmi_kern.h.
Revision 1.165 / (download) - annotate - [select for diffs], Fri Mar 31 20:06:07 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.164: +6 -3
lines
Diff to previous 1.164 (colored)
Add an #ident line. Include fs/specfs/snode.h from $ROOT instead of the source tree. Include xfs_dir.h before xfs_dinode.h since it now has a dependency. Clean up some of the SIM #define _KERNEL 1 includes.
Revision 1.164 / (download) - annotate - [select for diffs], Tue Mar 28 16:44:36 1995 UTC (22 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.163: +399 -8
lines
Diff to previous 1.163 (colored)
add code to support the F_ALLOCSP, F_ALLOCSP64, F_FREESP, and F_FREESP64 fcntl() commands.
Revision 1.163 / (download) - annotate - [select for diffs], Wed Mar 22 18:38:24 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.162: +35 -1
lines
Diff to previous 1.162 (colored)
267394 - Add xfs_fast_fid() for use by NFS so that NFS does not need to poke at XFS inode internals.
Revision 1.162 / (download) - annotate - [select for diffs], Tue Mar 14 20:48:40 1995 UTC (22 years, 7 months ago) by jeffreyh
Branch: MAIN
Changes since 1.161: +13 -9
lines
Diff to previous 1.161 (colored)
add support for daya sync.
Revision 1.161 / (download) - annotate - [select for diffs], Thu Mar 9 04:15:46 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.160: +15 -7
lines
Diff to previous 1.160 (colored)
Very minor optimizations to xfs_getattr.
Revision 1.160 / (download) - annotate - [select for diffs], Tue Mar 7 18:52:07 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.159: +2 -4
lines
Diff to previous 1.159 (colored)
Fix bug 251693 for xfs filesystems. Implement the nanosecond portion of file timestamps, instead of always leaving it 0.
Revision 1.159 / (download) - annotate - [select for diffs], Thu Mar 2 02:02:54 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.158: +49 -49
lines
Diff to previous 1.158 (colored)
Use new xfs_file_last_byte() to calculate the byte up to which to flush a file. Also fix a few other places where values could overflow with 64 bit files.
Revision 1.158 / (download) - annotate - [select for diffs], Tue Feb 28 02:50:59 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.157: +7 -5
lines
Diff to previous 1.157 (colored)
Change suser, crsuser calls to _CAP_ABLE macro references.
Revision 1.157 / (download) - annotate - [select for diffs], Fri Feb 24 19:19:26 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.156: +25 -3
lines
Diff to previous 1.156 (colored)
Add xfs_open vnodeop, so we can check (in 32-bit kernels) for files that are too large to be used. Fix the seek position allowed for lseek64 to include 2^63-1 (the max file size).
Revision 1.156 / (download) - annotate - [select for diffs], Thu Feb 23 16:17:46 1995 UTC (22 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.155: +8 -1
lines
Diff to previous 1.155 (colored)
fix bug in DIOINFO call, it was originally found in EFS (#248912)
Revision 1.155 / (download) - annotate - [select for diffs], Wed Feb 22 20:48:04 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.154: +8 -9
lines
Diff to previous 1.154 (colored)
Fix bugs 263156, 263632 - enable 64-bit file sizes in 64-bit kernels.
Revision 1.154 / (download) - annotate - [select for diffs], Sat Feb 18 04:45:07 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.153: +17 -5
lines
Diff to previous 1.153 (colored)
263205 - Fix a problem in xfs_create() where we would double trip on an inode lock if the lookup returned the inode of the directory being looked up in. This happens with things like creat(foo/..) or creat(mountpoint).
Revision 1.153 / (download) - annotate - [select for diffs], Sat Feb 4 03:38:20 1995 UTC (22 years, 8 months ago) by orosz
Branch: MAIN
Changes since 1.152: +12 -0
lines
Diff to previous 1.152 (colored)
Add generation of DMI remove event to xfs_rmdir.
Revision 1.152 / (download) - annotate - [select for diffs], Tue Jan 31 19:00:20 1995 UTC (22 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.151: +17 -26
lines
Diff to previous 1.151 (colored)
Warning elimination: remove unused variables, tag some routines ARGSUSED, add return statements, ifdef out some code.
Revision 1.151 / (download) - annotate - [select for diffs], Tue Jan 31 00:10:09 1995 UTC (22 years, 8 months ago) by tap
Branch: MAIN
Changes since 1.150: +1 -1
lines
Diff to previous 1.150 (colored)
in the XFS simulator, define _KERNEL before including params.h. This causes the off_t type to be defined as a long long rather than a long.
Revision 1.150 / (download) - annotate - [select for diffs], Wed Jan 18 21:28:31 1995 UTC (22 years, 8 months ago) by tap
Branch: MAIN
Changes since 1.149: +1 -5
lines
Diff to previous 1.149 (colored)
remove invalid ASSERT in xfs_close(). This is only for the redwood tree.
Revision 1.149 / (download) - annotate - [select for diffs], Tue Jan 17 21:29:57 1995 UTC (22 years, 9 months ago) by tap
Branch: MAIN
Changes since 1.148: +3 -90
lines
Diff to previous 1.148 (colored)
undo the last changes. The fields of the fsxattr structure have been changed to __uint32_t from unsigned longs so the version is not necessary.
Revision 1.148 / (download) - annotate - [select for diffs], Tue Jan 17 20:34:41 1995 UTC (22 years, 9 months ago) by tap
Branch: MAIN
Changes since 1.147: +90 -3
lines
Diff to previous 1.147 (colored)
add code to copyin/copyout the fsxattr arguments correctly.
Revision 1.147 / (download) - annotate - [select for diffs], Wed Dec 28 23:05:59 1994 UTC (22 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.146: +35 -0
lines
Diff to previous 1.146 (colored)
changed xfs_close() to cope with redwood's 5.2-based shared file descriptor handling.
Revision 1.146 / (download) - annotate - [select for diffs], Thu Dec 22 00:44:23 1994 UTC (22 years, 9 months ago) by tap
Branch: MAIN
Changes since 1.145: +18 -18
lines
Diff to previous 1.145 (colored)
cleanup code so file will compile without warnings.
Revision 1.145 / (download) - annotate - [select for diffs], Wed Dec 7 01:24:38 1994 UTC (22 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.144: +0 -30
lines
Diff to previous 1.144 (colored)
Fix bug 252460 - don't update timestamps in readonly xfs filesystems.
Revision 1.144 / (download) - annotate - [select for diffs], Tue Dec 6 22:54:53 1994 UTC (22 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.143: +23 -8
lines
Diff to previous 1.143 (colored)
Fix timestamp missing updates for readdir (access time) and chown, chmod (change time). These were found by posix tests.
Revision 1.143 / (download) - annotate - [select for diffs], Mon Dec 5 19:46:08 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.142: +9 -12
lines
Diff to previous 1.142 (colored)
No longer refuse to reclaim inodes simply because the inode itself needs to be flushed. Doing so allows us to refuse too many reclaims, and this causes the vnode cache to grow without bound.
Revision 1.142 / (download) - annotate - [select for diffs], Mon Dec 5 18:25:02 1994 UTC (22 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.141: +2 -0
lines
Diff to previous 1.141 (colored)
Add assert that xfs_iget doesn't return null.
Revision 1.141 / (download) - annotate - [select for diffs], Fri Dec 2 01:23:37 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.140: +5 -0
lines
Diff to previous 1.140 (colored)
Add a panic to xfs_lookup() in an attempt to catch a bug a few of our beta sites have seen.
Revision 1.140 / (download) - annotate - [select for diffs], Mon Nov 28 17:34:29 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.139: +16 -4
lines
Diff to previous 1.139 (colored)
In xfs_reclaim() reject any inode which is dirty or has dirty data if it is not an unmount. Going for the inode buffer when called from vhand can cause deadlocks.
Revision 1.139 / (download) - annotate - [select for diffs], Fri Nov 18 17:19:06 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.138: +3 -1
lines
Diff to previous 1.138 (colored)
250425 - Make the check in xfs_inactive() about whether there is space beyond the end of the file more stringent. Before we were making truncate calls when there was nothing to do.
Revision 1.138 / (download) - annotate - [select for diffs], Fri Nov 18 00:31:59 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.137: +72 -0
lines
Diff to previous 1.137 (colored)
Make all the directory ops synchronous when the file system is mounted with the 'wsync' option.
Revision 1.137 / (download) - annotate - [select for diffs], Wed Nov 16 17:07:53 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.136: +16 -7
lines
Diff to previous 1.136 (colored)
convert back and forth from user flags XFS_XFLAGs to disk inode flags XFS_DIFLAGs.
Revision 1.136 / (download) - annotate - [select for diffs], Tue Nov 15 22:17:17 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.135: +1 -0
lines
Diff to previous 1.135 (colored)
add include of xfs_itable.h to get define of XFS_DIFLAG_REALTIME.
Revision 1.135 / (download) - annotate - [select for diffs], Tue Nov 15 18:05:36 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.134: +92 -11
lines
Diff to previous 1.134 (colored)
Modify the file data flushing code to account for overallocated blocks. Also change the inode reclaim code to fail the reclaim if the inode is still in the AIL. We push it out delwri now and fail rather than writing it synchronously to disk and succeeding. This will use more incore vnodes, but it speeds things up a great deal.
Revision 1.134 / (download) - annotate - [select for diffs], Tue Nov 15 02:25:48 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.133: +46 -23
lines
Diff to previous 1.133 (colored)
Add CREATE and link/symlink events; don't send "POST" events on failure.
Revision 1.133 / (download) - annotate - [select for diffs], Thu Nov 10 19:41:38 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.132: +9 -3
lines
Diff to previous 1.132 (colored)
Make log reservations for inode allocation include blocks for inode btree splits.
Revision 1.132 / (download) - annotate - [select for diffs], Tue Nov 8 22:55:46 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.131: +30 -0
lines
Diff to previous 1.131 (colored)
add a routine "xfs_error()" to print file system error conditions to the console. Currently there are only two types of error defined: 1 if the real time partition runs out of space, 2 if the data partition runs out of space.
Revision 1.131 / (download) - annotate - [select for diffs], Tue Nov 8 03:00:52 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.130: +1 -1
lines
Diff to previous 1.130 (colored)
Put the kernel-only content of sys/dmi.h into io/dmi/dmi_kern.h.
Revision 1.130 / (download) - annotate - [select for diffs], Mon Nov 7 04:19:14 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.129: +15 -14
lines
Diff to previous 1.129 (colored)
Add check of VFS_DMI flag to DM_EVENT_ENABLED macro.
Revision 1.129 / (download) - annotate - [select for diffs], Thu Nov 3 19:17:39 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.128: +5 -0
lines
Diff to previous 1.128 (colored)
add comments to explain setting of values in F_DIOINFO.
Revision 1.128 / (download) - annotate - [select for diffs], Thu Nov 3 02:28:23 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.127: +57 -8
lines
Diff to previous 1.127 (colored)
Add the truncate, attribute, destroy, postcreate, remove, postremove, rename, and postrename events.
Revision 1.127 / (download) - annotate - [select for diffs], Wed Nov 2 18:27:21 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.126: +6 -2
lines
Diff to previous 1.126 (colored)
change the F_DIOINFO system call so that it returns the correct values for using direct I/O with XFS. The miniosz is a file system block and the maxiosz must be a multiple of the block size.
Revision 1.126 / (download) - annotate - [select for diffs], Wed Oct 26 02:50:31 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.125: +2 -2
lines
Diff to previous 1.125 (colored)
Fix bug 246136 - utime with null time & not owner, needed to check for write access.
Revision 1.125 / (download) - annotate - [select for diffs], Wed Oct 26 02:33:01 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.124: +9 -9
lines
Diff to previous 1.124 (colored)
Fix bug 246126 - rename posix bugs. There are two bugs fixed in rename, in the case where the target exists and is a directory. First, the check for the target being an empty directory was wrong; second, the check for the source being a directory should precede the other check (according to the test). The latter is still broken in efs, see bug 235525.
Revision 1.124 / (download) - annotate - [select for diffs], Wed Oct 26 00:51:22 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.123: +23 -43
lines
Diff to previous 1.123 (colored)
Fix bug 246123 - timestamp problems. There are 2 bug fixes. First, all directory writes needed to set ctime. Second, truncate (without create) needed to set mtime and ctime. Also cleaned up a couple of other timestamp settings, in particular to never set the nsec part of times.
Revision 1.123 / (download) - annotate - [select for diffs], Thu Oct 20 16:58:37 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.122: +2 -0
lines
Diff to previous 1.122 (colored)
When we rename a directory, purge its relationship to its ".." entry from the dnlc since it is changing.
Revision 1.122 / (download) - annotate - [select for diffs], Thu Oct 13 23:55:08 1994 UTC (23 years ago) by tap
Branch: MAIN
Changes since 1.121: +3 -2
lines
Diff to previous 1.121 (colored)
do not allow a file to be marked as a realtime file if there is no realtime partition on the file system.
Revision 1.121 / (download) - annotate - [select for diffs], Tue Oct 11 22:06:28 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.120: +4 -0
lines
Diff to previous 1.120 (colored)
#ifndef SIM code not needed for programs linking with libsim.a, to make them smaller.
Revision 1.120 / (download) - annotate - [select for diffs], Fri Oct 7 21:14:44 1994 UTC (23 years ago) by miken
Branch: MAIN
Changes since 1.119: +55 -55
lines
Diff to previous 1.119 (colored)
Implement transaction types
Revision 1.119 / (download) - annotate - [select for diffs], Sun Oct 2 00:48:46 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.118: +10 -3
lines
Diff to previous 1.118 (colored)
for inodes which are not in the AIL.
Revision 1.118 / (download) - annotate - [select for diffs], Wed Sep 28 23:28:43 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.117: +13 -15
lines
Diff to previous 1.117 (colored)
Add a call to remapf() in the invalidating case of xfs_fsync(). Remove the now redundant call to remapf() in xfs_inactive() and xfs_create(). xfs_itruncate_start() takes care of that now.
Revision 1.117 / (download) - annotate - [select for diffs], Tue Sep 27 15:26:45 1994 UTC (23 years ago) by tap
Branch: MAIN
Changes since 1.116: +4 -2
lines
Diff to previous 1.116 (colored)
fix bug when comparing va_extsize with di_extsize. di_extsize is in blocks, va_extsize is in bytes.
Revision 1.116 / (download) - annotate - [select for diffs], Tue Sep 27 00:14:46 1994 UTC (23 years ago) by tap
Branch: MAIN
Changes since 1.115: +18 -0
lines
Diff to previous 1.115 (colored)
allow the setting of file extent size only if the file is marked as real time.
Revision 1.115 / (download) - annotate - [select for diffs], Fri Sep 16 00:29:54 1994 UTC (23 years, 1 month ago) by orosz
Branch: MAIN
Changes since 1.114: +53 -0
lines
Diff to previous 1.114 (colored)
Add fcntl to set the DMI fields in the core inode.
Revision 1.114 / (download) - annotate - [select for diffs], Thu Sep 15 21:55:29 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.113: +9 -5
lines
Diff to previous 1.113 (colored)
More ASSERTs around flushing code.
Revision 1.113 / (download) - annotate - [select for diffs], Tue Sep 13 23:24:42 1994 UTC (23 years, 1 month ago) by curtis
Branch: MAIN
Changes since 1.112: +65 -25
lines
Diff to previous 1.112 (colored)
Add some missing inode timestamp updates when directories are being changed.
Revision 1.112 / (download) - annotate - [select for diffs], Sat Sep 10 15:50:34 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.111: +6 -0
lines
Diff to previous 1.111 (colored)
Add more ASSERTs in the file truncation and flushing paths.
Revision 1.111 / (download) - annotate - [select for diffs], Fri Sep 9 22:04:43 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.110: +12 -6
lines
Diff to previous 1.110 (colored)
Make flushing calls more accurate.
Revision 1.110 / (download) - annotate - [select for diffs], Thu Sep 8 20:29:57 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.109: +3 -5
lines
Diff to previous 1.109 (colored)
Add xfs statistics support for osview (per-processor counters for file system actions).
Revision 1.109 / (download) - annotate - [select for diffs], Thu Sep 8 03:24:05 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.108: +4 -3
lines
Diff to previous 1.108 (colored)
Change the calls to xfs_bunmapi() to use the new flags parameter.
Revision 1.108 / (download) - annotate - [select for diffs], Thu Sep 8 03:14:53 1994 UTC (23 years, 1 month ago) by orosz
Branch: MAIN
Changes since 1.107: +3 -0
lines
Diff to previous 1.107 (colored)
Set i_update_core after timestamp changes that are not being logged.
Revision 1.107 / (download) - annotate - [select for diffs], Wed Sep 7 22:54:31 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.106: +139 -89
lines
Diff to previous 1.106 (colored)
Add xfs_vnodeops.c back into the simulation, for two routines: xfs_reclaim and xfs_inactive. Put in #ifndef SIM's to get rid of the rest.
Revision 1.106 / (download) - annotate - [select for diffs], Wed Sep 7 22:12:20 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.105: +63 -51
lines
Diff to previous 1.105 (colored)
Enter names in the dnlc when a lookup succeeds; this has been missing since day 1. Also use the _fast dnlc entry points where possible, to avoid some overhead. Changed the interface to xfs_dir_lookup_int for this.
Revision 1.105 / (download) - annotate - [select for diffs], Tue Sep 6 22:25:34 1994 UTC (23 years, 1 month ago) by orosz
Branch: MAIN
Changes since 1.104: +5 -3
lines
Diff to previous 1.104 (colored)
Don't update access time if FINVIS flag set in uio for xfs_readlink.
Revision 1.104 / (download) - annotate - [select for diffs], Wed Aug 31 22:34:49 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.103: +189 -140
lines
Diff to previous 1.103 (colored)
Change xfs_reclaim() to return EAGAIN if there is dirty data associated with the inode. This prevents deadlocks when flushing that data and we've been called from the middle of some other transaction.
Revision 1.103 / (download) - annotate - [select for diffs], Wed Aug 31 02:54:54 1994 UTC (23 years, 1 month ago) by orosz
Branch: MAIN
Changes since 1.102: +0 -4
lines
Diff to previous 1.102 (colored)
Removed duplicate prototype for xfs_readlink.
Revision 1.102 / (download) - annotate - [select for diffs], Fri Aug 26 23:34:54 1994 UTC (23 years, 1 month ago) by miken
Branch: MAIN
Changes since 1.101: +4 -1
lines
Diff to previous 1.101 (colored)
If we try to truncate a device, just return with no error. This mimics EFS.
Revision 1.101 / (download) - annotate - [select for diffs], Tue Aug 23 01:05:38 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.100: +2 -1
lines
Diff to previous 1.100 (colored)
Fix xfs_getattr() to use units of 512 bytes in the va_nblocks field of the vattr structure. We were using fsblocks and counting on the application to use st_blksize, but that is wrong. st_blksize is defined to be the optimal I/O size for the file, not its underlying block size.
Revision 1.100 / (download) - annotate - [select for diffs], Thu Aug 18 18:35:54 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.99: +7 -4
lines
Diff to previous 1.99 (colored)
Move all variable initialization out of the variable declarations and into the code after the try_again: label. Not doing so means they'll be improperly initialized if we need to start over in the routine.
Revision 1.99 / (download) - annotate - [select for diffs], Tue Aug 16 23:55:28 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.98: +82 -3
lines
Diff to previous 1.98 (colored)
Change xfs_remove(), so that when there is not enough space in the file system to reserve for the transaction we try to first truncate the file to free up some space and then try again to remove the file.
Revision 1.98 / (download) - annotate - [select for diffs], Sat Aug 13 00:49:47 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.97: +91 -9
lines
Diff to previous 1.97 (colored)
Add additional to the vnodeops to refuse to deal with directories which have been unlinked. The only reason they are still around is that we have a reference to the vnode.
Revision 1.97 / (download) - annotate - [select for diffs], Thu Aug 11 19:54:25 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.96: +5 -2
lines
Diff to previous 1.96 (colored)
Fix xfs_lock_dir_and_entry() to properly manipulate the inodes and inode refcounts after re-looking up the entry in the out of order case.
Revision 1.96 / (download) - annotate - [select for diffs], Sat Jul 30 00:53:49 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.95: +2 -1
lines
Diff to previous 1.95 (colored)
In xfs_rename(), the target_pnp parameter may sometimes be NULL (specifically when called from the nfs server). Thus we can't count on looking inside it to find the length of the given name. If the pointer is NULL, use strlen() instead.
Revision 1.95 / (download) - annotate - [select for diffs], Tue Jul 26 23:07:16 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.94: +1 -1
lines
Diff to previous 1.94 (colored)
Use ip->i_d.di_gen for the file handle generation number, not ip->i_gen.
Revision 1.94 / (download) - annotate - [select for diffs], Fri Jul 22 01:14:12 1994 UTC (23 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.93: +1 -0
lines
Diff to previous 1.93 (colored)
Reorder include files with xfs_alloc.h before xfs_bmap.h since xfs_bmap.h now mentions xfs_alloctype_t.
Revision 1.93 / (download) - annotate - [select for diffs], Thu Jul 21 18:44:53 1994 UTC (23 years, 2 months ago) by tap
Branch: MAIN
Changes since 1.92: +1 -1
lines
Diff to previous 1.92 (colored)
fix bug in xfs_close(). Check for a non zero return from ufgetfast(), not a NULL return.
Revision 1.92 / (download) - annotate - [select for diffs], Wed Jul 20 04:40:16 1994 UTC (23 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.91: +22 -5
lines
Diff to previous 1.91 (colored)
Fix up xfs_ancestor_check to 1) assert that relationships between the four inodes already checked by the caller are still true and 2) get the un-locking right for some overlaps, e.g. mv (dir) foo foo/foo.
Revision 1.91 / (download) - annotate - [select for diffs], Tue Jul 19 21:46:37 1994 UTC (23 years, 2 months ago) by tap
Branch: MAIN
Changes since 1.90: +24 -4
lines
Diff to previous 1.90 (colored)
fix xfs_close() to work with new fio code.
Revision 1.90 / (download) - annotate - [select for diffs], Tue Jul 12 16:48:37 1994 UTC (23 years, 3 months ago) by tap
Branch: MAIN
Changes since 1.89: +8 -2
lines
Diff to previous 1.89 (colored)
change the xfs_rwlock/xfs_rwunlock routines to use the "write_lock" parameter when determing if the lock should be held shared or exclusive.
Revision 1.89 / (download) - annotate - [select for diffs], Sat Jun 25 21:43:05 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.88: +1 -2
lines
Diff to previous 1.88 (colored)
Remove include of obsolete xfs_bio.h.
Revision 1.88 / (download) - annotate - [select for diffs], Mon Jun 20 21:34:35 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.87: +1 -2
lines
Diff to previous 1.87 (colored)
Fix the calculation of va_nblocks (st_blocks) in xfs_getattr, it needs to be in terms of fs blocks not BB's.
Revision 1.87 / (download) - annotate - [select for diffs], Tue Jun 14 18:15:14 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.86: +20 -1
lines
Diff to previous 1.86 (colored)
Add F_GETBMAP fcntl for block mapping reporting. Fix va_nextents value returned from the get-extended-attributes fcntl, so F_GETBMAP callers get the right number of extents.
Revision 1.86 / (download) - annotate - [select for diffs], Sun Jun 12 01:20:37 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.85: +1 -1
lines
Diff to previous 1.85 (colored)
Change the test in xfs_seek() so the the new offset cannot equal the maximum file offset. Allowing someone to write at that offset could cause the file size to overflow.
Revision 1.85 / (download) - annotate - [select for diffs], Sat Jun 11 02:57:37 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.84: +5 -3
lines
Diff to previous 1.84 (colored)
Fix bugs where log reservation fails, we jump to error_return, and try to unlock an uninitialized dp variable. Also fix xfs_getattr() to not cast the inode size to a long when assigning it to vap->va_size.
Revision 1.84 / (download) - annotate - [select for diffs], Thu Jun 9 19:39:21 1994 UTC (23 years, 4 months ago) by wei_hu
Branch: MAIN
Changes since 1.83: +0 -2
lines
Diff to previous 1.83 (colored)
Eliminate include of <sys/uuid.h>.
Revision 1.83 / (download) - annotate - [select for diffs], Thu Jun 9 06:36:09 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.82: +4 -0
lines
Diff to previous 1.82 (colored)
Add missing vnode releases in rename locking retry path.
Revision 1.82 / (download) - annotate - [select for diffs], Thu Jun 9 01:39:47 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.81: +164 -95
lines
Diff to previous 1.81 (colored)
Use new log reservation scheme
Revision 1.81 / (download) - annotate - [select for diffs], Tue Jun 7 22:17:43 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.80: +42 -59
lines
Diff to previous 1.80 (colored)
Fix up vnode tracing so VN_RELE, VN_HOLD invoke it automatically. Also, don't allow link or unlink on directories; this matches the (recent) current efs behavior.
Revision 1.80 / (download) - annotate - [select for diffs], Tue Jun 7 20:17:03 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.79: +11 -1
lines
Diff to previous 1.79 (colored)
Fix xfs_create() to fail gracefully when the system is out of space. I properly return ENOSPC from xfs_dir_ialloc() now when the inode allocation fails.
Revision 1.79 / (download) - annotate - [select for diffs], Tue Jun 7 00:27:12 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.78: +54 -3
lines
Diff to previous 1.78 (colored)
Add calls to vnode tracing code.
Revision 1.78 / (download) - annotate - [select for diffs], Mon Jun 6 02:45:39 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.77: +8 -4
lines
Diff to previous 1.77 (colored)
Update to account for addition of write_lock flag argument to VOP_RWLOCK and VOP_RWUNLOCK.
Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 2 23:21:23 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.76: +4 -2
lines
Diff to previous 1.76 (colored)
In xfs_setattr() use the new xfs_igrow_start() and xfs_igrow_finish().
Revision 1.76 / (download) - annotate - [select for diffs], Thu Jun 2 17:28:25 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.75: +15 -2
lines
Diff to previous 1.75 (colored)
Shrink the xfs_ino into a 32 bit value in the xfs_fid structure. If it won't fit then return an error.
Revision 1.75 / (download) - annotate - [select for diffs], Thu May 26 23:05:17 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.74: +2 -2
lines
Diff to previous 1.74 (colored)
Call xfs_trans_binval to invalidate buffers for blocks that are now metadata and are or might become user data.
Revision 1.74 / (download) - annotate - [select for diffs], Wed May 25 21:29:02 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.73: +51 -129
lines
Diff to previous 1.73 (colored)
Call the new xfs_iunlink() and xfs_iunlink_remove() routines. Simplify xfs_droplink() and its callers since we don't have the iunlink item anymore. Fix a bug in xfs_dir_lookup_int() that would return an inode found by a lookup even if the inode had been freed. This can only happen for "..".
Revision 1.73 / (download) - annotate - [select for diffs], Mon May 23 20:50:56 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.72: +8 -22
lines
Diff to previous 1.72 (colored)
Remove some unused or little-used variables to reduce stack space.
Revision 1.72 / (download) - annotate - [select for diffs], Wed May 18 16:34:08 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.71: +14 -13
lines
Diff to previous 1.71 (colored)
Fix unimplemented case in rename locking where it would just assert instead of retrying if something changed out from under the re-locking.
Revision 1.71 / (download) - annotate - [select for diffs], Tue May 17 21:26:44 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.70: +24 -17
lines
Diff to previous 1.70 (colored)
Use xfs_ilock_map_share() and xfs_iunlock_map_shared().
Revision 1.70 / (download) - annotate - [select for diffs], Sun May 15 22:28:26 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.69: +6 -6
lines
Diff to previous 1.69 (colored)
Fix types for off_t going to 64 bits.
Revision 1.69 / (download) - annotate - [select for diffs], Sun May 15 06:03:31 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.68: +7 -5
lines
Diff to previous 1.68 (colored)
Make xfs_lookup get the inode lock exclusive for now, since the inode is modified when (for btree format files) the first bmap call is made, to bring in the extent list. Fix a couple of other non-matching or missing unlocks.
Revision 1.68 / (download) - annotate - [select for diffs], Mon May 9 04:38:22 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.67: +2 -0
lines
Diff to previous 1.67 (colored)
Add time.h, timers.h as explicit includes with _KERNEL defined if SIM, so simulation will compile again.
Revision 1.67 / (download) - annotate - [select for diffs], Fri May 6 20:54:48 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.66: +57 -43
lines
Diff to previous 1.66 (colored)
Clean up the memory associated with small symlinks when they are freed in xfs_inactive().
Revision 1.66 / (download) - annotate - [select for diffs], Wed May 4 00:21:13 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.65: +11 -10
lines
Diff to previous 1.65 (colored)
Add new include file xfs_ialloc_btree.h. Caused some include reordering. Remove knowledge of XFS_DINODE_FMT_AGINO for free inodes, replace with mode == 0. Change XFS_IALLOC_MAX_EVER_BLOCKS references to the new scheme.
Revision 1.65 / (download) - annotate - [select for diffs], Fri Apr 29 21:50:46 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.64: +4 -3
lines
Diff to previous 1.64 (colored)
Always lock the inode's flush lock in xfs_reclaim() to ensure that the inode is not freed while it is still attached to the inode's buffer's callback list.
Revision 1.64 / (download) - annotate - [select for diffs], Fri Apr 29 00:00:23 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.63: +16 -9
lines
Diff to previous 1.63 (colored)
In xfs_inactive() only do the xfs_trans_log_iui_done() processing if it has not already been done. It turns out that xfs_sync() we get references to vnodes with link counts of 0, so when it releases them we need to make sure not to free the inode a second time.
Revision 1.63 / (download) - annotate - [select for diffs], Thu Apr 28 18:44:35 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.62: +7 -3
lines
Diff to previous 1.62 (colored)
Move the call to xfs_ifree() to after the call to xfs_trans_log_iui_done() in xfs_inactive().
Revision 1.62 / (download) - annotate - [select for diffs], Wed Apr 27 02:27:41 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.61: +40 -8
lines
Diff to previous 1.61 (colored)
Free blocks associated with big symlinks when the symlink is removed.
Revision 1.61 / (download) - annotate - [select for diffs], Tue Apr 26 00:38:28 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.60: +51 -50
lines
Diff to previous 1.60 (colored)
Use XFS_ERROR to return error values.
Revision 1.60 / (download) - annotate - [select for diffs], Fri Apr 22 00:23:02 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.59: +117 -33
lines
Diff to previous 1.59 (colored)
Change xfs_setattr(), xfs_create(), and xfs_inactive() to use the new xfs_itruncate_start/finish routines.
Revision 1.59 / (download) - annotate - [select for diffs], Wed Apr 20 18:57:25 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.58: +1 -1
lines
Diff to previous 1.58 (colored)
Add a block reservation for xfs_remove, it can cause directory bmap btree splits.
Revision 1.58 / (download) - annotate - [select for diffs], Tue Apr 19 21:58:42 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.57: +9 -14
lines
Diff to previous 1.57 (colored)
Fix vnode counting problem in ftruncate, showed up as unable to unmount fs. Remove unneeded stub for xfs_realvp. Fill in xfs_frlock for record locking, same implementation as efs.
Revision 1.57 / (download) - annotate - [select for diffs], Tue Apr 19 21:42:21 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.56: +10 -3
lines
Diff to previous 1.56 (colored)
Fix xfs_rename() to not add an inode to the transaction more than once.
Revision 1.56 / (download) - annotate - [select for diffs], Sun Apr 17 23:34:31 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.55: +9 -9
lines
Diff to previous 1.55 (colored)
Change "functional" macros' names from lower to uppercase, for consistency with everything else.
Revision 1.55 / (download) - annotate - [select for diffs], Fri Apr 15 15:06:43 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.54: +1 -0
lines
Diff to previous 1.54 (colored)
add "sys/uuid.h" include file.
Revision 1.54 / (download) - annotate - [select for diffs], Fri Apr 15 01:59:02 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.53: +122 -4
lines
Diff to previous 1.53 (colored)
Implement xfs_allocstore() and fix a bug in xfs_symlink(). For symlinks which fit in the inode, we need to set the inode format to XFS_DINODE_FMT_LOCAL.
Revision 1.53 / (download) - annotate - [select for diffs], Thu Apr 14 15:03:28 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.52: +33 -0
lines
Diff to previous 1.52 (colored)
modify xfs_close() routine so that on last close any remaining rate guarantee tickets will be removed.
Revision 1.52 / (download) - annotate - [select for diffs], Tue Apr 12 01:16:51 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.51: +30 -57
lines
Diff to previous 1.51 (colored)
Split xfs_fsblock_t into multiple types. Use mp instead of sbp in all the address macros.
Revision 1.51 / (download) - annotate - [select for diffs], Fri Apr 8 22:49:47 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.50: +3 -3
lines
Diff to previous 1.50 (colored)
Reduce the block reservations in some transactions which don't need them.
Revision 1.50 / (download) - annotate - [select for diffs], Thu Apr 7 20:21:06 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.49: +9 -3
lines
Diff to previous 1.49 (colored)
Fix xfs_reclaim() to call xfs_dir_replace() with the proper inode number and to properly manage the dnlc.
Revision 1.49 / (download) - annotate - [select for diffs], Mon Apr 4 18:14:14 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.48: +1 -0
lines
Diff to previous 1.48 (colored)
Add assert for null or errored buffer returned by xfs_trans_read_buf and xfs_trans_get_buf.
Revision 1.48 / (download) - annotate - [select for diffs], Thu Mar 31 18:29:10 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.47: +22 -13
lines
Diff to previous 1.47 (colored)
Fix xfs_fsync() and xfs_seek().
Revision 1.47 / (download) - annotate - [select for diffs], Thu Mar 31 01:10:38 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.46: +39 -7
lines
Diff to previous 1.46 (colored)
Add support for mapping XFS files.
Revision 1.46 / (download) - annotate - [select for diffs], Fri Mar 25 22:33:51 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.45: +21 -2
lines
Diff to previous 1.45 (colored)
Implement xfs_fsync. The invalidation path is wrong, the other cases work.
Revision 1.45 / (download) - annotate - [select for diffs], Fri Mar 25 02:16:26 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.44: +6 -2
lines
Diff to previous 1.44 (colored)
add more checking code to xfs_setattr() so that 1) if the file already has an extent size set and the user wants to set the file to be a real time file, verify that the file extent size is an even multiple of the file system extent size. 2) if the user is setting the file extent size and the real time flag in the same system call, make sure that the new extent size is a multiple of the file system extent size.
Revision 1.44 / (download) - annotate - [select for diffs], Thu Mar 24 22:46:01 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.43: +10 -3
lines
Diff to previous 1.43 (colored)
change xfs_setattr() and xfs_getattr() to convert the extent size in bytes as supplied by the user, into number of file system blocks as used by xfs.
Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 24 22:20:52 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.42: +2 -1
lines
Diff to previous 1.42 (colored)
Implement incore inode field i_delayed_blks so getattr can return the delayed blocks in the block count for a file.
Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 24 18:07:32 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.41: +1 -1
lines
Diff to previous 1.41 (colored)
Include sys/pfdat.h with KERNEL defined for the -DSIM case, to avoid warnings.
Revision 1.41 / (download) - annotate - [select for diffs], Thu Mar 24 17:25:29 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.40: +3 -1
lines
Diff to previous 1.40 (colored)
Fix xfs_getattr() fast path to remember to unlock the inode lock.
Revision 1.40 / (download) - annotate - [select for diffs], Thu Mar 24 01:52:47 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.39: +12 -3
lines
Diff to previous 1.39 (colored)
Fix xfs_getattr, uninitialized variable & some missing cases for va_nblocks. Found while running mknod.
Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 23 02:38:06 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.38: +29 -9
lines
Diff to previous 1.38 (colored)
Implement the rest of xfs_reclaim().
Revision 1.38 / (download) - annotate - [select for diffs], Tue Mar 15 23:52:03 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.37: +5 -2
lines
Diff to previous 1.37 (colored)
Add inode field di_nblocks (number of direct and indirect fs blocks) and keep track of it in the bmap code. Use this value in xfs_getattr for the number of blocks used by the file (va_nblocks).
Revision 1.37 / (download) - annotate - [select for diffs], Mon Mar 14 01:10:37 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.36: +1 -1
lines
Diff to previous 1.36 (colored)
Adding the cred pointer to the call to xfs_igrow().
Revision 1.36 / (download) - annotate - [select for diffs], Sat Mar 12 00:08:21 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.35: +54 -28
lines
Diff to previous 1.35 (colored)
Change the calls to xfs_trans_reserve() to use the new log res macros which take a pointer to the superblock. Also, remove all passing of XFS_TRANS_WAIT to xfs_trans_alloc(), because the flag was not meant for that function.
Revision 1.35 / (download) - annotate - [select for diffs], Thu Mar 10 19:09:04 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.34: +97 -57
lines
Diff to previous 1.34 (colored)
Implement the existing file path of xfs_create(). This also required changing xfs_dir_ialloc() to work properly with transactions which have permanent reservations.
Revision 1.34 / (download) - annotate - [select for diffs], Wed Mar 9 18:57:06 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.33: +2 -1
lines
Diff to previous 1.33 (colored)
change call to xfs_setattr() in xfs_fcntl(). The flags (AT_EXTSIZE etc) are carried in the vattr_t va_mask field rather than in the procedure parameter.
Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 9 00:00:15 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.32: +242 -42
lines
Diff to previous 1.32 (colored)
Add ancestor checks in directory renames to prevent renaming a directory under one of its own subdirectories. Miscellaneous fixes.
Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 8 23:50:03 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.31: +26 -0
lines
Diff to previous 1.31 (colored)
Fixing up vnode reference handling when we unlink inodes to prevent recursive transaction commits.
Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 8 21:57:31 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.30: +167 -25
lines
Diff to previous 1.30 (colored)
Implement xfs_inactive() so that files are truncated and inodes get freed and fix the handling of inode link counts going to 0.
Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 8 02:34:40 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.29: +0 -0
lines
Diff to previous 1.29 (colored)
Botched message last time; should have been: Add macro XFS_BMAP_INIT to initialize flist and firstblock, and call it where we were explicitly bzero'ing before.
Revision 1.29 / (download) - annotate - [select for diffs], Tue Mar 8 02:33:35 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.28: +7 -15
lines
Diff to previous 1.28 (colored)
~i.
Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 7 21:42:47 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.27: +94 -44
lines
Diff to previous 1.27 (colored)
Added the truncate code to remove and setattr. Cleanup up log reservation calls.
Revision 1.27 / (download) - annotate - [select for diffs], Fri Mar 4 23:07:14 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.26: +188 -188
lines
Diff to previous 1.26 (colored)
Check access rights. Restructured transaction allocation / joining of inodes. Filled in miscellaneous VOP entrypoints.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 4 18:16:23 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.25: +1 -1
lines
Diff to previous 1.25 (colored)
rearranged order of include files: grio.h needs to be before xfs_inode.h
Revision 1.25 / (download) - annotate - [select for diffs], Fri Mar 4 01:11:35 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.24: +92 -128
lines
Diff to previous 1.24 (colored)
Symlinks work. Also checking in current snapshot of other work in progress.
Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 4 00:05:11 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.23: +34 -6
lines
Diff to previous 1.23 (colored)
Add more tests for xfs_setattr on new xfs-only attributes. Fix xfs_fcntl(F_DIOINFO) to return what efs does (BBSIZE alignment).
Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 3 22:59:26 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.22: +10 -4
lines
Diff to previous 1.22 (colored)
Fix xfs_iunlock in xfs_getattr error path. Add xfs_access, most of the implementation is in xfs_iaccess.
Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 3 22:17:15 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.21: +96 -21
lines
Diff to previous 1.21 (colored)
Add fcntl implementation (F_FSGETXATTR, F_FSSETXATTR, and F_DIOINFO). Fix xfs_setattr new xfs fields' implementation to split out error checking to the front of the routine, like the other attributes. Don't set new fields in xfs_getattr unless one of the fields is requested.
Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 3 20:58:13 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.20: +28 -3
lines
Diff to previous 1.20 (colored)
Add xfs-only attributes for xfs_getattr and xfs_setattr.
Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 3 19:42:28 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.19: +200 -62
lines
Diff to previous 1.19 (colored)
In setattr, do all the sanity checks before making any mods. Added readlink, untested yet.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Mar 2 23:55:43 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.18: +285 -16
lines
Diff to previous 1.18 (colored)
Add xfs_readdir, get & set_attr.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 1 02:32:52 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.17: +4 -3
lines
Diff to previous 1.17 (colored)
Reserve XFS_IALLOC_MAX_EVER_BLOCKS data blocks for paths that can call xfs_ialloc and get inodes allocated.
Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 26 21:28:18 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.16: +59 -55
lines
Diff to previous 1.16 (colored)
Reorder arguments to xfs_dir_createname. Add arguments for xfs_bmapi, xfs_bunmapi to xfs_dir_removename. Put xfs_bmap_finish calls in the right places. Don't peek inside free_list structures, they're supposed to be opaque.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 26 00:08:33 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.15: +135 -53
lines
Diff to previous 1.15 (colored)
Change call i/f to create (pass bmapi context). Added code (untested) for symlinks.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 25 03:00:04 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.14: +1 -1
lines
Diff to previous 1.14 (colored)
Fix compilation error in kernel make.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 25 02:02:22 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.13: +7 -34
lines
Diff to previous 1.13 (colored)
Pull out the xfs_bmap() stub, it now lives in xfs_rw.c.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 25 01:16:45 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.12: +1 -1
lines
Diff to previous 1.12 (colored)
Set the inode's link count correctly in the retry case of calling xfs_ialloc().
Revision 1.12 / (download) - annotate - [select for diffs], Fri Feb 25 01:00:26 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.11: +32 -22
lines
Diff to previous 1.11 (colored)
Join inodes to transaction prior to calling xfs_dir_ routines in xfs_rename().
Revision 1.11 / (download) - annotate - [select for diffs], Fri Feb 25 00:11:32 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.10: +139 -6
lines
Diff to previous 1.10 (colored)
move ijoin's of certain inodes to before they're needed by the underlying directory code.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 23 23:47:04 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.9: +107 -42
lines
Diff to previous 1.9 (colored)
Add code to adjust vnode reference counts.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 23 00:28:08 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.8: +96 -31
lines
Diff to previous 1.8 (colored)
Various bugfixes.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 22 16:30:17 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.7: +1 -0
lines
Diff to previous 1.7 (colored)
add include file sys/grio.h.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 18 01:07:23 1994 UTC (23 years, 7 months ago) by wei_hu
Branch: MAIN
Changes since 1.6: +1186 -31
lines
Diff to previous 1.6 (colored)
Initial cut at directory VOPs.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 16 23:25:24 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.5: +1 -56
lines
Diff to previous 1.5 (colored)
Pull xfs_read(), xfs_write(), and xfs_strategy() from here. They now live in xfs_rw.c
Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 1 02:31:52 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.4: +1 -1
lines
Diff to previous 1.4 (colored)
Fix includes after splitting xfs_alloc_btree.h off from xfs_alloc.h.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 1 00:19:35 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.3: +2 -1
lines
Diff to previous 1.3 (colored)
Fix includes after splitting xfs_bmap_btree.h off from xfs_bmap.h.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 31 01:55:41 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.2: +2 -1
lines
Diff to previous 1.2 (colored)
First cut at making the transaction code use the log manager interfaces. xfs_trans.h now depends on xfs_log.h, so we need to include it.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 24 01:16:14 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
Make xfs_strategy() simply call bdstrat() so that we can do file I/O.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 20 19:31:55 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Initial revision