Up to [Development] / xfs-linux / quota
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.43 / (download) - annotate - [select for diffs], Fri Oct 17 02:58:35 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.42: +7 -8
lines
Diff to previous 1.42 (unified)
Finish removing the mount pointer from the AIL API Change all the remaining AIL API functions that are passed struct xfs_mount pointers to pass pointers directly to the struct xfs_ail being used. With this conversion, all external access to the AIL is via the struct xfs_ail. Hence the operation and referencing of the AIL is almost entirely independent of the xfs_mount that is using it - it is now much more tightly tied to the log and the items it is tracking in the log than it is tied to the xfs_mount. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32353a by kenmcd. Finish removing the mount pointer from the AIL API
Revision 1.42 / (download) - annotate - [select for diffs], Thu Oct 16 05:23:50 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.41: +2 -2
lines
Diff to previous 1.41 (unified)
Move the AIL lock into the struct xfs_ail Bring the ail lock inside the struct xfs_ail. This means the AIL can be entirely manipulated via the struct xfs_ail rather than needing both the struct xfs_mount and the struct xfs_ail. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32350a by kenmcd. Move the AIL lock into the struct xfs_ail
Revision 1.41 / (download) - annotate - [select for diffs], Thu Oct 16 05:22:47 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.40: +2 -4
lines
Diff to previous 1.40 (unified)
Allow 64 bit machines to avoid the AIL lock during flushes When copying lsn's from the log item to the inode or dquot flush lsn, we currently grab the AIL lock. We do this because the LSN is a 64 bit quantity and it needs to be read atomically. The lock is used to guarantee atomicity for 32 bit platforms. Make the LSN copying a small function, and make the function used conditional on BITS_PER_LONG so that 64 bit machines don't need to take the AIL lock in these places. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32349a by kenmcd. Allow 64 bit machines to avoid the AIL lock during flushes
Revision 1.40 / (download) - annotate - [select for diffs], Fri Oct 10 05:35:16 2008 UTC (9 years ago) by pleckie.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.39: +5 -7
lines
Diff to previous 1.39 (unified)
don't block in xfs_qm_dqflush() during async writeback. Normally dquots are written back via delayed write mechanisms. They are flushed to their backing buffer by xfssyncd, which is then pushed out by either AIL or xfsbufd flushing. The flush from the xfssyncd is supposed to be non-blocking, but xfs_qm_dqflush() always waits for pinned duots, which means that it will block for the length of time it takes to do a synchronous log force. This causes unnecessary extra log I/O to be issued whenever we try to flush a busy dquot. Avoid the log forces and blocking xfssyncd by making xfs_qm_dqflush() pay attention to what type of sync it is doing when it sees a pinned dquot and not waiting when doing non-blocking flushes. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32287a by kenmcd. don't block in xfs_qm_dqflush() during async writeback
Revision 1.39 / (download) - annotate - [select for diffs], Fri Sep 26 06:12:19 2008 UTC (9 years ago) by pleckie.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (unified)
Clean up dquot pincount code. This is a code cleanup and optimization that removes a per mount point spinlock from the quota code and cleans up the code. The patch changes the pincount from being an int protected by a spinlock to an atomic_t allowing the pincount to be manipulated without holding the spinlock. This cleanup also protects against random wakup's of both the aild and xfssyncd by reevaluating the pincount after been woken. Two latter patches will address the Spurious wakeups. Signed-off-by: Peter Leckie <pleckie@sgi.com> Merge of xfs-linux-melb:xfs-kern:32215a by kenmcd. Clean up dquot pincount code.
Revision 1.38 / (download) - annotate - [select for diffs], Wed Aug 6 16:19:11 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.37: +1 -1
lines
Diff to previous 1.37 (unified)
Use KM_NOFS for debug trace buffers Use KM_NOFS to prevent recursion back into the filesystem which can cause deadlocks. In the case of xfs_iread() we hold the lock on the inode cluster buffer while allocating memory for the trace buffers. If we recurse back into XFS to flush data that may require a transaction to allocate extents which needs log space. This can deadlock with the xfsaild thread which can't push the tail of the log because it is trying to get the inode cluster buffer lock. Merge of xfs-linux-melb:xfs-kern:31838a by kenmcd. Use KM_NOFS for debug trace buffers
Revision 1.37 / (download) - annotate - [select for diffs], Wed Aug 6 06:10:02 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.36: +12 -22
lines
Diff to previous 1.36 (unified)
replace dquot flush semaphore with a completion Use the new completion flush code to implement the dquot flush lock. Removes one of the final users of semaphores in the XFS code base. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:31822a by kenmcd. replace dquot flush semaphore with a completion
Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 25 04:19:49 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.35: +1 -1
lines
Diff to previous 1.35 (unified)
remove remaining VN_HOLD calls Use IHOLD(ip) instead of VN_HOLD(VFS_I(ip)). Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31765a by kenmcd. remove remaining VN_HOLD calls
Revision 1.35 / (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.34: +1 -1
lines
Diff to previous 1.34 (unified)
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.34 / (download) - annotate - [select for diffs], Fri May 9 04:29:54 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.33: +1 -2
lines
Diff to previous 1.33 (unified)
Remove unused Falgs parameter from xfs_qm_dqpurge() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Merge of xfs-linux-melb:xfs-kern:31056a by kenmcd. remove unused flag parameter from xfs_qm_dqpurge.
Revision 1.33 / (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.32: +2 -2
lines
Diff to previous 1.32 (unified)
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.32 / (download) - annotate - [select for diffs], Thu Apr 10 04:27:00 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.31: +8 -2
lines
Diff to previous 1.31 (unified)
Ensure xfs_bawrite() errors are checked. xfs_bawrite() can return immediate error status on async writes. Unlike xfsbdstrat() we don't ever check the error on the buffer after the call, so we currently do not catch errors at all here. Ensure we catch and propagate or warn to the syslog about up-front async write errors. Merge of xfs-linux-melb:xfs-kern:30824a by kenmcd. Ensure xfs_bawrite() errors are checked.
Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 9 16:23:22 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.30: +6 -4
lines
Diff to previous 1.30 (unified)
Check for dquot flush errors xfs_qm_dqflush() can fail, but the return is not checked anywhere. Hence we never know if we've failed to flush a dquot to disk. Propagate the error and warn to the syslog if a flush ever fails. Merge of xfs-linux-melb:xfs-kern:30787a by kenmcd. Propagate xfs_qm_dqflush() errors.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 21 04:09:25 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.29: +5 -7
lines
Diff to previous 1.29 (unified)
Unwrap AIL_LOCK Merge of xfs-linux-melb:xfs-kern:29739a by kenmcd.
Revision 1.29 / (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.28: +1 -2
lines
Diff to previous 1.28 (unified)
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.28 / (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.27: +0 -2
lines
Diff to previous 1.27 (unified)
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.27 / (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.26: +1 -1
lines
Diff to previous 1.26 (unified)
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.26 / (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.25: +0 -2
lines
Diff to previous 1.25 (unified)
Remove version 1 directory code. Never functioned on Linux, just pure bloat. Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.
Revision 1.25 / (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.24: +1 -1
lines
Diff to previous 1.24 (unified)
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.24 / (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.23: +2 -2
lines
Diff to previous 1.23 (unified)
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().
Revision 1.23 / (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.22: +2 -2
lines
Diff to previous 1.22 (unified)
Bring the XFS code in sync with the changed from 2.6.16-rc1
Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 26 16:35:34 2005 UTC (12 years ago) by hch
Branch: MAIN
Changes since 1.21: +89 -95
lines
Diff to previous 1.21 (unified)
endianess annotations and cleanup for the quota code
Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 26 03:46:03 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.20: +12 -28
lines
Diff to previous 1.20 (unified)
Update license/copyright notices to match the prefered SGI boilerplate. Merge of xfs-linux-melb:xfs-kern:23917a by kenmcd.
Revision 1.20 / (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.19: +6 -6
lines
Diff to previous 1.19 (unified)
Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot. Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.
Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 16 03:51:17 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.18: +1 -2
lines
Diff to previous 1.18 (unified)
Fix signedness issues in dquot ID handling, allowing uids/gids above MAXINT Merge of xfs-linux-melb:xfs-kern:23828a by kenmcd.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 23 15:06:53 2005 UTC (12 years, 1 month ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.17: +36 -7
lines
Diff to previous 1.17 (unified)
Fixes a bug in the quota code when allocating a new dquot record which can cause an extent hole to be filled and a free extent to be processed. In this case, we make a few mistakes: forget to pass back the transaction, forget to put a hold on the buffer and forget to add the buf to the new transaction. Merge of xfs-linux-melb:xfs-kern:23594a by kenmcd. In allocation of quota records, if the bmap returns free extents then xfs_bmap_finish will create a new transaction to process them. We need to pass this transaction back, put a hold on the buffer and join the buffer to the new transaction.
Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 21 15:13:50 2005 UTC (12 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.16: +0 -3
lines
Diff to previous 1.16 (unified)
Remove some debugging code from quota syscalls. Merge of xfs-linux-melb:xfs-kern:22929a by kenmcd.
Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 20 03:44:48 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.15: +9 -1
lines
Diff to previous 1.15 (unified)
Merge a few minor fixes to the quota warning code. Merge of xfs-linux-melb:xfs-kern:22901a by kenmcd.
Revision 1.15 / (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.14: +19 -15
lines
Diff to previous 1.14 (unified)
Add support for project quota, based on Dan Knappes earlier work. Merge of xfs-linux-melb:xfs-kern:22805a by kenmcd.
Revision 1.14 / (download) - annotate - [select for diffs], Wed May 18 09:29:33 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.13: +1 -1
lines
Diff to previous 1.13 (unified)
mark various symbols static Patch from Adrian Bunk
Revision 1.13 / (download) - annotate - [select for diffs], Wed May 18 09:18:24 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.12: +0 -62
lines
Diff to previous 1.12 (unified)
Remove dead code. Patch from Adrian Bunk
Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 14 11:57:33 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.11: +25 -27
lines
Diff to previous 1.11 (unified)
Remove INT_ZERO and INT_ISZERO 0 is 0 in all endianess variant. No need for INT_ZERO and INT_ISZERO
Revision 1.11 / (download) - annotate - [select for diffs], Tue Aug 24 04:25:29 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.10: +82 -24
lines
Diff to previous 1.10 (unified)
Support for default quota limits via the zero dquot (ala grace times).
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 8 07:42:57 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.9: +1 -1
lines
Diff to previous 1.9 (unified)
sparse: fix uses of null in place of zero and vice versa. From Chris Wedgwood.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 9 00:06:12 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.8: +1 -1
lines
Diff to previous 1.8 (unified)
Remove some spurious double semi-colons.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 23 23:28:03 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.7: +2 -2
lines
Diff to previous 1.7 (unified)
Abstract out the current_time interface use from quota to support multiple kernel versions.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Nov 23 23:02:53 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.6: +4 -4
lines
Diff to previous 1.6 (unified)
Switch debug quota code to use xfs_buftarg interface instead of dev_t
Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 21 06:33:46 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.5: +0 -2
lines
Diff to previous 1.5 (unified)
Remove assertion that we do not hold a lock - no lock ownership state available.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 20 02:10:51 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.4: +24 -18
lines
Diff to previous 1.4 (unified)
Enable tracing in the quota code if requested
Revision 1.4 / (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.3: +1588 -0
lines
Diff to previous 1.3 (unified)
The Big Move linux/fs/xfs/quota/xfs_dquot.c 1.2 Renamed to quota/xfs_dquot.c
Revision 1.3 / (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.2: +0 -1588
lines
Diff to previous 1.2 (unified)
Nuke
Revision 1.2 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.1: +37 -1
lines
Diff to previous 1.1 (unified)
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.1 / (download) - annotate - [select for diffs], Mon Mar 17 06:02:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
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. linux/fs/xfs/xfs_dquot.c 1.73 Renamed to linux/fs/xfs/quota/xfs_dquot.c 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.