CVS log for xfs-linux/xfs_bmap.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.105 / (download) - annotate - [select for diffs], Wed Oct 1 04:30:30 2008 UTC (9 years ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.104: +32 -29 lines
Diff to previous 1.104 (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.104 / (download) - annotate - [select for diffs], Wed Jun 25 06:16:08 2008 UTC (9 years, 3 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.103: +12 -1 lines
Diff to previous 1.103 (colored)

Restore the lowspace extent allocator algorithm

When free space is running low the extent allocator may choose to
allocate an extent from an AG without leaving sufficient space for
a btree split when inserting the new extent (see where
xfs_bmap_btalloc() sets minleft to 0).  In this case the allocator
will enable the lowspace algorithm which is supposed to allow further
allocations (such as btree splits and newroots) to allocate from
sequential AGs.  This algorithm has been broken for a long time
and this patch restores its behaviour.
Merge of xfs-linux-melb:xfs-kern:31358a by kenmcd.

  Restore the lowspace extent allocator algorithm

Revision 1.103 / (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.102: +1 -1 lines
Diff to previous 1.102 (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.102 / (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.101: +2 -0 lines
Diff to previous 1.101 (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.101 / (download) - annotate - [select for diffs], Fri Aug 24 16:03:11 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.100: +1 -1 lines
Diff to previous 1.100 (colored)

decontaminate vnode operations from behavior details

All vnode ops now take struct xfs_inode pointers and the behaviour
related glue is split out into methods of it's own.  This required
fixing xfs_create/mkdir/symlink to not mess with the inode pointer
but rather use a separate boolean for error handling.  Thanks to
Dave Chinner for that fix.


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

  convert vnode ops to take xfs_inode pointers and separate out
  behaviour related glue.

Revision 1.100 / (download) - annotate - [select for diffs], Thu Aug 2 16:04:40 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.99: +1 -1 lines
Diff to previous 1.99 (colored)

split ondisk vs incore versions of xfs_bmbt_rec_t

currently xfs_bmbt_rec_t is used both for ondisk extents as well as
host-endian ones.  This patch adds a new xfs_bmbt_rec_host_t for the
native endian ones and cleans up the fallout. There have been various
endianess issues in the tracing / debug printf code that are fixed
by this patch.

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

  split ondisk vs incore versions of xfs_bmbt_rec_t

Revision 1.99 / (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.98: +4 -2 lines
Diff to previous 1.98 (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.98 / (download) - annotate - [select for diffs], Tue Feb 6 14:35:53 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.97: +0 -1 lines
Diff to previous 1.97 (colored)

Remove unused argument to xfs_bmap_finish

The firstblock argument to xfs_bmap_finish is not used by
that function. Remove it and cleanup the code a bit.

Patch provided by Eric Sandeen.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:28034a by kenmcd.

  Remove unused firstblock argument from xfs_bmap_finish.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.97 / (download) - annotate - [select for diffs], Thu Apr 13 10:13:05 2006 UTC (11 years, 6 months ago) by olaf
Branch: MAIN
Changes since 1.96: +20 -2 lines
Diff to previous 1.96 (colored)

Add parameters to xfs_bmapi() and xfs_bunmapi() to have them
report the range spanned by modifications to the in-core extent
map.  Add XFS_BUNMAPI() and XFS_SWAP_EXTENTS() macros that call
xfs_bunmapi() and xfs_swap_extents() via the ioops vector.
Change all calls that may modify the in-core extent map for the
data fork to go through the ioops vector.  This allows a cache
of extent map data to be kept in sync.
Define the xfs_extdelta_t type.  Add parameter to xfs_bmapi() and
xfs_bunmapi() prototypes.

Revision 1.96 / (download) - annotate - [select for diffs], Wed Mar 29 00:28:36 2006 UTC (11 years, 6 months ago) by alkirkco
Branch: MAIN
Changes since 1.95: +5 -4 lines
Diff to previous 1.95 (colored)

Cleanup comment to remove reference to obsoleted function
xfs_bmap_do_search_extents().
Remove reference to obsoleted function xfs_bmap_do_search_extents().

Revision 1.95 / (download) - annotate - [select for diffs], Tue Mar 28 23:50:15 2006 UTC (11 years, 6 months ago) by alkirkco
Branch: MAIN
Changes since 1.94: +0 -8 lines
Diff to previous 1.94 (colored)

Remove unused/obsoleted function: xfs_bmap_do_search_extents()
Remove obsoleted function parameter: xfs_bmap_do_search_extents()

Revision 1.94 / (download) - annotate - [select for diffs], Fri Mar 3 00:40:32 2006 UTC (11 years, 7 months ago) by alkirkco
Branch: MAIN
Changes since 1.93: +18 -0 lines
Diff to previous 1.93 (colored)

This mod introduces multi-level in-core file extent functionality,
building upon the new layout introduced in mod xfs-linux:xfs-kern:207390a.

The new multi-level extent allocations are only required for heavily
fragmented files, so the old-style linear extent list is used on files
until the extents reach a pre-determined size of 4k. 4k buffers are
used because this is the system page size on Linux i386 and systems
with larger page sizes don't seem to gain much, if anything, by using
their native page size as the extent buffer size. Also, using 4k extent
buffers everywhere provides a consistent interface for CXFS across
different platforms.

The 4k extent buffers are managed by an indirection array (xfs_ext_irec_t)
which is basically just a pointer array with a bit of extra information
to keep track of the number of extents in each buffer as well as the
extent offset of each buffer.

Major changes include:

- Add multi-level in-core file extent functionality to the xfs_iext_
  subroutines introduced in mod:  xfs-linux:xfs-kern:207390a

- Introduce 13 new subroutines which add functionality for multi-level
  in-core file extents:
        xfs_iext_add_indirect_multi()
        xfs_iext_remove_indirect()
        xfs_iext_realloc_indirect()
        xfs_iext_indirect_to_direct()
        xfs_iext_bno_to_irec()
        xfs_iext_idx_to_irec()
        xfs_iext_irec_init()
        xfs_iext_irec_new()
        xfs_iext_irec_remove()
        xfs_iext_irec_compact()
        xfs_iext_irec_compact_pages()
        xfs_iext_irec_compact_full()
        xfs_iext_irec_update_extoffs()
- Move xfs_bmap_do_search_extents() prototype from xfs_bmap_btree.h to
  xfs_bmap.h (which is where it should have gone in the first place)
- Define prototype for new xfs_bmap_search_multi_extents().

Revision 1.93 / (download) - annotate - [select for diffs], Thu Mar 2 23:08:14 2006 UTC (11 years, 7 months ago) by alkirkco
Branch: MAIN
Changes since 1.92: +3 -1 lines
Diff to previous 1.92 (colored)

This mod re-organizes some of the in-core file extent code to prepare
for an upcoming mod which will introduce multi-level in-core extent
allocations. Although the in-core extent management is using a new
code path in this mod, the functionality remains the same.

Major changes include:

- Introduce 10 new subroutines which re-orgainze the existing code but
  do NOT change functionality:
        xfs_iext_get_ext()
        xfs_iext_insert()
        xfs_iext_add()
        xfs_iext_remove()
        xfs_iext_remove_inline()
        xfs_iext_remove_direct()
        xfs_iext_realloc_direct()
        xfs_iext_direct_to_inline()
        xfs_iext_inline_to_direct()
        xfs_iext_destroy()
- Remove 2 subroutines (functionality moved to new subroutines above):
        xfs_iext_realloc() -replaced by xfs_iext_add() and xfs_iext_remove()
        xfs_bmap_insert_exlist() - replaced by xfs_iext_insert()
        xfs_bmap_delete_exlist() - replaced by xfs_iext_remove()
- Replace all hard-coded (indexed) extent assignments with a call to
  xfs_iext_get_ext()
- Replace all extent record pointer arithmetic (ep++, ep--, base + lastx,..)
  with calls to xfs_iext_get_ext()
- Update comments to remove the idea of a single "extent list" and
  introduce "extent record" terminology instead
- Change first parameter of xfs_check_nostate_extents() from an extent pointer
  (*xfs_bmbt_rec_t*) to two parameters: 1) inode fork pointer (xfs_ifork_t*),
  and 2) the index of the extent (xfs_extnum_t). These new parameters are needed
  for the call to xfs_iext_get_ext() in xfs_check_nostate_extents().

Revision 1.92 / (download) - annotate - [select for diffs], Fri Nov 11 14:16:20 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.91: +6 -1 lines
Diff to previous 1.91 (colored)

Implement the di_extsize allocator hint for non-realtime files as well.  Also provides a mechanism for inheriting this property from the parent directory for new files.
Merge of xfs-linux-melb:xfs-kern:24367a by kenmcd.

Revision 1.91 / (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.90: +12 -26 lines
Diff to previous 1.90 (colored)

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

Revision 1.90 / (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.89: +8 -11 lines
Diff to previous 1.89 (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.89 / (download) - annotate - [select for diffs], Fri Sep 16 15:10:21 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.88: +3 -2 lines
Diff to previous 1.88 (colored)

Ondisk format extension for extended attributes (attr2).  Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward.  Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers.  It is self enabling, but can be forced on/off via the attr2/noattr2 mount options.
Merge of xfs-linux-melb:xfs-kern:23835a by kenmcd.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Sep 16 15:09:30 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.87: +0 -0 lines
Diff to previous 1.87 (colored)

Ondisk format extension for extended attributes (attr2).  Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward.  Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers.  It is self enabling, but can be forced on/off via the attr2/noattr2 mount options.
Merge of xfs-linux-melb:xfs-kern:23834a by kenmcd.

Revision 1.87 / (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.86: +0 -13 lines
Diff to previous 1.86 (colored)

mark various symbols static

Patch from Adrian Bunk

Revision 1.86 / (download) - annotate - [select for diffs], Fri Aug 13 05:31:26 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.85: +1 -1 lines
Diff to previous 1.85 (colored)

Use sparse whitespace approach that Al took to be more consistent.  Couple more sparse fixes.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Jun 28 10:03:43 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.84: +1 -1 lines
Diff to previous 1.84 (colored)

sparse: annotate source for user pointers.  From Chris Wedgwood.

Revision 1.84 / (download) - annotate - [select for diffs], Fri May 21 03:30:22 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.83: +0 -7 lines
Diff to previous 1.83 (colored)

Remove xfs_swappable code, its not useful on Linux.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Oct 17 23:08:03 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.82: +28 -35 lines
Diff to previous 1.82 (colored)

Fix build fallout from reordering xfsidbg headers for tracing fixes.

Revision 1.82 / (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.81: +393 -0 lines
Diff to previous 1.81 (colored)

The Big Move
linux/fs/xfs/xfs_bmap.h 1.80 Renamed to xfs_bmap.h

Revision 1.81 / (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.80: +0 -393 lines
Diff to previous 1.80 (colored)

Nuke

Revision 1.80 / (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.79: +32 -32 lines
Diff to previous 1.79 (colored)

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

Revision 1.79 / (download) - annotate - [select for diffs], Tue Mar 18 00:39:31 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.78: +1 -5 lines
Diff to previous 1.78 (colored)

Cleanup/remove a bunch of macros, comments and code.
Remove an unused XFS_BMAPI flag.

Revision 1.78 / (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.77: +50 -50 lines
Diff to previous 1.77 (colored)

whitespace cleanup

Revision 1.77 / (download) - annotate - [select for diffs], Tue Jul 9 20:20:34 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.76: +6 -6 lines
Diff to previous 1.76 (colored)

Change xfs_bmalloca_t to use chars instead of ints to reduce
stack usage; fix up associated functions.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Sep 29 19:03:03 2000 UTC (17 years ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10, Linux-2_4_5-merge
Changes since 1.75: +0 -1 lines
Diff to previous 1.75 (colored)

Merge Irix mod to Back out stripe width alignment

Revision 1.75 / (download) - annotate - [select for diffs], Thu Sep 28 04:14:43 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.74: +10 -0 lines
Diff to previous 1.74 (colored)

make sure we declare all of our routines which other files access. 

Revision 1.74 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.73: +7 -26 lines
Diff to previous 1.73 (colored)

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

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jun 16 20:57:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.72: +2 -1 lines
Diff to previous 1.72 (colored)

Add a "prealloc" variable to the xfs_bmalloca structure.

Revision 1.72 / (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.71: +25 -12 lines
Diff to previous 1.71 (colored)

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

Revision 1.71 / (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.70: +18 -0 lines
Diff to previous 1.70 (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.70 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.69: +4 -0 lines
Diff to previous 1.69 (colored)

Merge from irix/cxfs-f to irix/irix6.5f
Merge of cxfs-f:irix:15011b created by lord on 05/11/99
  Merge from irix/cxfs to irix/cxfs-f
  Merge of cxfs:irix:13423a created by lord on 04/19/99
  CXFS infrastructure checkin

Revision 1.69 / (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.68: +31 -1 lines
Diff to previous 1.68 (colored)

Compile some code out of simulation unless it's repair.
Allow for contiguous (directory) allocations.
Add new interfaces for probing the extent lists for multi-space
directories.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Jun 12 18:16:46 1998 UTC (19 years, 4 months ago) by ram
Branch: MAIN
Changes since 1.67: +17 -1 lines
Diff to previous 1.67 (colored)

Add new routine prototypes.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Feb 20 23:09:20 1998 UTC (19 years, 7 months ago) by rm
Branch: MAIN
Changes since 1.66: +12 -9 lines
Diff to previous 1.66 (colored)

Implement unwritten extent flagging.
rv: doucette@engr, rcc@engr, earsh@engr, kayuri@engr
pv: 705217

Revision 1.66 / (download) - annotate - [select for diffs], Fri Dec 19 19:35:46 1997 UTC (19 years, 10 months ago) by gnuss
Branch: MAIN
Changes since 1.65: +4 -2 lines
Diff to previous 1.65 (colored)

added XFS_BMAPI_RSVBLOCKS flag to allow reserved block allocation

Revision 1.65 / (download) - annotate - [select for diffs], Thu Dec 18 17:01:40 1997 UTC (19 years, 10 months ago) by kcm
Branch: MAIN
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

Change parameter to contain input interface flags.
pv: 545725.
rv: ram@sdiv.cray.com

Revision 1.64 / (download) - annotate - [select for diffs], Fri Feb 21 23:05:50 1997 UTC (20 years, 7 months ago) by rcc
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored)

341879,464898 - add async xfs bmap flag to signal async unbmapi xactions

Revision 1.63 / (download) - annotate - [select for diffs], Mon Sep 30 23:40:24 1996 UTC (21 years ago) by kayuri
Branch: MAIN
Changes since 1.62: +26 -1 lines
Diff to previous 1.62 (colored)

Added new field, aeof, to xfs_bmalloca_t for the stripe alignment - bug 397746.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jul 4 01:48:22 1996 UTC (21 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.61: +6 -4 lines
Diff to previous 1.61 (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.61 / (download) - annotate - [select for diffs], Fri Apr 26 22:54:48 1996 UTC (21 years, 5 months ago) by rcc
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

turn removal code back on for simulation

Revision 1.60 / (download) - annotate - [select for diffs], Mon Apr 1 22:49:20 1996 UTC (21 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Changes for vnodes with behaviors.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Oct 24 07:44:15 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.58: +0 -0 lines
Diff to previous 1.58 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_bmap.h,v
> ----------------------------
> revision 1.58
> date: 1995/10/13 16:11:19;  author: ajs;  state: Exp;  lines: +11 -2
> Put XFS tracing under ifdefs separate from DEBUG
> =============================================================================

Revision 1.58 / (download) - annotate - [select for diffs], Tue Oct 17 08:20:02 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.57: +10 -1 lines
Diff to previous 1.57 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_bmap.h,v
> ----------------------------
> revision 1.58
> date: 1995/10/13 16:11:19;  author: ajs;  state: Exp;  lines: +11 -2
> Put XFS tracing under ifdefs separate from DEBUG
> =============================================================================

Revision 1.57 / (download) - annotate - [select for diffs], Tue Oct 3 04:19:32 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.56: +17 -2 lines
Diff to previous 1.56 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_bmap.h,v
> ----------------------------
> revision 1.57
> date: 1995/09/23 23:45:36;  author: doucette;  state: Exp;  lines: +17 -2
> Add new simplified bmap routine xfs_bmapi_single which does read-only
> one block bmaps at lower cost than xfs_bmapi.
> =============================================================================

Revision 1.56 / (download) - annotate - [select for diffs], Wed Aug 16 05:45:57 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.55: +11 -1 lines
Diff to previous 1.55 (colored)

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

Revision 1.55 / (download) - annotate - [select for diffs], Mon Aug 7 18:29:06 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored)

Rearrange some fields to reduce memory wastage due to alignment.
This is only a stack structure but it still counts.

Revision 1.54 / (download) - annotate - [select for diffs], Sat May 20 02:27:19 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored)

Make xfs_getbmap support both forks.

Revision 1.53 / (download) - annotate - [select for diffs], Sat May 20 00:19:50 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

Fix tracing of bmap extents and bmap btree entries to use correct
fork (data or attribute).

Revision 1.52 / (download) - annotate - [select for diffs], Fri May 19 22:41:53 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.51: +2 -0 lines
Diff to previous 1.51 (colored)

Add XFS_BMAPI_AFLAG macro for xfs_bmapi callers to set XFS_BMAPI_ATTRFORK
or not.

Revision 1.51 / (download) - annotate - [select for diffs], Thu May 18 21:27:01 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.50: +9 -1 lines
Diff to previous 1.50 (colored)

Add xfs_bmap_add_attrfork routine for attribute code to call.

Revision 1.50 / (download) - annotate - [select for diffs], Wed May 17 23:09:20 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.49: +2 -1 lines
Diff to previous 1.49 (colored)

Change interface to first_unused to take a length.  Used to find a hole
of at least a given size.

Revision 1.49 / (download) - annotate - [select for diffs], Tue May 9 22:29:34 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.48: +18 -7 lines
Diff to previous 1.48 (colored)

Add routine xfs_bmap_one_block to be called by xfs_da code, checking
for 1-block (leaf only) files.

Revision 1.48 / (download) - annotate - [select for diffs], Tue May 9 21:21:22 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.47: +11 -6 lines
Diff to previous 1.47 (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.47 / (download) - annotate - [select for diffs], Thu Apr 13 03:14:39 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.46: +30 -18 lines
Diff to previous 1.46 (colored)

First cut at disk error handling

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

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

Revision 1.45 / (download) - annotate - [select for diffs], Thu Feb 23 00:56:58 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.44: +1 -41 lines
Diff to previous 1.44 (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.44 / (download) - annotate - [select for diffs], Wed Feb 22 20:46:38 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.43: +8 -8 lines
Diff to previous 1.43 (colored)

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

Revision 1.43 / (download) - annotate - [select for diffs], Tue Oct 11 22:06:23 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored)

#ifndef SIM code not needed for programs linking with libsim.a, to
make them smaller.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Sep 23 16:45:34 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.41: +1 -0 lines
Diff to previous 1.41 (colored)

Add a local for xfs_bmapi() to count the number of
extents that have been allocated.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Sep 8 03:24:03 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

Change the prototype for xfs_bunmapi().

Revision 1.40 / (download) - annotate - [select for diffs], Fri Sep 2 22:09:51 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.39: +1 -0 lines
Diff to previous 1.39 (colored)

Support for xfs_bmapi's XFS_BMAPI_EXACT flag added: for allocations
converting delayed to real extents, don't expand the allocation to cover
the whole extent.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Sep 2 20:26:26 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Move orig_nmap to top of bmap locals, so the more useful fields now in
the second word are visible after the structure is freed to its zone.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 25 03:27:07 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.37: +6 -5 lines
Diff to previous 1.37 (colored)

Adding an as yet unused bmapi flag XFS_BMAPI_EXACT.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 22 01:14:08 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.36: +41 -1 lines
Diff to previous 1.36 (colored)

Add a kmem zone for bmapi's locals and put all the locals in it.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 15 18:08:04 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.35: +22 -0 lines
Diff to previous 1.35 (colored)

Make arguments to xfs_bmap_alloc into a structure, allocated from the
heap, to save stack space.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jun 14 18:15:14 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.34: +11 -1 lines
Diff to previous 1.34 (colored)

Add xfs_getbmap routine to support fcntl F_GETBMAP.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jun 9 01:17:03 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

Use new log reservation scheme

Revision 1.33 / (download) - annotate - [select for diffs], Thu May 26 23:05:14 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Call xfs_trans_binval to invalidate buffers for blocks that are
now metadata and are or might become user data.

Revision 1.32 / (download) - annotate - [select for diffs], Mon May 23 21:49:24 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

Add define for size of global trace buffer.

Revision 1.31 / (download) - annotate - [select for diffs], Sun May 15 06:03:26 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.30: +6 -4 lines
Diff to previous 1.30 (colored)

Change names of bmap trace data types, to avoid conflict.

Revision 1.30 / (download) - annotate - [select for diffs], Wed May 11 00:43:44 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.29: +23 -0 lines
Diff to previous 1.29 (colored)

Add extent list tracing support: idbg xbxatrace, xbxstrace commands.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Apr 15 20:24:25 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.28: +8 -0 lines
Diff to previous 1.28 (colored)

Compute maximum number of btree levels based on the fs parameters instead
of using a constant worst-case.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Apr 14 00:19:28 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

Add an mp argument to xfs_bmap_add_free, for asserts.

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

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

Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 13 21:03:51 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.25: +20 -0 lines
Diff to previous 1.25 (colored)

Add xfs_bmap_first_unused and xfs_bmap_last_offset, routines for
directory space management to call.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 8 02:33:31 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

Add macro XFS_BMAP_INIT to initialize flist and firstblock, and call it
where we were explicitly bzero'ing before.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 7 21:39:12 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.23: +7 -3 lines
Diff to previous 1.23 (colored)

Revise prototype for xfs_bmap_finish().

Revision 1.23 / (download) - annotate - [select for diffs], Tue Mar 1 22:44:07 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.22: +34 -2 lines
Diff to previous 1.22 (colored)

Add arguments to xfs_bunmapi to support limiting the number of extents
freed in one transaction.

Add comments for function prototypes.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Mar 1 01:32:16 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.21: +8 -1 lines
Diff to previous 1.21 (colored)

Define DELAYSTARTBLOCK and HOLESTARTBLOCK.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Feb 10 21:12:48 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.20: +16 -8 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Tue Feb 8 19:49:40 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.19: +1 -0 lines
Diff to previous 1.19 (colored)

Add XFS_BMAPI_ENTIRE flag for xfs_bmapi callers.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 1 00:18:22 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.18: +10 -286 lines
Diff to previous 1.18 (colored)

Split btree definitions off into xfs_bmap_btree.h.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 29 00:44:49 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored)

Add xbf_efip to bmap_free structures.  Add NULLSTARTBLOCK value.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 19 00:28:50 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.16: +42 -14 lines
Diff to previous 1.16 (colored)

Add comments on prototypes; add new prototypes.

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

New formatting, prototypes.  New allocation-transaction semantics scheme.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 30 21:51:11 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.14: +32 -15 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Tue Dec 28 06:43:32 1993 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.13: +24 -24 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 21 02:52:06 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.12: +49 -3 lines
Diff to previous 1.12 (colored)

Function-ize all the XFS_BMAP_... macros in XFSDEBUG kernels.  Fix bmap
bugs; now we can allocate a three-level bmap btree.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 14 00:33:49 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.11: +11 -8 lines
Diff to previous 1.11 (colored)

Fix the set_all macro to set each word only once, avoiding problems
with compiler reordering of the assignments.  Fix bugs in the
set_startoff and set_startblock macros.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 10 03:06:48 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.10: +10 -2 lines
Diff to previous 1.10 (colored)

Change macros to avoid offsetof where possible, means we don't have to
include stddef.h.   Add XFS_BMAP_EXT_MAXRECS and XFS_BMAP_MAX_NMAP.
Add prototype for xfs_bmap_read_extents.

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

Add mp argument to xfs_bmapi.  Add xfs_bmbt_[gs]et_all macros.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 30 18:20:47 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Fix xfs_bmbt_get_block to set buffer pointer to value or 0.

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

Change bmap record packing/unpacking macros for easier change later.
New inode mapping scheme.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 17 01:40:21 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.6: +18 -29 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Sat Nov 13 00:41:26 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

More/repaired macros.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 12 18:49:10 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.4: +8 -22 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], Thu Nov 11 19:44:52 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.3: +26 -1 lines
Diff to previous 1.3 (colored)

Add XFS_BMAP_BROOT_XXX macros for managing a bmap root
without a cursor.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 11 01:19:51 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.2: +50 -7 lines
Diff to previous 1.2 (colored)

Add support for packed and unpacked bmap btree records.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 9 01:40:49 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.1: +18 -35 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:11:27 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>