Up to [Development] / linux-2.6-xfs / fs / xfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.44 / (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.43: +10 -9
lines
Diff to previous 1.43 (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.43 / (download) - annotate - [select for diffs], Fri Oct 10 15:23:27 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.42: +18 -7
lines
Diff to previous 1.42 (colored)
cleanup btree record / key / ptr addressing macros. Replace the generic record / key / ptr addressing macros that use cpp token pasting with simpler macros that do the job for just one given btree type. The new macros lose the cur argument and thus can be used outside the core btree code, but also gain an xfs_mount * argument to allow for checking the CRC flag in the near future. Note that many of these macros aren't actually used in the kernel code, but only in userspace (mostly in xfs_repair). Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32295a by kenmcd. cleanup btree record / key / ptr addressing macros.
Revision 1.42 / (download) - annotate - [select for diffs], Fri Oct 10 15:21:38 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.41: +1 -8
lines
Diff to previous 1.41 (colored)
Cleanup maxrecs calculation. Clean up the way the maximum and minimum records for the btree blocks are calculated. For the alloc and inobt btrees all the values are pre-calculated in xfs_mount_common, and we switch the current loop around the ugly generic macros that use cpp token pasting to generate type names to two small helpers in normal C code. For the bmbt and bmdr trees these helpers also exist, but can be called during runtime, too. Here we also kill various macros dealing with them and inline the logic into the get_minrecs / get_maxrecs / get_dmaxrecs methods in xfs_bmap_btree.c. Note that all these new helpers take an xfs_mount * argument which will be needed to determine the size of a btree block once we add support for extended btree blocks with CRCs and other RAS information. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32292a by kenmcd. Cleanup maxrecs calculation.
Revision 1.41 / (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.40: +0 -7
lines
Diff to previous 1.40 (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.40 / (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.39: +0 -7
lines
Diff to previous 1.39 (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.39 / (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.38: +0 -6
lines
Diff to previous 1.38 (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.38 / (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.37: +0 -8
lines
Diff to previous 1.37 (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.37 / (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.36: +0 -20
lines
Diff to previous 1.36 (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.36 / (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.35: +0 -6
lines
Diff to previous 1.35 (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.35 / (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.34: +0 -6
lines
Diff to previous 1.34 (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.34 / (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.33: +4 -0
lines
Diff to previous 1.33 (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.33 / (download) - annotate - [select for diffs], Mon Oct 8 15:43:12 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.32: +0 -2
lines
Diff to previous 1.32 (colored)
kill XFS_INOBT_IS_FREE_DISK This macro is unused an all other acros in this family operate on native types, so we most likely won't grow a user either. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29846a by kenmcd. kill XFS_INOBT_IS_FREE_DISK
Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 7 02:51:06 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.31: +4 -6
lines
Diff to previous 1.31 (colored)
Remove unused arguments from the XFS_BTREE_*_ADDR macros. It makes it incrementally clearer to read the code when the top of a macro spaghetti-pile only receives the 3 arguments it uses, rather than 2 extra ones which are not used. Also when you start pulling this thread out of the sweater (i.e. remove unused args from XFS_BTREE_*_ADDR), a couple other third arms etc fall off too. If they're not used in the macro, then they sometimes don't need to be passed to the function calling the macro either, etc.... Patch provided by Eric Sandeen (sandeen@sandeen.net). Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:28037a by kenmcd. Remove unused arguments from XFS_BTREE_*_ADDR macros. Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Revision 1.31 / (download) - annotate - [select for diffs], Fri Aug 4 13:17:23 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.30: +12 -7
lines
Diff to previous 1.30 (colored)
endianess annotations for xfs_inobt_rec_t / xfs_inobt_key_t Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:26556a by kenmcd. endianess annotations for xfs_inobt_rec_t / xfs_inobt_key_t
Revision 1.30 / (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.29: +5 -3
lines
Diff to previous 1.29 (colored)
Endianess annotations for various allocator data structures
Revision 1.29 / (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.28: +12 -26
lines
Diff to previous 1.28 (colored)
Update license/copyright notices to match the prefered SGI boilerplate. Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.
Revision 1.28 / (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.27: +39 -168
lines
Diff to previous 1.27 (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.27 / (download) - annotate - [select for diffs], Tue Jun 7 14:39:14 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.26: +6 -2
lines
Diff to previous 1.26 (colored)
add XFS_INOBT_IS_FREE_DISK add a variant of XFS_INOBT_IS_FREE that works with on disk structures needed for xfsprogs and we want to keep this header in sync
Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 12 22:38:29 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.25: +10 -12
lines
Diff to previous 1.25 (colored)
Stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere
Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 6 18:11:55 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.24: +0 -2
lines
Diff to previous 1.24 (colored)
Implement deletion of inode clusters in XFS. turn on prototype for xfs_inobt_delete
Revision 1.24 / (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.23: +318 -0
lines
Diff to previous 1.23 (colored)
The Big Move linux/fs/xfs/xfs_ialloc_btree.h 1.22 Renamed to xfs_ialloc_btree.h
Revision 1.23 / (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.22: +0 -318
lines
Diff to previous 1.22 (colored)
Nuke
Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.21: +46 -46
lines
Diff to previous 1.21 (colored)
Whitespace cleanup Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)
Revision 1.21 / (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.20: +58 -58
lines
Diff to previous 1.20 (colored)
whitespace cleanup
Revision 1.20 / (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,
Linux-2_4_5-merge
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
pv 801066
Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.18: +3 -5
lines
Diff to previous 1.18 (colored)
use xfs.h, remove all traces of SIM, push extern declarations into headers, dead code removal.
Revision 1.18 / (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.17: +1 -1
lines
Diff to previous 1.17 (colored)
ARCH: Support big-endian ONLY Merge of 2.3.99pre2-xfs:slinx:62350a by ananth.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 9 03:48:14 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.16: +12 -10
lines
Diff to previous 1.16 (colored)
arch mods - finish inobt Merge of 2.3.99pre2-xfs:slinx:58504a by ananth.
Revision 1.16 / (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.15: +1 -1
lines
Diff to previous 1.15 (colored)
Merge of 2.3.99pre2-xfs:slinx:57839a by ananth. architecture independence for btree header data structures.
Revision 1.15 / (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.14: +25 -12
lines
Diff to previous 1.14 (colored)
Updated copyright and license notices, ready for open source release Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 9 00:03:30 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
CVS Tags: DELETE
Changes since 1.13: +19 -1
lines
Diff to previous 1.13 (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.13 / (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.12: +1 -1
lines
Diff to previous 1.12 (colored)
virtualize interface to buffer data
Revision 1.12 / (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.11: +3 -3
lines
Diff to previous 1.11 (colored)
replace struct buf and buf_t references with xfs_buf and xfs_buf_t
Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 15 00:41:43 1997 UTC (20 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.10: +6 -14
lines
Diff to previous 1.10 (colored)
Error detection/recovery enhancements. Check more result codes from btree operations, returning corruption if bad results.
Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 4 19:14:35 1996 UTC (21 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.9: +1 -24
lines
Diff to previous 1.9 (colored)
Remove some dead debugging code.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 13 06:41:25 1995 UTC (21 years, 10 months ago) by ack
Branch: MAIN
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_ialloc_btree.h,v > ---------------------------- > revision 1.9 > date: 1995/12/05 18:44:04; author: doucette; state: Exp; lines: +2 -2 > Make XFS_INOBT_IS_FREE result be really boolean, since the function > type (in xfs_macros) was int, the value computed was 64 bits, if the only > free bits were set in the upper half then we didn't see them. Thus the > debug versions didn't work at all. > =============================================================================
Revision 1.8 / (download) - annotate - [select for diffs], Wed Aug 16 05:46:19 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.7: +94 -10
lines
Diff to previous 1.7 (colored)
Turn some macros into functions for 32-bit kernels, to save some memory.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 31 21:26:30 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.6: +3 -1
lines
Diff to previous 1.6 (colored)
Fix XFS_INOBT_MASKN macro for the case where the number of inodes per cluster is 64 or more, corresponding to (for instance) 16kb blocks and 256 byte inodes. Fixes bug 293388.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 8 18:35:47 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.5: +17 -1
lines
Diff to previous 1.5 (colored)
Add btree block and inode readahead for bulkstat.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 13 03:15:12 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.4: +22 -15
lines
Diff to previous 1.4 (colored)
First cut at disk error handling
Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:31 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
Fix wrong name in a stub structure declaration.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 11 22:06:26 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.2: +2 -0
lines
Diff to previous 1.2 (colored)
Ifdef out code to remove inode btree entries, since nothing calls it.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 14 01:37:37 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.1: +1 -0
lines
Diff to previous 1.1 (colored)
Add XFS_INODES_PER_CHUNK_LOG so we can eliminate a long-long divide.
Revision 1.1 / (download) - annotate - [select for diffs], Wed May 4 00:21:21 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Initial revision