Up to [Development] / linux-2.6-xfs / fs / xfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.204 / (download) - annotate - [select for diffs], Fri Oct 10 15:27:57 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.203: +10 -11
lines
Diff to previous 1.203 (colored)
Always use struct xfs_btree_block instead of short / longform structures. Always use the generic xfs_btree_block type instead of the short / long structures. Add XFS_BTREE_SBLOCK_LEN / XFS_BTREE_LBLOCK_LEN defines for the length of a short / long form block. The rationale for this is that we will grow more btree block header variants to support CRCs and other RAS information, and always accessing them through the same datatype with unions for the short / long form pointers makes implementing this much easier. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32300a by kenmcd. Always use struct xfs_btree_block instead of short / longform structures.
Revision 1.203 / (download) - annotate - [select for diffs], Wed Oct 1 04:31:25 2008 UTC (9 years ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.202: +4 -0
lines
Diff to previous 1.202 (colored)
Check agf_btreeblks is valid when reading in the AGF Merge of xfs-linux-melb:xfs-kern:32232a by kenmcd. Check agf_btreeblks is valid when reading in the AGF
Revision 1.202 / (download) - annotate - [select for diffs], Wed Sep 24 16:31:33 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.201: +21 -0
lines
Diff to previous 1.201 (colored)
implement generic xfs_btree_get_rec Not really much reason to make it generic given that it's so small, but this is the last non-method in xfs_alloc_btree.c and xfs_ialloc_btree.c, so it makes the whole btree implementation more structured. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32206a by kenmcd. implement generic xfs_btree_get_rec
Revision 1.201 / (download) - annotate - [select for diffs], Wed Sep 24 16:30:40 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.200: +7 -7
lines
Diff to previous 1.200 (colored)
implement generic xfs_btree_delete/delrec Make the btree delete code generic. Based on a patch from David Chinner with lots of changes to follow the original btree implementations more closely. While this loses some of the generic helper routines for inserting/moving/removing records it also solves some of the one off bugs in the original code and makes it easier to verify. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32205a by kenmcd. implement generic xfs_btree_delete/delrec
Revision 1.200 / (download) - annotate - [select for diffs], Wed Sep 24 16:28:47 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.199: +5 -5
lines
Diff to previous 1.199 (colored)
implement generic xfs_btree_insert/insrec Make the btree insert code generic. Based on a patch from David Chinner with lots of changes to follow the original btree implementations more closely. While this loses some of the generic helper routines for inserting/moving/removing records it also solves some of the one off bugs in the original code and makes it easier to verify. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32202a by kenmcd. implement generic xfs_btree_insert/insrec
Revision 1.199 / (download) - annotate - [select for diffs], Wed Sep 24 16:23:35 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.198: +17 -0
lines
Diff to previous 1.198 (colored)
implement generic xfs_btree_update From: Dave Chinner <dgc@sgi.com> The most complicated part here is the lastrec tracking for the alloc btree. Most logic is in the update_lastrec method which has to do some hopefully good enough dirty magic to maintain it. [hch: split out from bigger patch and a rework of the lastrec logic] Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32194a by kenmcd. implement generic xfs_btree_update
Revision 1.198 / (download) - annotate - [select for diffs], Wed Sep 24 16:21:48 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.197: +48 -0
lines
Diff to previous 1.197 (colored)
implement generic xfs_btree_lookup From: Dave Chinner <dgc@sgi.com> [hch: split out from bigger patch and minor adaptions] Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32192a by kenmcd. implement generic xfs_btree_lookup
Revision 1.197 / (download) - annotate - [select for diffs], Wed Sep 24 16:20:52 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.196: +6 -6
lines
Diff to previous 1.196 (colored)
implement generic xfs_btree_decrement From: Dave Chinner <dgc@sgi.com> [hch: split out from bigger patch and minor adaptions] Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32191a by kenmcd. implement generic xfs_btree_decrement
Revision 1.196 / (download) - annotate - [select for diffs], Wed Sep 24 16:19:56 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.195: +6 -6
lines
Diff to previous 1.195 (colored)
implement generic xfs_btree_increment From: Dave Chinner <dgc@sgi.com> Because this is the first major generic btree routine this patch includes some infrastrucure, first a few routines to deal with a btree block that can be either in short or long form, second xfs_btree_read_buf_block, which is the new central routine to read a btree block given a cursor, and third the new xfs_btree_ptr_addr routine to calculate the address for a given btree pointer record. [hch: split out from bigger patch and minor adaptions] Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32190a by kenmcd. implement generic xfs_btree_increment
Revision 1.195 / (download) - annotate - [select for diffs], Wed Sep 24 16:11:20 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.194: +16 -18
lines
Diff to previous 1.194 (colored)
split up xfs_btree_init_cursor xfs_btree_init_cursor contains close to little shared code for the different btrees and will get even more non-common code in the future. Split it up into one routine per btree type. Because xfs_btree_dup_cursor needs to call the init routine for a generic btree cursor add a new btree operation vector that contains a dup_cursor method that initializes a new cursor based on an existing one. The btree operations vector is based on an idea and code from Dave Chinner and will grow more entries later during this series. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32176a by kenmcd. split up xfs_btree_init_cursor
Revision 1.194 / (download) - annotate - [select for diffs], Tue Aug 19 15:46:54 2008 UTC (9 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.193: +8 -8
lines
Diff to previous 1.193 (colored)
convert beX_add to beX_add_cpu (new common API) remove beX_add functions and replace all uses with beX_add_cpu Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Merge of xfs-linux-melb:xfs-kern:31920a by kenmcd. convert beX_add to beX_add_cpu (new common API)
Revision 1.193 / (download) - annotate - [select for diffs], Thu Apr 10 06:16:17 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.192: +1 -1
lines
Diff to previous 1.192 (colored)
fix logic error in xfs_alloc_ag_vextent_near() Fix a logic error in xfs_alloc_ag_vextent_near(). This is a regression introduced by the error handling changes. Merge of xfs-linux-melb:xfs-kern:30838a by kenmcd. Fix a logic error introduced by the error handling changes.
Revision 1.192 / (download) - annotate - [select for diffs], Wed Apr 9 16:31:24 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.191: +10 -11
lines
Diff to previous 1.191 (colored)
Make xfs_alloc_compute_aligned() void. xfs_alloc_compute_aligned() returns a value based on a comparison of the computed extent length and the minimum length allowed. This is only used by some callers - the other four return parameters are used more often. Hence move the comparison to the code that actually needs to do it and make xfs_alloc_compute_aligned() a void function. Merge of xfs-linux-melb:xfs-kern:30797a by kenmcd. Make xfs_alloc_compute_aligned() void.
Revision 1.191 / (download) - annotate - [select for diffs], Wed Apr 9 16:30:35 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.190: +12 -18
lines
Diff to previous 1.190 (colored)
Clean up xfs_alloc_search_busy() return values. xfs_alloc_search_busy() returns an index into the busy array if the extent was found in the array. This is never checked, and the xfs_alloc_search_busy() does a log force to prevent reuse of the extent before the free transaction hits the disk. Hence the return value is useless. Declare the function void and remove the slot number from the tracing as well. Merge of xfs-linux-melb:xfs-kern:30796a by kenmcd. Clean up xfs_alloc_search_busy() return values.
Revision 1.190 / (download) - annotate - [select for diffs], Wed Apr 9 06:17:24 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.189: +9 -9
lines
Diff to previous 1.189 (colored)
replace remaining __FUNCTION__ occurrences __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Merge of xfs-linux-melb:xfs-kern:30775a by kenmcd. __FUNCTION__ is gcc-specific, use __func__
Revision 1.189 / (download) - annotate - [select for diffs], Fri Sep 21 16:09:12 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.188: +1 -1
lines
Diff to previous 1.188 (colored)
Remove spin.h remove spinlock init abstraction macro in spin.h, remove the callers, and remove the file. Move no-op spinlock_destroy to xfs_linux.h Cleanup spinlock locals in xfs_mount.c Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:29751a by kenmcd. Remove spin.h
Revision 1.188 / (download) - annotate - [select for diffs], Fri Sep 21 06:13:47 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.187: +7 -10
lines
Diff to previous 1.187 (colored)
Unwrap pagb_lock. Un-obfuscate pagb_lock, remove 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:29743a by kenmcd. Unwrap pagb_lock
Revision 1.187 / (download) - annotate - [select for diffs], Mon Jul 9 15:43:09 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.186: +13 -40
lines
Diff to previous 1.186 (colored)
Clean up function name handling in tracing code Remove the hardcoded "fnames" for tracing, and just embed them in tracing macros via __FUNCTION__. Kills a lot of #ifdefs too. Signed-Off-By: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:29099a by kenmcd. Use __FUNCTION__ rather than hardcoded fnames for tracing.
Revision 1.186 / (download) - annotate - [select for diffs], Tue May 22 15:50:48 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.185: +38 -10
lines
Diff to previous 1.185 (colored)
Lazy Superblock Counters When we have a couple of hundred transactions on the fly at once, they all typically modify the on disk superblock in some way. create/unclink/mkdir/rmdir modify inode counts, allocation/freeing modify free block counts. When these counts are modified in a transaction, the must eventually lock the superblock buffer and apply the mods. The buffer then remains locked until the transaction is committed into the incore log buffer. The result of this is that with enough transactions on the fly the incore superblock buffer becomes a bottleneck. The result of contention on the incore superblock buffer is that transaction rates fall - the more pressure that is put on the superblock buffer, the slower things go. The key to removing the contention is to not require the superblock fields in question to be locked. We do that by not marking the superblock dirty in the transaction. IOWs, we modify the incore superblock but do not modify the cached superblock buffer. In short, we do not log superblock modifications to critical fields in the superblock on every transaction. In fact we only do it just before we write the superblock to disk every sync period or just before unmount. This creates an interesting problem - if we don't log or write out the fields in every transaction, then how do the values get recovered after a crash? the answer is simple - we keep enough duplicate, logged information in other structures that we can reconstruct the correct count after log recovery has been performed. It is the AGF and AGI structures that contain the duplicate information; after recovery, we walk every AGI and AGF and sum their individual counters to get the correct value, and we do a transaction into the log to correct them. An optimisation of this is that if we have a clean unmount record, we know the value in the superblock is correct, so we can avoid the summation walk under normal conditions and so mount/recovery times do not change under normal operation. One wrinkle that was discovered during development was that the blocks used in the freespace btrees are never accounted for in the AGF counters. This was once a valid optimisation to make; when the filesystem is full, the free space btrees are empty and consume no space. Hence when it matters, the "accounting" is correct. But that means the when we do the AGF summations, we would not have a correct count and xfs_check would complain. Hence a new counter was added to track the number of blocks used by the free space btrees. This is an *on-disk format change*. As a result of this, lazy superblock counters are a mkfs option and at the moment on linux there is no way to convert an old filesystem. This is possible - xfs_db can be used to twiddle the right bits and then xfs_repair will do the format conversion for you. Similarly, you can convert backwards as well. At some point we'll add functionality to xfs_admin to do the bit twiddling easily.... Merge of xfs-linux-melb:xfs-kern:28652a by kenmcd. Changes to support lazy superblock counters.
Revision 1.185 / (download) - annotate - [select for diffs], Tue Mar 6 02:58:28 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.184: +1 -1
lines
Diff to previous 1.184 (colored)
reducing the number of random number functions. Patch provided by Joe Perches Signed-off-by: Joe Perches <joe@perches.com> Merge of xfs-linux-melb:xfs-kern:28209a by kenmcd. reducing the number of random number functions. Signed-off-by: Joe Perches <joe@perches.com>
Revision 1.184 / (download) - annotate - [select for diffs], Fri Aug 18 04:04:43 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.183: +3 -1
lines
Diff to previous 1.183 (colored)
Minor code rearranging and cleanup to prevent some coverity false positives. Merge of xfs-linux-melb:xfs-kern:26805a by kenmcd.
Revision 1.183 / (download) - annotate - [select for diffs], Thu Aug 10 06:09:36 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.182: +54 -49
lines
Diff to previous 1.182 (colored)
Fix xfs_free_extent related NULL pointer dereference. We recently fixed an out-of-space deadlock in XFS, and part of that fix involved the addition of the XFS_ALLOC_FLAG_FREEING flag to some of the space allocator calls to indicate they're freeing space, not allocating it. There was a missed xfs_alloc_fix_freelist condition test that did not correctly test "flags". The same test would also test an uninitialised structure field (args->userdata) and depending on its value either would or would not return early with a critical buffer pointer set to NULL. This fixes that up, adds asserts to several places to catch future botches of this nature, and skips sections of xfs_alloc_fix_freelist that are irrelevent for the space-freeing case. Merge of xfs-linux-melb:xfs-kern:26743a by kenmcd.
Revision 1.182 / (download) - annotate - [select for diffs], Fri Aug 4 13:16:36 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.181: +3 -3
lines
Diff to previous 1.181 (colored)
endianess annotation for xfs_agfl_t. Trivial, xfs_agfl_t is always used for ondisk values. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:26553a by kenmcd. endianess annotation for xfs_agfl_t.
Revision 1.181 / (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.180: +0 -2
lines
Diff to previous 1.180 (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.180 / (download) - annotate - [select for diffs], Tue May 23 19:28:08 2006 UTC (11 years, 4 months ago) by yingping
Branch: MAIN
Changes since 1.179: +23 -6
lines
Diff to previous 1.179 (colored)
In actual allocation of file system blocks and freeing extents, the transaction within each such operation may involve multiple locking of AGF buffer. While the freeing extent function has sorted the extents based on AGF number before entering into transaction, however, when the file system space is very limited, the allocation of space would try every AGF to get space allocated, this could potentially cause out-of-order locking, thus deadlock could happen. This fix mitigates the scarce space for allocation by setting aside a few blocks without reservation, and avoid deadlock by maintaining ascending order of AGF locking. Changed xfs_alloc_vextent, xfs_free_extent and xfs_alloc_fix_freelist. In xfs_alloc_vextent, we ensure the locking of AGF from the same transaction does not run out of order by forcing the AGF number is greater than the previous one in the second invocation. In xfs_alloc_fix_freelist, we distinguish the call from xfs_alloc_vextent from xfs_free_extent. Free space checking is enforced for call from xfs_alloc_vextent.
Revision 1.179 / (download) - annotate - [select for diffs], Mon May 8 15:23:36 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.178: +4 -1
lines
Diff to previous 1.178 (colored)
Fix a possible metadata buffer (AGFL) refcount leak when fixing an AG freelist. Merge of xfs-linux-melb:xfs-kern:25902a by kenmcd.
Revision 1.178 / (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.177: +3 -3
lines
Diff to previous 1.177 (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.177 / (download) - annotate - [select for diffs], Fri Oct 21 18:08:47 2005 UTC (11 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.176: +68 -78
lines
Diff to previous 1.176 (colored)
Endianess annotations for various allocator data structures
Revision 1.176 / (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.175: +12 -26
lines
Diff to previous 1.175 (colored)
Update license/copyright notices to match the prefered SGI boilerplate. Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.
Revision 1.175 / (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.174: +10 -8
lines
Diff to previous 1.174 (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.174 / (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.173: +2 -2
lines
Diff to previous 1.173 (colored)
mark various symbols static Patch from Adrian Bunk
Revision 1.173 / (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.172: +3 -3
lines
Diff to previous 1.172 (colored)
Remove INT_ZERO and INT_ISZERO 0 is 0 in all endianess variant. No need for INT_ZERO and INT_ISZERO
Revision 1.172 / (download) - annotate - [select for diffs], Fri Oct 15 19:15:18 2004 UTC (13 years ago) by gwehrman
Branch: MAIN
Changes since 1.171: +14 -4
lines
Diff to previous 1.171 (colored)
Add xfs_rotorstep sysctl for controlling placement of extents for new files by the inode32 allocator.
Revision 1.171 / (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.170: +10 -10
lines
Diff to previous 1.170 (colored)
sparse: fix uses of null in place of zero and vice versa. From Chris Wedgwood.
Revision 1.170 / (download) - annotate - [select for diffs], Sat Feb 21 02:28:42 2004 UTC (13 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.169: +0 -6
lines
Diff to previous 1.169 (colored)
Remove some dead debug code remove seed calculation, not used
Revision 1.169 / (download) - annotate - [select for diffs], Mon Oct 20 04:21:43 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.168: +2 -9
lines
Diff to previous 1.168 (colored)
Fix build with tracing enabled, couple of portability macros, move externs into headers.
Revision 1.168 / (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.167: +4 -4
lines
Diff to previous 1.167 (colored)
Re-work xfs stats macros to support per-cpu data
Revision 1.167 / (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.166: +2626 -0
lines
Diff to previous 1.166 (colored)
The Big Move linux/fs/xfs/xfs_alloc.c 1.165 Renamed to xfs_alloc.c
Revision 1.166 / (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.165: +0 -2626
lines
Diff to previous 1.165 (colored)
Nuke
Revision 1.165 / (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.164: +20 -1
lines
Diff to previous 1.164 (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.164 / (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.163: +51 -51
lines
Diff to previous 1.163 (colored)
Whitespace cleanup Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)
Revision 1.163 / (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.162: +4 -27
lines
Diff to previous 1.162 (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.162 / (download) - annotate - [select for diffs], Mon Dec 2 05:53:26 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.161: +24 -20
lines
Diff to previous 1.161 (colored)
Sector size updates - macros for calculating address/size of sector-sized data structures (sb,agf,agi,agfl) are now sector size aware. Cleaned up the early mount code dealing with log devices and logsectsize. Macros for calculating address/size of sector-sized data structures (sb,agf,agi,agfl) are now sector size aware.
Revision 1.161 / (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.160: +20 -20
lines
Diff to previous 1.160 (colored)
Undoes mod: 2.4.x-xfs:slinx:130826a Revert STATIC->static change
Revision 1.160 / (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.159: +20 -20
lines
Diff to previous 1.159 (colored)
Replace STATIC with static in xfs code
Revision 1.159 / (download) - annotate - [select for diffs], Tue Oct 15 23:29:53 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.158: +6 -5
lines
Diff to previous 1.158 (colored)
more endian screwups in this code, this is the last one or I quit! put back the endian flip we lost about 3 revisions back
Revision 1.158 / (download) - annotate - [select for diffs], Tue Oct 15 21:01:19 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.157: +14 -16
lines
Diff to previous 1.157 (colored)
fix previous change, the wrong xfs_alloc_mark_busy call was removed from the code. fix previous change remove xfs_alloc_mark_busy from the free list code, not from the extent free code
Revision 1.157 / (download) - annotate - [select for diffs], Tue Oct 15 15:17:33 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.156: +0 -12
lines
Diff to previous 1.156 (colored)
xfs_alloc_put_freelist marks the blocks it gets as "busy". However, this function is used in two different ways: 1. xfs_alloc_fix_freelist calls xfs_alloc_put_freelist to add new blocks to the freelist (that is, blocks it allocated with xfs_alloc_ag_vextent). 2. xfs_alloc_delrec calls xfs_alloc_put_freelist to free deleted b+tree blocks. In case 1, the blocks should not be on the busy list; in case 2, they should. Remove xfs_alloc_mark_busy calls from xfs_alloc_put_freelist. Blocks were double-inserted by xfs_alloc_fix_freelist and xfs_alloc_delrec. Instead, only add to the freelist from xfs_alloc_delrec.
Revision 1.156 / (download) - annotate - [select for diffs], Fri Oct 11 20:39:00 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.155: +1 -1
lines
Diff to previous 1.155 (colored)
fix a couple of nasty log problems. When a transaction crosses multiple iclogs, the async transaction code needs to force the log up until the last iclog. We need to record this lsn in the transaction so we can do a log flush on it. Secondly, there was a sleep/wakeup pair between flushing the log and log write completions which was a) incorrect, and b) no longer needed. This could result in early wakeups of threads waiting for log flushes. use t_commit_lsn rather than t_lsn when forcing the log before reusing recently freed space.
Revision 1.155 / (download) - annotate - [select for diffs], Fri Oct 11 19:55:34 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.154: +4 -4
lines
Diff to previous 1.154 (colored)
More XFS debug-related fixes Fix C syntax in xfs_alloc_trace_modagf() (debug alloc tracing)
Revision 1.154 / (download) - annotate - [select for diffs], Fri Oct 11 16:53:46 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.153: +6 -6
lines
Diff to previous 1.153 (colored)
fix some off by one errors in the busy list search code used during space allocation. The errors were benevolent, we flushed the log more than we needed to. fix alloc busy list off by one errors, and simplify the bounds check code.
Revision 1.153 / (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.152: +81 -81
lines
Diff to previous 1.152 (colored)
whitespace cleanup
Revision 1.152 / (download) - annotate - [select for diffs], Fri Jun 14 18:03:36 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.151: +17 -8
lines
Diff to previous 1.151 (colored)
add an extra last pass to the allocation group scan to squeeze the last few blocks out of the disk.
Revision 1.151 / (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.150: +1 -1
lines
Diff to previous 1.150 (colored)
Update copyright dates
Revision 1.150 / (download) - annotate - [select for diffs], Sun Jun 2 12:48:46 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.149: +8 -8
lines
Diff to previous 1.149 (colored)
switch xfs perag log to a rw_semaphore
Revision 1.149 / (download) - annotate - [select for diffs], Fri May 3 15:46:30 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.148: +2 -3
lines
Diff to previous 1.148 (colored)
Merge irix6.5f:irix:117830a Move the mrlock/mrunlock of m_peraglock outside of the for loop that searches AGs for one with space. Fixes a near-full-filesystem performance problem.
Revision 1.148 / (download) - annotate - [select for diffs], Mon Apr 1 22:46:06 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.147: +1 -1
lines
Diff to previous 1.147 (colored)
Optimize endian flipping code when setting to or testing for zero Use INT_ZERO and INT_ISZERO instead of INT_SET and INT_GET
Revision 1.147 / (download) - annotate - [select for diffs], Thu Mar 28 03:18:22 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.146: +4 -3
lines
Diff to previous 1.146 (colored)
ensure unsigned long used to store irq state
Revision 1.146 / (download) - annotate - [select for diffs], Fri Mar 8 16:21:26 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.145: +2 -0
lines
Diff to previous 1.145 (colored)
Allocate pagb_list when we initialize the agf, moved here from mount
Revision 1.145 / (download) - annotate - [select for diffs], Fri Feb 15 20:47:53 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.144: +228 -30
lines
Diff to previous 1.144 (colored)
er-AG busy list management. Search per-AG busy list on allocation, remove setting of synchronous transactions where the busy list will take over. Mark removed blocks in the busy list.
Revision 1.144 / (download) - annotate - [select for diffs], Mon Dec 3 17:52:09 2001 UTC (15 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.143: +18 -1
lines
Diff to previous 1.143 (colored)
Changes for rotating file data through allocation groups when 32 bit inode code is enabled.
Revision 1.143 / (download) - annotate - [select for diffs], Tue Oct 23 23:44:04 2001 UTC (15 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.142: +25 -22
lines
Diff to previous 1.142 (colored)
sync userpsace with recent XFS kernel changes - this does not affect userspace (libxfs), all affected code is removed by cpp. some of the added kernel diagnostics did not endian convert where needed - these instances have been corrected.
Revision 1.142 / (download) - annotate - [select for diffs], Fri Oct 5 13:34:57 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.141: +7 -7
lines
Diff to previous 1.141 (colored)
remove newline from end of cmn_err(CE_NOTE messages
Revision 1.141 / (download) - annotate - [select for diffs], Thu Oct 4 21:11:56 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.140: +22 -0
lines
Diff to previous 1.140 (colored)
More verbose error messages on forced shutdown
Revision 1.140 / (download) - annotate - [select for diffs], Thu Apr 19 02:37:23 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.139: +6 -6
lines
Diff to previous 1.139 (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.139 / (download) - annotate - [select for diffs], Thu Apr 12 23:35:02 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.138: +15 -20
lines
Diff to previous 1.138 (colored)
tidy up spurious whitespace & offsetting uncleanliness for those routines which I'm syncing with userspace at the moment.
Revision 1.138 / (download) - annotate - [select for diffs], Wed Apr 11 16:27:03 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.137: +5 -176
lines
Diff to previous 1.137 (colored)
Kill gratuitous prototypes
Revision 1.137 / (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.136: +115 -115
lines
Diff to previous 1.136 (colored)
Get rid of the last compiler warning OFF flags
Revision 1.136 / (download) - annotate - [select for diffs], Tue Sep 26 02:03:57 2000 UTC (17 years ago) by dxm
Branch: MAIN
CVS Tags: Release-1_0_0,
PreRelease-0_10
Changes since 1.135: +2 -1
lines
Diff to previous 1.135 (colored)
pv 801066
Revision 1.135 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.134: +6 -51
lines
Diff to previous 1.134 (colored)
use xfs.h, remove all traces of SIM, push extern declarations into headers, dead code removal.
Revision 1.134 / (download) - annotate - [select for diffs], Tue Jul 18 01:41:36 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.133: +5 -5
lines
Diff to previous 1.133 (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.133 / (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.132: +6 -5
lines
Diff to previous 1.132 (colored)
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: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:63413a originally by jtk on 06/06/00 Squash a handfull of compiler warnings.
Revision 1.132 / (download) - annotate - [select for diffs], Fri Jun 9 04:39:57 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.131: +71 -76
lines
Diff to previous 1.131 (colored)
ARCH: Support big-endian ONLY Merge of 2.3.99pre2-xfs:slinx:62350a by ananth.
Revision 1.131 / (download) - annotate - [select for diffs], Fri Jun 9 03:46:09 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.130: +2 -2
lines
Diff to previous 1.130 (colored)
arch mods - AGFL Merge of 2.3.99pre2-xfs:slinx:58479a by ananth.
Revision 1.130 / (download) - annotate - [select for diffs], Fri Jun 9 03:45:47 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.129: +2 -2
lines
Diff to previous 1.129 (colored)
arch mods - bnobt + cntbt conversion Merge of 2.3.99pre2-xfs:slinx:58469a by ananth.
Revision 1.129 / (download) - annotate - [select for diffs], Fri Jun 9 03:35:24 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.128: +1 -1
lines
Diff to previous 1.128 (colored)
Merge of 2.3.99pre2-xfs:slinx:57839a by ananth. architecture independence for btree header data structures.
Revision 1.128 / (download) - annotate - [select for diffs], Fri Jun 9 03:26:50 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.127: +6 -4
lines
Diff to previous 1.127 (colored)
Merge of 2.3.99pre2-xfs:slinx:56983a by ananth. reads/writes in the agf block number free list (agfl) are now endian aware.
Revision 1.127 / (download) - annotate - [select for diffs], Fri Jun 9 03:22:44 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.126: +104 -77
lines
Diff to previous 1.126 (colored)
Merge of 2.3.99pre2-xfs:slinx:56466a by ananth. architecture independence for the allocation group freespace structure.
Revision 1.126 / (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.125: +25 -12
lines
Diff to previous 1.125 (colored)
Updated copyright and license notices, ready for open source release Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.
Revision 1.125 / (download) - annotate - [select for diffs], Fri Jun 9 02:10:00 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
CVS Tags: DELETE
Changes since 1.124: +1 -1
lines
Diff to previous 1.124 (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.124 / (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.123: +0 -4
lines
Diff to previous 1.123 (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.
Revision 1.123 / (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.122: +0 -1
lines
Diff to previous 1.122 (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.122 / (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.121: +2 -2
lines
Diff to previous 1.121 (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.121 / (download) - annotate - [select for diffs], Fri Jun 9 00:03:30 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.120: +18 -0
lines
Diff to previous 1.120 (colored)
Merge of 2.3.99pre2-xfs:slinx:44186a by ananth. Merge of 2.3.42-xfs:slinx:44186a by ananth. Copied GPL from slinx-xfs tree.
Revision 1.120 / (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.119: +2 -2
lines
Diff to previous 1.119 (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.119 / (download) - annotate - [select for diffs], Fri Dec 3 23:09:06 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.118: +1 -1
lines
Diff to previous 1.118 (colored)
hide BUF_TRYLOCK
Revision 1.118 / (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.117: +2 -2
lines
Diff to previous 1.117 (colored)
make all xfs buffer access be buftarg_t based
Revision 1.117 / (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.116: +3 -3
lines
Diff to previous 1.116 (colored)
virtualize brelse() call
Revision 1.116 / (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.115: +3 -5
lines
Diff to previous 1.115 (colored)
virtualize interface to buffer data
Revision 1.115 / (download) - annotate - [select for diffs], Fri Nov 19 20:34:54 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.114: +1 -1
lines
Diff to previous 1.114 (colored)
Fix some formatting
Revision 1.114 / (download) - annotate - [select for diffs], Wed Nov 17 19:22:23 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.113: +19 -19
lines
Diff to previous 1.113 (colored)
replace struct buf and buf_t references with xfs_buf and xfs_buf_t
Revision 1.113 / (download) - annotate - [select for diffs], Wed Aug 18 17:43:46 1999 UTC (18 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.112: +3 -3
lines
Diff to previous 1.112 (colored)
First compiling version of mkfs unsing XFS libsim. Mostly just addtions of cut up irix header files.
Revision 1.112 / (download) - annotate - [select for diffs], Mon Aug 9 17:41:06 1999 UTC (18 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.111: +5 -1
lines
Diff to previous 1.111 (colored)
TAKE Initial linux changes... build lib sim directly.
Revision 1.111 / (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.110: +1 -0
lines
Diff to previous 1.110 (colored)
Change includes for v2 directory support.
Revision 1.110 / (download) - annotate - [select for diffs], Fri Dec 4 21:44:23 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.109: +2 -2
lines
Diff to previous 1.109 (colored)
Add casts to make this compile cleanly -64. pv: 617654
Revision 1.109 / (download) - annotate - [select for diffs], Mon Nov 30 19:59:13 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.108: +22 -12
lines
Diff to previous 1.108 (colored)
Fix xfs_alloc_fix_freelist: accounting for agfl blocks was wrong, add new "minalignslop" factor to the longest-ok calculation. Set minalignslop in allocator calls. Add a couple of trace points that were missing. pv: 652107
Revision 1.108 / (download) - annotate - [select for diffs], Fri Jan 16 22:16:35 1998 UTC (19 years, 9 months ago) by mad
Branch: MAIN
Changes since 1.107: +3 -1
lines
Diff to previous 1.107 (colored)
pv: 539225 rv: kayuri, yohn Set buffer usage type (b_bvtype).
Revision 1.107 / (download) - annotate - [select for diffs], Thu Jan 8 01:12:35 1998 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.106: +4 -8
lines
Diff to previous 1.106 (colored)
Change xfs_btree_read_bufs to xfs_btree_get_bufs in cases where we don't need the buffer data since we're just going to binval it. rv: rcc@engr pv: 558120
Revision 1.106 / (download) - annotate - [select for diffs], Sat Dec 20 00:57:28 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.105: +9 -9
lines
Diff to previous 1.105 (colored)
Add an error injection point for AGF blocks. Don't B_ERROR metadata buffers that look corrupted, that can screw up if the buffer is already B_DELWRI. pv: 538827 rv: mostek@cray.com
Revision 1.105 / (download) - annotate - [select for diffs], Wed Apr 30 21:45:27 1997 UTC (20 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.104: +5 -2
lines
Diff to previous 1.104 (colored)
error handling changes
Revision 1.104 / (download) - annotate - [select for diffs], Sat Apr 12 01:18:42 1997 UTC (20 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.103: +10 -3
lines
Diff to previous 1.103 (colored)
477954 - fix vfs_sync deadlock for wsync filesystems
Revision 1.103 / (download) - annotate - [select for diffs], Sat Mar 29 00:33:43 1997 UTC (20 years, 6 months ago) by kayuri
Branch: MAIN
Changes since 1.102: +5 -5
lines
Diff to previous 1.102 (colored)
Fixed incorrect assertion in xfs_alloc_ag_vextent_size() where rbno + rlen could be greater than fbno + flen when alignment > 1.
Revision 1.102 / (download) - annotate - [select for diffs], Sat Mar 15 00:41:26 1997 UTC (20 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.101: +204 -224
lines
Diff to previous 1.101 (colored)
Error detection/recovery enhancements. Check more result codes from btree operations, returning corruption if bad results.
Revision 1.101 / (download) - annotate - [select for diffs], Thu Jan 30 02:55:56 1997 UTC (20 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.100: +254 -211
lines
Diff to previous 1.100 (colored)
Clean up tracing, add trace points for errors. Change interface to xfs_btree_dup_cursor for error recovery. Error recovery source cleanup.
Revision 1.100 / (download) - annotate - [select for diffs], Sat Jan 25 02:36:03 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.99: +3 -3
lines
Diff to previous 1.99 (colored)
Part of XFS I/O error handling changes. xfs_trans_read_buf() changed.
Revision 1.99 / (download) - annotate - [select for diffs], Thu Dec 12 01:46:37 1996 UTC (20 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.98: +2 -2
lines
Diff to previous 1.98 (colored)
Fix some warnings: remove unused variables, add ARGSUSED and REFERENCED, add casts.
Revision 1.98 / (download) - annotate - [select for diffs], Wed Nov 13 15:26:24 1996 UTC (20 years, 11 months ago) by montep
Branch: MAIN
Changes since 1.97: +2 -1
lines
Diff to previous 1.97 (colored)
merge ficus into kudzu (1.96.1.1 ... 1.96.1.2) > ---------------------------- > revision 1.96.1.2 > date: 1996/10/30 01:29:48; author: kayuri; state: Exp; lines: +2 -1 > Set agbno to NULLAGBLOCK if the allocation fails in xfs_alloc_ag_vextent_size()(bug 439096). > =============================================================================
Revision 1.97 / (download) - annotate - [select for diffs], Mon Sep 30 23:34:47 1996 UTC (21 years ago) by kayuri
Branch: MAIN
Changes since 1.96: +11 -109
lines
Diff to previous 1.96 (colored)
Removed duplicate code from xfs_alloc_ag_vextent_exact(). Now it calls xfs_alloc_fixup_trees() instead. Also fixed allocator bug in xfs_alloc_ag_vextent_near(). Bug - 397746.
Revision 1.96 / (download) - annotate - [select for diffs], Sat Jul 13 01:37:29 1996 UTC (21 years, 3 months ago) by rcc
Branch: MAIN
Changes since 1.95: +0 -4
lines
Diff to previous 1.95 (colored)
turn on agfl maintenance code in the simulation since the agfl might have to be filled/drained while being run by repair
Revision 1.95 / (download) - annotate - [select for diffs], Tue Jul 9 01:21:30 1996 UTC (21 years, 3 months ago) by rcc
Branch: MAIN
Changes since 1.94: +1 -7
lines
Diff to previous 1.94 (colored)
make xfs_free_extents and xfs_free_ag_extents usable in the simulation
Revision 1.94 / (download) - annotate - [select for diffs], Mon Jun 24 20:18:33 1996 UTC (21 years, 3 months ago) by limes
Branch: MAIN
Changes since 1.93: +2 -1
lines
Diff to previous 1.93 (colored)
fix compiler warning
Revision 1.93 / (download) - annotate - [select for diffs], Thu Jun 20 06:12:45 1996 UTC (21 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.92: +13 -0
lines
Diff to previous 1.92 (colored)
Add assertion that if both bno anc cnt btrees are single-leaf-block form, they have the same number of records, at fixup-tree time.
Revision 1.92 / (download) - annotate - [select for diffs], Thu Jun 13 01:35:15 1996 UTC (21 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.91: +5 -3
lines
Diff to previous 1.91 (colored)
Fix bug in xfs_alloc_compute_diff where we ended up tossing alignment blocks off the end of the extent, thus fragmenting the extent. This was noticed in simulation (mkfs) because the simulation btree insert was broken (due to bad ovbcopy).
Revision 1.91 / (download) - annotate - [select for diffs], Tue Jun 4 18:45:11 1996 UTC (21 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.90: +752 -820
lines
Diff to previous 1.90 (colored)
Rewrite to allow for aligned allocations, used for inodes initially (bug 385292). Rip out some dead debugging code.
Revision 1.90 / (download) - annotate - [select for diffs], Fri Feb 16 21:37:18 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.89: +2 -1
lines
Diff to previous 1.89 (colored)
Use XFS_ERROR macro where it was missing in several places.
Revision 1.89 / (download) - annotate - [select for diffs], Fri Feb 9 01:14:07 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.88: +2 -2
lines
Diff to previous 1.88 (colored)
Move the include of sys/debug.h under #define _KERNEL for compile errors.
Revision 1.88 / (download) - annotate - [select for diffs], Tue Jan 16 03:54:25 1996 UTC (21 years, 9 months ago) by ack
Branch: MAIN
Changes since 1.87: +83 -67
lines
Diff to previous 1.87 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_alloc.c,v > ---------------------------- > revision 1.88 > date: 1996/01/10 21:06:24; author: ajs; state: Exp; lines: +84 -68 > 326000 Use the new xfs_btree_del_cursor interface. > =============================================================================
Revision 1.87 / (download) - annotate - [select for diffs], Tue Oct 31 06:13:17 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.86: +2 -2
lines
Diff to previous 1.86 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_alloc.c,v > ---------------------------- > revision 1.87 > date: 1995/10/28 00:27:28; author: doucette; state: Exp; lines: +3 -3 > Fix calls to xfs_trans_mod_sb with int instead of long sizes, these are > a leftover of when the 3rd argument was an int. > =============================================================================
Revision 1.86 / (download) - annotate - [select for diffs], Tue Oct 24 07:44:09 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.85: +0 -0
lines
Diff to previous 1.85 (colored)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_alloc.c,v > ---------------------------- > revision 1.86 > date: 1995/10/13 16:11:13; author: ajs; state: Exp; lines: +11 -11 > Put XFS tracing under ifdefs separate from DEBUG > ---------------------------- > revision 1.85 > date: 1995/10/13 00:28:12; author: doucette; state: Exp; lines: +2 -1 > Include sys/uuid.h since the uuid_t definition has been moved out > of sys/types.h for DCE. > =============================================================================
Revision 1.85 / (download) - annotate - [select for diffs], Tue Oct 17 08:19:56 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.84: +12 -11
lines
Diff to previous 1.84 (colored)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_alloc.c,v > ---------------------------- > revision 1.86 > date: 1995/10/13 16:11:13; author: ajs; state: Exp; lines: +11 -11 > Put XFS tracing under ifdefs separate from DEBUG > ---------------------------- > revision 1.85 > date: 1995/10/13 00:28:12; author: doucette; state: Exp; lines: +2 -1 > Include sys/uuid.h since the uuid_t definition has been moved out > of sys/types.h for DCE. > =============================================================================
Revision 1.84 / (download) - annotate - [select for diffs], Wed Aug 16 23:48:55 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.83: +11 -1
lines
Diff to previous 1.83 (colored)
Ifdef out some global data used only in DEBUG kernels but defined in all kernels. Ifdef out code for exact extent allocations, which is never used. Change offset tables from ints to shorts to save space.
Revision 1.83 / (download) - annotate - [select for diffs], Wed Aug 16 05:45:39 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.82: +3 -1
lines
Diff to previous 1.82 (colored)
Add includes of xfs_macros.h, xfs_bit.h.
Revision 1.82 / (download) - annotate - [select for diffs], Thu Jun 22 23:22:24 1995 UTC (22 years, 4 months ago) by rcc
Branch: MAIN
Changes since 1.81: +2 -2
lines
Diff to previous 1.81 (colored)
changed to use new agi header good version macros
Revision 1.81 / (download) - annotate - [select for diffs], Thu May 11 01:22:42 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.80: +2 -2
lines
Diff to previous 1.80 (colored)
272139 - Change xFS to XFS
Revision 1.80 / (download) - annotate - [select for diffs], Tue May 9 21:21:16 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.79: +12 -10
lines
Diff to previous 1.79 (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.79 / (download) - annotate - [select for diffs], Fri Apr 28 21:07:49 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.78: +11 -1
lines
Diff to previous 1.78 (colored)
261533 - Check for magic numbers when reading in meta-data blocks.
Revision 1.78 / (download) - annotate - [select for diffs], Thu Apr 13 03:13:53 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.77: +662 -224
lines
Diff to previous 1.77 (colored)
First cut at disk error handling
Revision 1.77 / (download) - annotate - [select for diffs], Thu Mar 9 03:38:28 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.76: +3 -1
lines
Diff to previous 1.76 (colored)
Use b_ref.
Revision 1.76 / (download) - annotate - [select for diffs], Thu Feb 23 00:56:41 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.75: +16 -39
lines
Diff to previous 1.75 (colored)
Put the argument structures for xfs_bmap_alloc and xfs_alloc_vextent on the stack instead of in the heap. Move locals for xfs_bmapi and xfs_bmbt_* routines from the heap to the stack.
Revision 1.75 / (download) - annotate - [select for diffs], Fri Dec 30 23:49:41 1994 UTC (22 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.74: +2 -2
lines
Diff to previous 1.74 (colored)
Move #include for sys/param.h inside #define _KERNEL 1 to make ragnarok compile errors go away, for cmd/xfs/sim.
Revision 1.74 / (download) - annotate - [select for diffs], Tue Dec 27 17:52:08 1994 UTC (22 years, 9 months ago) by tap
Branch: MAIN
Changes since 1.73: +3 -1
lines
Diff to previous 1.73 (colored)
add #ifdef DEBUG around call to XFS_AG_CHECK_DADDR so file will compile without warnings.
Revision 1.73 / (download) - annotate - [select for diffs], Fri Dec 23 23:40:59 1994 UTC (22 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.72: +3 -2
lines
Diff to previous 1.72 (colored)
Add cast to long before taking the negative of and unsigned len in the call to xfs_trans_agblocks_delta().
Revision 1.72 / (download) - annotate - [select for diffs], Thu Dec 22 00:32:16 1994 UTC (22 years, 10 months ago) by tap
Branch: MAIN
Changes since 1.71: +17 -5
lines
Diff to previous 1.71 (colored)
add type casts so file will compile without warnings.
Revision 1.71 / (download) - annotate - [select for diffs], Tue Oct 11 22:06:22 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.70: +10 -0
lines
Diff to previous 1.70 (colored)
#ifndef SIM code not needed for programs linking with libsim.a, to make them smaller.
Revision 1.70 / (download) - annotate - [select for diffs], Tue Sep 27 02:25:20 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.69: +65 -62
lines
Diff to previous 1.69 (colored)
Make xfs_alloc_read_agf external, for growfs. Add locking around use of m_perag for growfs.
Revision 1.69 / (download) - annotate - [select for diffs], Thu Sep 8 20:29:54 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.68: +7 -1
lines
Diff to previous 1.68 (colored)
Add xfs statistics support for osview (per-processor counters for file system actions).
Revision 1.68 / (download) - annotate - [select for diffs], Fri Sep 2 23:03:11 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.67: +1 -3
lines
Diff to previous 1.67 (colored)
When putting blocks on the ag freelist, do so in the normal order instead of inverted. It used to make sense the other way, when the list was a linked list, since it's a circular array this makes more sense. The effect is that we avoid getting successive single-block extents in the wrong order in a file when pulling from the ag freelist.
Revision 1.67 / (download) - annotate - [select for diffs], Fri Sep 2 20:26:24 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.66: +15 -4
lines
Diff to previous 1.66 (colored)
Add tracing to the loop in xfs_alloc_vextent, so we can see the failing ag's in low mode especially. Fix the agbno when restarting the start_bno loop. Add o(original) allocation type to the trace.
Revision 1.66 / (download) - annotate - [select for diffs], Wed Aug 31 22:34:46 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.65: +11 -3
lines
Diff to previous 1.65 (colored)
Make sure to respect minleft in xfs_alloc_ag_vextent_xxx even when pulling from the freelist.
Revision 1.65 / (download) - annotate - [select for diffs], Mon Aug 8 19:49:27 1994 UTC (23 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.64: +10 -5
lines
Diff to previous 1.64 (colored)
Fix bug in xfs_alloc_ag_vextent/xfs_alloc_fix_freelist where if there is only one extent free and nothing on the freelist, and minlen is close to the size of the free extent, then refilling the freelist makes the extent too small. This causes the assert in xfs_alloc_ag_vextent to pop.
Revision 1.64 / (download) - annotate - [select for diffs], Fri Jun 24 20:46:39 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.63: +5 -1
lines
Diff to previous 1.63 (colored)
Add calls to track agf counter changes in the transaction so we can ensure that they are consistent with the changes to the superblock.
Revision 1.63 / (download) - annotate - [select for diffs], Thu Jun 16 01:52:48 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.62: +86 -36
lines
Diff to previous 1.62 (colored)
Add per-allocation group in-memory structure to speed up allocation selection of a.g.'s.
Revision 1.62 / (download) - annotate - [select for diffs], Wed Jun 15 18:08:03 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.61: +2 -2
lines
Diff to previous 1.61 (colored)
Fix xfs_alloc_fix_freelist call in xfs_alloc_vextent cases where the A.G. is already picked, to not specify a minleft, which is only needed when we want to reject A.G.'s so we can get into low-space mode.
Revision 1.61 / (download) - annotate - [select for diffs], Tue Jun 14 01:04:48 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.60: +35 -1
lines
Diff to previous 1.60 (colored)
Make transactions which move data from the freelist to free space or user space synchronous so the data can't be re-written until it is permanently free.
Revision 1.60 / (download) - annotate - [select for diffs], Thu Jun 9 19:38:29 1994 UTC (23 years, 4 months ago) by wei_hu
Branch: MAIN
Changes since 1.59: +1 -2
lines
Diff to previous 1.59 (colored)
Eliminate include of <sys/uuid.h>.
Revision 1.59 / (download) - annotate - [select for diffs], Sat Jun 4 00:15:36 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.58: +3 -1
lines
Diff to previous 1.58 (colored)
Fix bug where xfs_alloc_vextent will assert for some allocation types if we're out of disk space.
Revision 1.58 / (download) - annotate - [select for diffs], Sat May 28 21:23:18 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.57: +112 -87
lines
Diff to previous 1.57 (colored)
Replace a.g. freelist with an array of blocks stored in the 4th bb.
Revision 1.57 / (download) - annotate - [select for diffs], Thu May 26 23:05:12 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.56: +12 -4
lines
Diff to previous 1.56 (colored)
Call xfs_trans_binval to invalidate buffers for blocks that are now metadata and are or might become user data.
Revision 1.56 / (download) - annotate - [select for diffs], Tue May 24 06:03:42 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.55: +1 -1
lines
Diff to previous 1.55 (colored)
Missing cast in xfs_alloc_fix_freelist caused unsigned instead of signed comparison, so didn't reject a.g.'s with too little free space.
Revision 1.55 / (download) - annotate - [select for diffs], Mon May 23 23:10:16 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.54: +42 -20
lines
Diff to previous 1.54 (colored)
Allocate xfs_alloc_arg_t's from a zone instead of on the stack, to reduce stack space used.
Revision 1.54 / (download) - annotate - [select for diffs], Mon May 23 21:48:33 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.53: +1 -4
lines
Diff to previous 1.53 (colored)
Move ktrace buffer initialization to xfs_init().
Revision 1.53 / (download) - annotate - [select for diffs], Mon May 23 05:20:47 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.52: +7 -2
lines
Diff to previous 1.52 (colored)
Fix bad assert in xfs_free_extent.
Revision 1.52 / (download) - annotate - [select for diffs], Sat May 21 01:04:57 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.51: +1 -1
lines
Diff to previous 1.51 (colored)
Fix bad assert when a.g. freelist gets empty.
Revision 1.51 / (download) - annotate - [select for diffs], Sat May 21 00:31:56 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.50: +36 -27
lines
Diff to previous 1.50 (colored)
Fix accounting problem when allocating blocks from the a.g. freelist, they don't get removed from the freelist's freecount.
Revision 1.50 / (download) - annotate - [select for diffs], Fri May 20 23:41:50 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.49: +196 -4
lines
Diff to previous 1.49 (colored)
Add some asserts and tracing for allocations.
Revision 1.49 / (download) - annotate - [select for diffs], Fri May 20 19:49:02 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.48: +34 -2
lines
Diff to previous 1.48 (colored)
Add some more asserts, looking for bad allocation outputs.
Revision 1.48 / (download) - annotate - [select for diffs], Fri May 20 02:01:18 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.47: +46 -61
lines
Diff to previous 1.47 (colored)
Convert xfs_alloc_vextent to take an xfs_alloc_arg_t* as an argument, and all its callers to pass one in. Saves a bunch of stack space.
Revision 1.47 / (download) - annotate - [select for diffs], Thu May 19 17:14:46 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.46: +322 -469
lines
Diff to previous 1.46 (colored)
Attack stack space problem for xfs_alloc_[v]extent and the stuff it calls, by adding xfs_alloc_args_t which is used below the xfs_alloc_vextent layer. Remove xfs_alloc_extent altogether, replace calls to it with calls to xfs_alloc_vextent. Remove some local variables.
Revision 1.46 / (download) - annotate - [select for diffs], Wed May 18 16:34:06 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.45: +2 -1
lines
Diff to previous 1.45 (colored)
Don't reject an allocation group whose longest extent is 0, if minlen is 1 and there are blocks on the free list.
Revision 1.45 / (download) - annotate - [select for diffs], Wed May 18 02:12:13 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.44: +145 -27
lines
Diff to previous 1.44 (colored)
Add a "minleft" argument to allocation interfaces, requiring that many blocks to be left in the allocation group after this allocation is done.
Revision 1.44 / (download) - annotate - [select for diffs], Fri May 13 18:56:17 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.43: +3 -3
lines
Diff to previous 1.43 (colored)
Change m_agrotor in mount struct to m_agfrotor, and add m_agirotor.
Revision 1.43 / (download) - annotate - [select for diffs], Tue May 10 22:27:25 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.42: +2 -2
lines
Diff to previous 1.42 (colored)
Change brelse() call to xfs_trans_brelse().
Revision 1.42 / (download) - annotate - [select for diffs], Wed May 4 00:20:46 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.41: +2 -1
lines
Diff to previous 1.41 (colored)
Add new include file xfs_ialloc_btree.h. Caused some include reordering.
Revision 1.41 / (download) - annotate - [select for diffs], Fri Apr 22 22:57:59 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.40: +82 -82
lines
Diff to previous 1.40 (colored)
Change variable names from buf to bp to avoid global buf; also change ...buf to ...bp for consistency.
Revision 1.40 / (download) - annotate - [select for diffs], Sun Apr 17 23:34:22 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.39: +30 -30
lines
Diff to previous 1.39 (colored)
Change "functional" macros' names from lower to uppercase, for consistency with everything else.
Revision 1.39 / (download) - annotate - [select for diffs], Sat Apr 16 01:05:58 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.38: +15 -3
lines
Diff to previous 1.38 (colored)
Fix signed vs. unsigned arithmetic bug in xfs_alloc_fix_len, caused assertion in xfs_alloc_ag_vextent. Improve algorithm in near extent allocation when the found blocks are smaller than maxlen, but bigger than minlen.
Revision 1.38 / (download) - annotate - [select for diffs], Fri Apr 15 20:24:23 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.37: +81 -26
lines
Diff to previous 1.37 (colored)
Add argument to xfs_free_ag_extent, xfs_alloc_ag_vextent (and its sub-routines) to signify that the request comes from the freelist manipulations, and should not be accounted in the superblock. Pull a single block from the freelist (for real allocations) if we're otherwise out of space. Compute maximum number of btree levels based on the fs parameters instead of using a constant worst-case.
Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 13 02:02:38 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.36: +6 -6
lines
Diff to previous 1.36 (colored)
Use xfs_alloc_block_t instead of generic xfs_btree_sblock_t, and xfs_buf_to_alloc_block instead of xfs_buf_to_sblock. Fix two xfs_alloc_fix_freelist calls, that should not have used trylock.
Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 12 01:16:37 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.35: +12 -16
lines
Diff to previous 1.35 (colored)
Split xfs_fsblock_t into multiple types. Use mp instead of sbp in all the address macros.
Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 8 04:28:38 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.34: +1 -1
lines
Diff to previous 1.34 (colored)
Make one check #ifdef DEBUG, not XFSDEBUG, I want it to run in kernel mode.
Revision 1.34 / (download) - annotate - [select for diffs], Wed Apr 6 16:48:18 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.33: +23 -13
lines
Diff to previous 1.33 (colored)
Add maxlen arg to xfs_alloc_fix_len, so if the length allocatable is the same as maxlen, just give that back instead of shortening it.
Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 4 18:14:09 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.32: +6 -2
lines
Diff to previous 1.32 (colored)
Add assert for null or errored buffer returned by xfs_trans_read_buf. Fix XFS_ALLOCTYPE_FIRST_AG code, needed to wrap at ag 0.
Revision 1.32 / (download) - annotate - [select for diffs], Fri Apr 1 23:11:42 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.31: +12 -3
lines
Diff to previous 1.31 (colored)
Add new allocation type XFS_ALLOCTYPE_FIRST_AG to support the changes for indirect block delayed allocation accounting.
Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 24 01:50:34 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.30: +3 -0
lines
Diff to previous 1.30 (colored)
Fix xfs_alloc_ag_freeblks to not crash if it is given TRYLOCK flags and the buffer read fails.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Feb 18 00:44:15 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.29: +453 -177
lines
Diff to previous 1.29 (colored)
Finish adding comments and reformatting. Minor improvements in xfs_alloc_ag_vextent_near.
Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 17 02:55:56 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.28: +594 -275
lines
Diff to previous 1.28 (colored)
Formatting changes, add some comments.
Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 16 02:13:38 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.27: +166 -83
lines
Diff to previous 1.27 (colored)
Add semantics needed for extent sizes and to avoid partial page extents. Fix bugs in main xfs_alloc_vextent routine (wrong allocation type problem) and in xfs_free_ag_extent.
Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 2 20:18:58 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.26: +135 -97
lines
Diff to previous 1.26 (colored)
Fix lint problems. Clean up formatting
Revision 1.26 / (download) - annotate - [select for diffs], Tue Feb 1 02:30:50 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.25: +83 -1635
lines
Diff to previous 1.25 (colored)
Split btree functions off into xfs_alloc_btree.c.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Feb 1 00:17:55 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.24: +1 -1
lines
Diff to previous 1.24 (colored)
Fix includes after splitting xfs_bmap_btree.h off from xfs_bmap.h.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 29 00:42:28 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.23: +25 -10
lines
Diff to previous 1.23 (colored)
Add "was-delayed" argument to xfs_alloc_[v]extent to fix accounting of freespace in the superblock.
Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 19 00:22:36 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.22: +4 -1
lines
Diff to previous 1.22 (colored)
Make xfs_alloc_fix_freelist add to the total blocks needed in the transaction passed to it, its own requirement.
Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 7 22:10:30 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.21: +174 -87
lines
Diff to previous 1.21 (colored)
Some improved function prototypes and formatting. Add arguments to xfs_alloc_extent and friends to support new allocation transaction scheme. Move cursor fields agno, agbuf to private section; bmap doesn't have them available.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 5 01:49:13 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.20: +29 -17
lines
Diff to previous 1.20 (colored)
Fix assertions and checks based on comparing fsblock_t's to sb_dblocks, they are wrong now that fsblock_t's aren't linear. Add allocation mode XFS_ALLOCTYPE_START_BNO, and use it where we were doing NEAR_BNO and then START_AG.
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 5 01:33:07 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.19: +20 -19
lines
Diff to previous 1.19 (colored)
Use new buffer cache interfaces.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 4 19:32:32 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.18: +361 -118
lines
Diff to previous 1.18 (colored)
Reformatting to get function prototypes and definitions to match, both having one-argument-per-line plus a comment.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Dec 31 01:54:50 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.17: +2 -1
lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Thu Dec 30 21:50:47 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.16: +322 -122
lines
Diff to previous 1.16 (colored)
Unify XFS_BTREE_xxx_ADDR macros so there aren't short and long versions. Make bmap (for real) and alloc (not really) btree codes separate types for keys and records. Add in some memory corruption checking.
Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 28 06:42:51 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.15: +152 -130
lines
Diff to previous 1.15 (colored)
Convert to using two separate btree header block structures, with long block pointers for BMAP btrees.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 27 22:23:34 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.14: +191 -136
lines
Diff to previous 1.14 (colored)
Split allocation group header into two buffers; make superblock one buffer long instead of one block long.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Dec 23 01:59:05 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.13: +1 -1
lines
Diff to previous 1.13 (colored)
Use xfs_btree_getblk instead of xfs_btree_bread where we don't need to read in the old data.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 15 01:09:04 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.12: +0 -1
lines
Diff to previous 1.12 (colored)
Remove include for xfs.h, this file has been removed.
Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 14 00:32:23 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.11: +8 -2
lines
Diff to previous 1.11 (colored)
Fix the cursor after a delete/join so that subsequent callers can do an update (after a decrement). This actually happens in the extent allocation code.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 10 03:05:24 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.10: +1 -2
lines
Diff to previous 1.10 (colored)
Remove include for stddef.h, now unnecessary.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 10 00:21:17 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.9: +8 -8
lines
Diff to previous 1.9 (colored)
Modify to use new transaction interfaces.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 9 06:05:09 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.8: +7 -11
lines
Diff to previous 1.8 (colored)
Various cleanups to get kernel-mode make to work. Fix includes and other problems for #ifndef SIM code.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 30 18:19:32 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.7: +5 -0
lines
Diff to previous 1.7 (colored)
Add missing logging in the delete code.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 19 21:39:27 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.6: +79 -147
lines
Diff to previous 1.6 (colored)
Use bit-oriented approach to structure field logging instead of calculating offsets everywhere.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 17 01:39:34 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.5: +63 -76
lines
Diff to previous 1.5 (colored)
Get rid of warnings from ragnarok compilers by adding casts, changing types, adding lint comments. Get rid of xfs_extdesc_t, replace with xfs_bmbt_rec_t.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 12 18:48:36 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.4: +115 -166
lines
Diff to previous 1.4 (colored)
Make mount struct contain sb, not a pointer to it. Add mp argument to some routines, replace tp with mp in others. Put the mp in the cursor, as well as blocklog.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 9 01:40:11 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.3: +478 -715
lines
Diff to previous 1.3 (colored)
More stuff in btree.[ch]. Structure field name changes.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 6 22:01:18 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.2: +138 -127
lines
Diff to previous 1.2 (colored)
Get rid of nested includes. Replace xfs_alloc_block_t with xfs_btree_block_t. Add cur to XFS_ALLOC... macros.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 30 00:23:12 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
Change types from u_int??_t form to __uint??_t form.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 29 17:19:48 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Initial revision