CVS log for xfs-linux/xfs_btree.h

[BACK] Up to [Development] / xfs-linux

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.100 / (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.99: +15 -38 lines
Diff to previous 1.99 (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.99 / (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.98: +0 -15 lines
Diff to previous 1.98 (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.98 / (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.97: +0 -13 lines
Diff to previous 1.97 (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.97 / (download) - annotate - [select for diffs], Wed Oct 1 04:30:30 2008 UTC (9 years ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.96: +0 -4 lines
Diff to previous 1.96 (colored)

Sync up kernel and user-space headers
Merge of xfs-linux-melb:xfs-kern:32231a by kenmcd.

  Sync up kernel and user-space headers

Revision 1.96 / (download) - annotate - [select for diffs], Wed Sep 24 16:34:10 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.95: +0 -67 lines
Diff to previous 1.95 (colored)

mark various functions in xfs_btree.c static

Lots of functionality in xfs_btree.c isn't needed by callers outside of
this file anymore, so mark these functions static.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32209a by kenmcd.

  mark various functions in xfs_btree.c static

Revision 1.95 / (download) - annotate - [select for diffs], Wed Sep 24 16:33:20 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.94: +12 -24 lines
Diff to previous 1.94 (colored)

add keys_inorder and recs_inorder btree methods

Add methods to check whether two keys/records are in the righ order.  This
replaces the xfs_btree_check_key and xfs_btree_check_rec methods.  For the
callers from xfs_bmap.c just opencode the bmbt-specific asserts.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32208a by kenmcd.

  add keys_inorder and recs_inorder btree methods

Revision 1.94 / (download) - annotate - [select for diffs], Wed Sep 24 16:32:26 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.93: +6 -0 lines
Diff to previous 1.93 (colored)

kill xfs_bmbt_log_block and xfs_bmbt_log_recs

These are equivalent to the xfs_btree_* versions, and the only remaining
caller can be switched to the generic one after they are exported.  Also
remove some now dead infrastructure in xfs_bmap_btree.c.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32207a by kenmcd.

  kill xfs_bmbt_log_block and xfs_bmbt_log_recs

Revision 1.93 / (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.92: +1 -0 lines
Diff to previous 1.92 (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.92 / (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.91: +5 -0 lines
Diff to previous 1.91 (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.91 / (download) - annotate - [select for diffs], Wed Sep 24 16:29:41 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.90: +2 -0 lines
Diff to previous 1.90 (colored)

move xfs_bmbt_killroot to common code

xfs_bmbt_killroot is a mostly generic implementation of moving from
a real block based root to an inode based root.  So move it to xfs_btree.c
where it can use all the nice infrastructure there and make it pointer
size agnostic

The new name for it is xfs_btree_kill_iroot, following the old naming
but making it clear we're dealing with the root in inode case here,
and to avoid confusion with xfs_btree_new_root which is used for the
not inode rooted case.  I've also added a comment describing what it does
and why it's named the way it is.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32203a by kenmcd.

  move xfs_bmbt_killroot to common code

Revision 1.90 / (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.89: +11 -0 lines
Diff to previous 1.89 (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.89 / (download) - annotate - [select for diffs], Wed Sep 24 16:27:52 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.88: +1 -0 lines
Diff to previous 1.88 (colored)

move xfs_bmbt_newroot to common code

xfs_bmbt_newroot is a mostly generic implementation of moving from
an inode root to a real block based root.  So move it to xfs_btree.c
where it can use all the nice infrastructure there and make it pointer
size agnostic

The new name for it is xfs_btree_new_iroot, following the old naming
but making it clear we're dealing with the root in inode case here,
and to avoid confusion with xfs_btree_new_root which is used for the
not inode rooted case.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32201a by kenmcd.

  move xfs_bmbt_newroot to common code

Revision 1.88 / (download) - annotate - [select for diffs], Wed Sep 24 16:27:00 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.87: +5 -0 lines
Diff to previous 1.87 (colored)

implement semi-generic xfs_btree_new_root

From: Dave Chinner <dgc@sgi.com>

Add a xfs_btree_new_root helper for the alloc and ialloc btrees.  The bmap
btree needs it's own version and is not converted.

[hch: split out from bigger patch and minor adaptions]


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32200a by kenmcd.

  implement semi-generic xfs_btree_new_root

Revision 1.87 / (download) - annotate - [select for diffs], Wed Sep 24 16:26:10 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.86: +8 -0 lines
Diff to previous 1.86 (colored)

implement generic xfs_btree_split

Make the btree split 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:32198a by kenmcd.

  implement generic xfs_btree_split

Revision 1.86 / (download) - annotate - [select for diffs], Wed Sep 24 16:25:18 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.85: +1 -0 lines
Diff to previous 1.85 (colored)

implement generic xfs_btree_lshift

Make the btree left shift 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:32197a by kenmcd.

  implement generic xfs_btree_lshift

Revision 1.85 / (download) - annotate - [select for diffs], Wed Sep 24 16:24:27 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.84: +7 -0 lines
Diff to previous 1.84 (colored)

implement generic xfs_btree_rshift

Make the btree right shift 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:32196a by kenmcd.

  implement generic xfs_btree_rshift

Revision 1.84 / (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.83: +14 -0 lines
Diff to previous 1.83 (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.83 / (download) - annotate - [select for diffs], Wed Sep 24 16:22:40 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.82: +1 -0 lines
Diff to previous 1.82 (colored)

implement generic xfs_btree_updkey

From: Dave Chinner <dgc@sgi.com>

Note that there are many > 80 char lines introduced due to the
xfs_btree_key casts.  But the places where this happens is throw-away
code once the whole btree code gets merged into a common implementation.

The same is true for the temporary xfs_alloc_log_keys define to the new
name.  All old users will be gone after a few patches.


[hch: split out from bigger patch and minor adaptions]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32193a by kenmcd.

  implement generic xfs_btree_updkey

Revision 1.82 / (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.81: +11 -0 lines
Diff to previous 1.81 (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.81 / (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.80: +1 -0 lines
Diff to previous 1.80 (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.80 / (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.79: +10 -0 lines
Diff to previous 1.79 (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.79 / (download) - annotate - [select for diffs], Wed Sep 24 16:19:01 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.78: +13 -0 lines
Diff to previous 1.78 (colored)

add helpers for addressing entities inside a btree block

Add new helpers in xfs_btree.c to find the record, key and block pointer
entries inside a btree block.  To implement this genericly the ->get_maxrecs
methods and two new xfs_btree_ops entries for the key and record sizes are
used.  Also add a big comment describing how the addressing inside a btree
block works.

Note that these helpers are unused until users are introduced in the next
patches and this patch will thus cause some harmless compiler warnings.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32189a by kenmcd.

  add helpers for addressing entities inside a btree block

Revision 1.78 / (download) - annotate - [select for diffs], Wed Sep 24 16:18:09 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.77: +3 -0 lines
Diff to previous 1.77 (colored)

add get_maxrecs btree operation

Factor xfs_btree_maxrecs into a per-btree operation.

The get_maxrecs method is based on a patch from Dave Chinner.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32188a by kenmcd.

  add get_maxrecs btree operation

Revision 1.77 / (download) - annotate - [select for diffs], Wed Sep 24 16:17:16 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.76: +19 -0 lines
Diff to previous 1.76 (colored)

make btree tracing generic

Make the existing bmap btree tracing generic so that it applies to all
btree types.

Some fragments lifted from a patch by Dave Chinner.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32187a by kenmcd.

  make btree tracing generic

Revision 1.76 / (download) - annotate - [select for diffs], Wed Sep 24 16:16:20 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.75: +28 -0 lines
Diff to previous 1.75 (colored)

add new btree statistics

From: Dave Chinner <dgc@sgi.com>

Introduce statistics coverage of all the btrees and cover
all the btree operations, not just some.

Invaluable for determining test code coverage of all the btree
operations....


Signed-off-by: Dave Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32184a by kenmcd.

  add new btree statistics

Revision 1.75 / (download) - annotate - [select for diffs], Wed Sep 24 16:15:31 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.74: +54 -43 lines
Diff to previous 1.74 (colored)

refactor btree validation helpers

Move the various btree validation helpers around in xfs_btree.c so that
they are close to each other and in common #ifdef DEBUG sections.

Also add a new xfs_btree_check_ptr helper to check a btree ptr that
can be either long or short form.

Split out from a bigger patch from Dave Chinner with various small
changes applied by me.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32183a by kenmcd.

  refactor btree validation helpers

Revision 1.74 / (download) - annotate - [select for diffs], Wed Sep 24 16:14:41 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.73: +1 -14 lines
Diff to previous 1.73 (colored)

refactor xfs_btree_readahead

From: Dave Chinner <dgc@sgi.com>

Refactor xfs_btree_readahead to make it more readable:

 (a) remove the inline xfs_btree_readahead wrapper and move all checks out
     of line into the main routine.
 (b) factor out helpers for short/long form btrees
 (c) move check for root in inodes from the callers into xfs_btree_readahead


[hch: split out from a big patch and minor cleanups]


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32182a by kenmcd.

  refactor xfs_btree_readahead

Revision 1.73 / (download) - annotate - [select for diffs], Wed Sep 24 16:13:51 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.72: +1 -5 lines
Diff to previous 1.72 (colored)

add a long pointers flag to xfs_btree_cur

Add a flag to the xfs btree cursor when using long (64bit) block pointers
instead of checking btnum == XFS_BTNUM_BMAP.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32181a by kenmcd.

  add a long pointers flag to xfs_btree_cur

Revision 1.72 / (download) - annotate - [select for diffs], Wed Sep 24 16:13:01 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.71: +5 -0 lines
Diff to previous 1.71 (colored)

make btree root in inode support generic

The bmap btree is rooted in the inode and not in a disk block.  Make the
support for this feature more generic by adding a btree flag to for this
feature instead of relying on the XFS_BTNUM_BMAP btnum check.

Also clean up xfs_btree_get_block where this new flag is used.

Based upon a patch from Dave Chinner.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32180a by kenmcd.

  make btree root in inode support generic

Revision 1.71 / (download) - annotate - [select for diffs], Wed Sep 24 16:12:11 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.70: +25 -0 lines
Diff to previous 1.70 (colored)

add generic btree types

Add generic union types for btree pointers, keys and records.  The generic
btree pointer contains either a 32 and 64bit big endian scalar for short
and long form btrees, and the key and record contain the relevant type for
each possible btree.

Split out from a bigger patch from Dave Chinner and simplified a little
further.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32178a by kenmcd.

  add generic btree types

Revision 1.70 / (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.69: +6 -14 lines
Diff to previous 1.69 (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.69 / (download) - annotate - [select for diffs], Wed Sep 24 16:10:24 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.68: +1 -6 lines
Diff to previous 1.68 (colored)

kill struct xfs_btree_hdr

This type is only embedded in struct xfs_btree_block and never used
directly.  By moving the fields directly into struct xfs_btree_block
a lot of the macros for struct xfs_btree_sblock and struct xfs_btree_lblock
can be used for struct xfs_btree_block too now which helps greatly
with some of the migrations during implementing the generic btree code.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32174a by kenmcd.

  kill struct xfs_btree_hdr

Revision 1.68 / (download) - annotate - [select for diffs], Tue Jul 29 15:56:36 2008 UTC (9 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.67: +2 -6 lines
Diff to previous 1.67 (colored)

Use the same btree_cur union member for alloc and inobt trees.

The alloc and inobt btree use the same agbp/agno pair in the btree_cur
union.  Make them use the same bc_private.a union member so that code
for these two short form btree implementations can be shared.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31788a by kenmcd.

  use the same btree_cur union member for alloc and inobt trees

Revision 1.67 / (download) - annotate - [select for diffs], Fri Nov 2 03:09:06 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.66: +2 -0 lines
Diff to previous 1.66 (colored)

Fix up sparse warnings.

These are mostly locking annotations, marking things static,
casts where needed and declaring stuff in header files.
Merge of xfs-linux-melb:xfs-kern:30002a by kenmcd.

  Fix up sparse warnings.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jun 20 06:08:26 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.65: +8 -24 lines
Diff to previous 1.65 (colored)

Simplify XFS min/max macros.
Merge of xfs-linux-melb:xfs-kern:28945a by kenmcd.

  Use min_t/max_t instead of open coding min/max comparisons.

Revision 1.65 / (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.64: +3 -3 lines
Diff to previous 1.64 (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.64 / (download) - annotate - [select for diffs], Fri Aug 4 13:20:29 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63 (colored)

endianess annotate XFS_BMAP_BROOT_PTR_ADDR
Make sure it returns a __be64 and let the callers use the proper macros.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:26560a by kenmcd.

  endianess annotate XFS_BMAP_BROOT_PTR_ADDR
  Make sure it returns a __be64 and let the callers use the proper macros.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Aug 4 13:18:57 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.62: +3 -0 lines
Diff to previous 1.62 (colored)

add xfs_btree_check_lptr_disk variant which handles endian conversion

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:26558a by kenmcd.

  add xfs_btree_check_lptr_disk variant which handles endian conversion

Revision 1.62 / (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.61: +1 -1 lines
Diff to previous 1.61 (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.61 / (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.60: +26 -29 lines
Diff to previous 1.60 (colored)

Endianess annotations for various allocator data structures

Revision 1.60 / (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.59: +12 -26 lines
Diff to previous 1.59 (colored)

Update license/copyright notices to match the prefered SGI boilerplate.
Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.

Revision 1.59 / (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.58: +14 -106 lines
Diff to previous 1.58 (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.58 / (download) - annotate - [select for diffs], Wed May 18 09:29:33 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.57: +0 -10 lines
Diff to previous 1.57 (colored)

mark various symbols static

Patch from Adrian Bunk

Revision 1.57 / (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.56: +592 -0 lines
Diff to previous 1.56 (colored)

The Big Move
linux/fs/xfs/xfs_btree.h 1.55 Renamed to xfs_btree.h

Revision 1.56 / (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.55: +0 -592 lines
Diff to previous 1.55 (colored)

Nuke

Revision 1.55 / (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.54: +80 -80 lines
Diff to previous 1.54 (colored)

Whitespace cleanup
Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)

Revision 1.54 / (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.53: +7 -2 lines
Diff to previous 1.53 (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 macros that return EFSCORRUPTED

Revision 1.53 / (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.52: +94 -94 lines
Diff to previous 1.52 (colored)

whitespace cleanup

Revision 1.52 / (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.51: +1 -1 lines
Diff to previous 1.51 (colored)

Update copyright dates

Revision 1.51 / (download) - annotate - [select for diffs], Tue Apr 3 17:32:55 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.50: +15 -1 lines
Diff to previous 1.50 (colored)

Avoid a function call based on kernel profiling showing it up

Revision 1.50 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.49: +11 -11 lines
Diff to previous 1.49 (colored)

use xfs.h, remove all traces of SIM, push extern declarations into headers,
dead code removal.

Revision 1.49 / (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.48: +26 -13 lines
Diff to previous 1.48 (colored)

Updated copyright and license notices, ready for open source release
Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
CVS Tags: DELETE
Changes since 1.47: +11 -16 lines
Diff to previous 1.47 (colored)

Encumbrance review done.
Add copyright and license words consistent with GPL.
Refer to http://fsg.melbourne.sgi.com/reviews/ for details.

There is a slight change in the license terms and conditions words
to go with the copyrights, so most of the files are not getting
new GPL's, just updated versions ... but there are 20-30 more files
here as well.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jan 3 21:41:53 2000 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.46: +24 -1 lines
Diff to previous 1.46 (colored)

Encumbrance review done.  Add copyright and license words consistent with GPL.

Revision 1.46 / (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.45: +3 -3 lines
Diff to previous 1.45 (colored)

virtualize interface to buffer data

Revision 1.45 / (download) - annotate - [select for diffs], Wed Nov 17 19:22:23 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.44: +18 -18 lines
Diff to previous 1.44 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.44 / (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.43: +5 -2 lines
Diff to previous 1.43 (colored)

Add casts to make this compile cleanly -64.
pv: 617654

Revision 1.43 / (download) - annotate - [select for diffs], Sun Dec 21 17:58:40 1997 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.42: +10 -6 lines
Diff to previous 1.42 (colored)

Add the buffer pointer to xfs_btree_check_sblock, xfs_btree_check_lblock,
and xfs_btree_check_block, so it can trace failures on the buffer
without having to figure out if there is a buffer.
pv: 556753
rv: ram@cray.com

Revision 1.42 / (download) - annotate - [select for diffs], Sat Mar 15 00:41:38 1997 UTC (20 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.41: +54 -27 lines
Diff to previous 1.41 (colored)

Error detection/recovery enhancements.  Check more result codes from
btree operations, returning corruption if bad results.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jan 30 02:56:01 1997 UTC (20 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.40: +4 -3 lines
Diff to previous 1.40 (colored)

Change interface to xfs_btree_dup_cursor for error recovery.
Error recovery source cleanup.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jul 4 01:48:25 1996 UTC (21 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored)

Move the lowspace indicator into the flist structure, so
it can be seen across multiple xfs_bmapi calls in the same transaction
(bug 396248).

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jan 16 03:54:32 1996 UTC (21 years, 9 months ago) by ack
Branch: MAIN
Changes since 1.38: +9 -2 lines
Diff to previous 1.38 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_btree.h,v
> ----------------------------
> revision 1.39
> date: 1996/01/10 21:06:31;  author: ajs;  state: Exp;  lines: +9 -2
> 326000 Change prototype for xfs_btree_del_cursor() and
> add defines for the values of that parameter.
> =============================================================================

Revision 1.38 / (download) - annotate - [select for diffs], Wed Aug 16 23:49:10 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Change offset tables from ints to shorts to save space.
Make xfs_magics array constant.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Aug 16 05:46:06 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.36: +61 -1 lines
Diff to previous 1.36 (colored)

Turn some macros into functions for 32-bit kernels, to save some memory.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jun 8 18:35:42 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.35: +35 -2 lines
Diff to previous 1.35 (colored)

Add btree block readahead.

Revision 1.35 / (download) - annotate - [select for diffs], Tue May 9 21:21:27 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.34: +8 -6 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Thu Apr 13 03:15:00 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.33: +7 -5 lines
Diff to previous 1.33 (colored)

First cut at disk error handling

Revision 1.33 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:15 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.32: +29 -21 lines
Diff to previous 1.32 (colored)

Add an #ident line.
Use struct xxx * instead of xxx_t * in xfs header files, so there are
fewer inter-header dependencies.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 22 20:46:58 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.31: +8 -1 lines
Diff to previous 1.31 (colored)

Fix bugs 263156, 263632 - enable 64-bit file sizes in 64-bit kernels.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 31 21:06:18 1995 UTC (22 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored)

Change the XFS_BTREE_BLOCK_MAXRECS macro to avoid compiler warnings.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 31 18:58:22 1995 UTC (22 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29 (colored)

Warning elimination: remove unused variables, tag some routines ARGSUSED,
add return statements, ifdef out some code.

Revision 1.29 / (download) - annotate - [select for diffs], Wed May 18 16:34:08 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

Add lowspace argument & cursor field (change wasdel to flags bits),
so lowspace algorithm gets propagated everywhere.

Revision 1.28 / (download) - annotate - [select for diffs], Wed May 4 00:20:52 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.27: +6 -0 lines
Diff to previous 1.27 (colored)

Add support for inode btree.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 28 01:24:40 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26 (colored)

Add wasdel field to bmap cursor, use it in bmap btree code.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 23 17:57:40 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.25: +4 -5 lines
Diff to previous 1.25 (colored)

Add maxrecs argument to XFS_BTREE_REC_ADDR, XFS_BTREE_KEY_ADDR, and
XFS_BTREE_PTR_ADDR to allow optimization in cases where the value
has been precomputed.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 22 22:58:05 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.24: +7 -7 lines
Diff to previous 1.24 (colored)

Change variable names from buf to bp to avoid global buf; also change
...buf to ...bp for consistency.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 17 23:34:25 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.23: +228 -123 lines
Diff to previous 1.23 (colored)

Change "functional" macros' names from lower to uppercase, for consistency
with everything else.

Add comments and clean up function prototypes.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Apr 14 22:50:47 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Turn some more code on in #ifdef DEBUG instead of XFSDEBUG.
Fix some uses of NULLFSBLOCK to NULLFILEOFF or NULLDFSBNO.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 12 01:16:41 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.21: +7 -4 lines
Diff to previous 1.21 (colored)

Split xfs_fsblock_t into multiple types.
Use mp instead of sbp in all the address macros.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Apr 9 19:01:15 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

Rewrite base address calculation macros so bmap btree root (on-disk)
can have fewer fields.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Apr 1 23:14:08 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.19: +1 -0 lines
Diff to previous 1.19 (colored)

Add allocated field to bmap btree cursors, to keep track of indirect blocks.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 18 00:45:09 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.18: +3 -0 lines
Diff to previous 1.18 (colored)

Add min and max routines for ag block numbers.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Feb 10 21:12:56 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

Change flist variables to be local structures instead of pointers,
since they now contain a count and pointer to the items instead of just
the pointer.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 2 20:19:13 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.16: +136 -24 lines
Diff to previous 1.16 (colored)

Fix lint problems.  Clean up formatting

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jan 19 00:29:29 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.15: +1 -0 lines
Diff to previous 1.15 (colored)

Add bmap freelist to the cursor for bmap btrees.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 7 22:13:55 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.14: +8 -5 lines
Diff to previous 1.14 (colored)

Move agbuf, agno in cursor to the bc_private.a area (alloc btree only).

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 5 01:33:40 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Use new buffer cache interfaces.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 30 21:51:38 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.12: +16 -52 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Tue Dec 28 06:43:47 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.11: +105 -15 lines
Diff to previous 1.11 (colored)

Convert to using two separate btree header block structures, with long
block pointers for BMAP btrees.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 27 22:24:01 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

Split allocation group header into two buffers; make superblock one
buffer long instead of one block long.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 23 01:59:48 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.9: +1 -0 lines
Diff to previous 1.9 (colored)

Add xfs_btree_getblk routine for where we don't need bread.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 21 02:52:23 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

Add needed parentheses in xfs_buf_to_block.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 29 21:30:56 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.7: +0 -1 lines
Diff to previous 1.7 (colored)

Remove inode btree.  Change bmap record packing/unpacking scheme.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 19 21:40:06 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.6: +14 -0 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:40:42 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.5: +8 -2 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], Sat Nov 13 00:41:45 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)

New macro XFS_BTREE_ROOT_PTR_ADDR.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 12 18:49:33 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Thu Nov 11 01:20:32 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Add support for packed and unpacked bmap btree records.

Use i_broot field of incode inode to point to bmap btree root.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 9 01:40:58 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.1: +56 -6 lines
Diff to previous 1.1 (colored)

More stuff in btree.[ch].  Structure field name changes.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Nov 6 22:22:34 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>