CVS log for xfs-linux/xfs_da_btree.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.184 / (download) - annotate - [select for diffs], Wed Oct 15 15:39:14 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.183: +5 -0 lines
Diff to previous 1.183 (colored)

Account for allocated blocks when expanding directories

When we create a directory, we reserve a number of blocks for
the maximum possible expansion of of the directory due to
various btree splits, freespace allocation, etc. Unfortunately,
each allocation is not reflected in the total number of blocks
still available to the transaction, so the maximal reservation
is used over and over again.

This leads to problems where an allocation group has only
enough blocks for *some* of the allocations required for the
directory modification. After the first N allocations, the
remaining blocks in the allocation group drops below the total
reservation, and subsequent allocations fail because the allocator
will not allow the allocation to proceed if the AG does not have
the enough blocks available for the entire allocation total.

This results in an ENOSPC occurring after an allocation has
already occurred. This results in aborting the directory
operation (leaving the directory in an inconsistent state)
and cancelling a dirty transaction, which results in a filesystem
shutdown.

Avoid the problem by reflecting the number of blocks allocated in
any directory expansion in the total number of blocks available to
the modification in progress. This prevents a directory modification
from being aborted part way through with an ENOSPC.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:32340a by kenmcd.

  Account for allocated blocks when expanding directories

Revision 1.183 / (download) - annotate - [select for diffs], Tue Aug 19 15:46:54 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.182: +7 -7 lines
Diff to previous 1.182 (colored)

convert beX_add to beX_add_cpu (new common API)

remove beX_add functions and replace all uses with beX_add_cpu

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Merge of xfs-linux-melb:xfs-kern:31920a by kenmcd.

  convert beX_add to beX_add_cpu (new common API)

Revision 1.182 / (download) - annotate - [select for diffs], Wed Jun 25 04:16:47 2008 UTC (9 years, 4 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.181: +1 -1 lines
Diff to previous 1.181 (colored)

streamline init/exit path

Currently the xfs module init/exit code is a mess.  It's farmed out
over a lot of function with very little error checking.  This patch
makes sure we propagate all initialization failures properly and clean
up after them.  Various runtime initializations are replaced with
compile-time initializations where possible to make this easier.  The
exit path is similarly consolidated.

There's now split out function to create/destroy the kmem zones and
alloc/free the trace buffers.  I've also changed the ktrace
allocations to KM_MAYFAIL and handled errors resulting from that.

And yes, we really should replace the XFS_*_TRACE ifdefs with a single
XFS_TRACE..

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31354a by kenmcd.

Revision 1.181 / (download) - annotate - [select for diffs], Wed Jun 25 04:15:46 2008 UTC (9 years, 4 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.180: +1 -1 lines
Diff to previous 1.180 (colored)

Undoes mod:     xfs-linux-melb:xfs-kern:31210a
streamline init/exit path

Currently the xfs module init/exit code is a mess.  It's farmed out
over a lot of function with very little error checking.  This patch
makes sure we propagate all initialization failures properly and clean
up after them.  Various runtime initializations are replaced with
compile-time initializations where possible to make this easier.  The
exit path is similarly consolidated.

There's now split out function to create/destroy the kmem zones and
alloc/free the trace buffers.  I've also changed the ktrace
allocations to KM_MAYFAIL and handled errors resulting from that.

And yes, we really should replace the XFS_*_TRACE ifdefs with a single
XFS_TRACE..

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31353a by kenmcd.

Revision 1.180 / (download) - annotate - [select for diffs], Mon May 26 03:28:21 2008 UTC (9 years, 5 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.179: +1 -1 lines
Diff to previous 1.179 (colored)

xiaki pmod2git xfs-linux-melb:xfs-kern:31210a
Merge of xfs-linux-melb:xfs-kern:31210a by kenmcd.

Revision 1.179 / (download) - annotate - [select for diffs], Wed May 21 04:23:47 2008 UTC (9 years, 5 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.178: +1 -1 lines
Diff to previous 1.178 (colored)

Add op_flags field and helpers to xfs_da_args

The end of the xfs_da_args structure has 4 unsigned char fields for
true/false information on directory and attr operations using the
xfs_da_args structure.

The following converts these 4 into a op_flags field that uses the
first 4 bits for these fields and allows expansion for future
operation information (eg. case-insensitive lookup request).

Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31206a by kenmcd.

  Convert discrete xfs_da_args flags into flag bits

Revision 1.178 / (download) - annotate - [select for diffs], Wed May 21 04:22:46 2008 UTC (9 years, 5 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.177: +22 -0 lines
Diff to previous 1.177 (colored)

Name operation vector for hash and compare

Adds two pieces of functionality for the basis of case-insensitive
support in XFS:

1.  A comparison result enumerated type: xfs_dacmp. It represents an
    exact match, case-insensitive match or no match at all. This patch
    only implements different and exact results.

2.  xfs_nameops vector for specifying how to perform the hash generation
    of filenames and comparision methods. In this patch the hash vector
    points to the existing xfs_da_hashname function and the comparison
    method does a length compare, and if the same, does a memcmp and
    return the xfs_dacmp result.

All filename functions that use the hash (create, lookup remove, rename,
etc) now use the xfs_nameops.hashname function and all directory lookup
functions also use the xfs_nameops.compname function.

The lookup functions also handle case-insensitive results even though
the default comparison function cannot return that. And important
aspect of the lookup functions is that an exact match always has
precedence over a case-insensitive. So while a case-insensitive match
is found, we have to keep looking just in case there is an exact
match. In the meantime, the info for the first case-insensitive match
is retained if no exact match is found.

Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31205a by kenmcd.

  Default nameops vector

Revision 1.177 / (download) - annotate - [select for diffs], Fri May 9 04:27:47 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.176: +11 -11 lines
Diff to previous 1.176 (colored)

Remove unused arg from kmem_free()

kmem_free() function takes (ptr, size) arguments but doesn't
actually use second one.

This patch removes size argument from all callsites.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Merge of xfs-linux-melb:xfs-kern:31050a by kenmcd.

  Remove unused arg from kmem_free()

Revision 1.176 / (download) - annotate - [select for diffs], Fri Sep 21 06:14:35 2007 UTC (10 years, 1 month ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.175: +5 -8 lines
Diff to previous 1.175 (colored)

Unwrap xfs_dabuf_global_lock

Un-obfuscate dabuf_global_lock, remove mutex_lock->spin_lock
macros, call spin_lock directly, remove extraneous cookie
holdover from old xfs code, and change lock type to spinlock_t.

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

  Unwrap xfs_dabuf_global_lock

Revision 1.175 / (download) - annotate - [select for diffs], Thu Aug 2 15:59:05 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.174: +0 -1 lines
Diff to previous 1.174 (colored)

fix sparse shadowed variable warnings

 - in xfs_probe_cluster rename the inner len to pg_len.  There's no harm
   here because the outer len isn't used after the inner len comes into
   existance but it keeps the code clean.
 - in xfs_da_do_buf remove the inner i because they don't overlap
   and they are both the same type.

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

  Fix shadowed var in xfs_da_do_buf.

Revision 1.174 / (download) - annotate - [select for diffs], Wed Feb 7 02:51:56 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.173: +0 -15 lines
Diff to previous 1.173 (colored)

Remove a bunch of unused functions from XFS.

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

  Remove unused functions.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.173 / (download) - annotate - [select for diffs], Tue Dec 12 02:58:53 2006 UTC (10 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.172: +1 -2 lines
Diff to previous 1.172 (colored)

fix sparse warning in xfs_da_btree.c
Merge of xfs-linux-melb:xfs-kern:27702a by kenmcd.

Revision 1.172 / (download) - annotate - [select for diffs], Fri Aug 18 04:04:43 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.171: +18 -15 lines
Diff to previous 1.171 (colored)

Minor code rearranging and cleanup to prevent some coverity false positives.
Merge of xfs-linux-melb:xfs-kern:26805a by kenmcd.

Revision 1.171 / (download) - annotate - [select for diffs], Thu Jun 15 03:58:11 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.170: +28 -157 lines
Diff to previous 1.170 (colored)

Remove version 1 directory code.  Never functioned on Linux, just pure bloat.
Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.

Revision 1.170 / (download) - annotate - [select for diffs], Sat Apr 22 03:51:51 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (colored)

endianess annotations for xfs_dir_leaf_entry_t

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Merge of xfs-linux-melb:xfs-kern:25808a by kenmcd.

  endianess annotations for xfs_dir_leaf_entry_t

Revision 1.169 / (download) - annotate - [select for diffs], Sat Apr 22 03:51:05 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.168: +1 -1 lines
Diff to previous 1.168 (colored)

endianess annotations for xfs_dir_leaf_hdr_t

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Merge of xfs-linux-melb:xfs-kern:25807a by kenmcd.

  endianess annotations for xfs_dir_leaf_hdr_t

Revision 1.168 / (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.167: +5 -4 lines
Diff to previous 1.167 (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.
Provide extra parameter for xfs_bmapi().

Revision 1.167 / (download) - annotate - [select for diffs], Thu Mar 23 02:48:21 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.166: +1 -1 lines
Diff to previous 1.166 (colored)

We really suck at spulling.  Thanks to Chris Pascoe for fixing all these typos.
Merge of xfs-linux-melb:xfs-kern:25539a by kenmcd.

Revision 1.166 / (download) - annotate - [select for diffs], Fri Mar 17 14:48:35 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.165: +69 -70 lines
Diff to previous 1.165 (colored)

endianess annotations for xfs_da_node_hdr_t

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

  endianess annotations for xfs_da_node_hdr_t

Revision 1.165 / (download) - annotate - [select for diffs], Fri Mar 17 14:47:48 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.164: +43 -43 lines
Diff to previous 1.164 (colored)

endianess annotations for xfs_da_node_entry_t

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

  endianess annotations for xfs_da_node_entry_t

Revision 1.164 / (download) - annotate - [select for diffs], Fri Mar 17 14:41:01 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.163: +99 -107 lines
Diff to previous 1.163 (colored)

endianess annotations for xfs_da_blkinfo_t

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

  endianess annotations for xfs_da_blkinfo_t

Revision 1.163 / (download) - annotate - [select for diffs], Fri Mar 17 14:39:27 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.162: +1 -1 lines
Diff to previous 1.162 (colored)

endianess annotations for xfs_dir2_leaf_entry_t

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

  endianess annotations for xfs_dir2_leaf_entry_t

Revision 1.162 / (download) - annotate - [select for diffs], Fri Mar 17 14:38:40 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored)

endianess annotations for xfs_dir2_leaf_hdr_t

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

  endianess annotations for xfs_dir2_leaf_hdr_t

Revision 1.161 / (download) - annotate - [select for diffs], Fri Mar 17 14:34:11 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.160: +1 -1 lines
Diff to previous 1.160 (colored)

endianess annotations for xfs_dir2_free_hdr_t

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

Revision 1.160 / (download) - annotate - [select for diffs], Fri Mar 17 14:33:26 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.159: +1 -1 lines
Diff to previous 1.159 (colored)

endianess annotations for xfs_dir2_data_hdr structure.
Merge of xfs-linux-melb:xfs-kern:25484a by kenmcd.

Revision 1.159 / (download) - annotate - [select for diffs], Wed Nov 2 16:40:48 2005 UTC (11 years, 11 months ago) by yingping
Branch: MAIN
Changes since 1.158: +2 -1 lines
Diff to previous 1.158 (colored)

Fixed the inconsistency between attribute b-tree intermidiate node and leaf blocks. The problem cam from xfsqa test 117.
Enabled useextra flag for attribute fork in v2 directory format.

Revision 1.158 / (download) - annotate - [select for diffs], Wed Oct 26 03:53:56 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.157: +1 -13 lines
Diff to previous 1.157 (colored)

Remove an unhelpful ifdef, the comment above the routine explains the purpose well enough here.
Merge of xfs-linux-melb:xfs-kern:24214a by kenmcd.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.156: +12 -26 lines
Diff to previous 1.156 (colored)

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

Revision 1.156 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.155: +9 -11 lines
Diff to previous 1.155 (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.155 / (download) - annotate - [select for diffs], Mon Sep 19 03:45:19 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.154: +1 -1 lines
Diff to previous 1.154 (colored)

Make some extended attributes routines take const parameters, for the FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:23845a by kenmcd.

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

Move some code around to prepare for the upcoming extended attributes format change (attr2).
Merge of xfs-linux-melb:xfs-kern:23833a by kenmcd.

Revision 1.153 / (download) - annotate - [select for diffs], Wed Jun 22 03:43:05 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.152: +9 -11 lines
Diff to previous 1.152 (colored)

Merge back mainline 2.6 changes - qsort and ROTL transition.
Merge of xfs-linux-melb:xfs-kern:22938a by kenmcd.

Revision 1.152 / (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.151: +6 -3 lines
Diff to previous 1.151 (colored)

mark various symbols static

Patch from Adrian Bunk

Revision 1.151 / (download) - annotate - [select for diffs], Fri Jan 14 11:57:33 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.150: +11 -11 lines
Diff to previous 1.150 (colored)

Remove INT_ZERO and INT_ISZERO
0 is 0 in all endianess variant.  No need for INT_ZERO and INT_ISZERO

Revision 1.150 / (download) - annotate - [select for diffs], Thu Jul 8 07:42:57 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.149: +1 -1 lines
Diff to previous 1.149 (colored)

sparse: fix uses of null in place of zero and vice versa.  From Chris Wedgwood.

Revision 1.149 / (download) - annotate - [select for diffs], Mon May 10 06:21:15 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.148: +4 -4 lines
Diff to previous 1.148 (colored)

Fix some compiler warnings, mark cmn_err as printflike.

Revision 1.148 / (download) - annotate - [select for diffs], Sat Nov 22 22:22:46 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.147: +2 -2 lines
Diff to previous 1.147 (colored)

Switch from using dev_t to xfs_buftarg_t for representing the devices underneath XFS

Revision 1.147 / (download) - annotate - [select for diffs], Mon Oct 20 04:21:43 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.146: +0 -7 lines
Diff to previous 1.146 (colored)

Fix build with tracing enabled, couple of portability macros, move externs into headers.

Revision 1.146 / (download) - annotate - [select for diffs], Fri Aug 29 04:24:27 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.145: +1 -5 lines
Diff to previous 1.145 (colored)

Alternate, cleaner fix for the ENOSPC/ACL lookup problem

Revision 1.145 / (download) - annotate - [select for diffs], Tue Aug 12 06:51:56 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.144: +15 -12 lines
Diff to previous 1.144 (colored)

Fix up the default ACL inherit case, in the presence of failure during applying the default ACL (eg. from ENOSPC).

Revision 1.144 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.143: +2658 -0 lines
Diff to previous 1.143 (colored)

The Big Move
linux/fs/xfs/xfs_da_btree.c 1.142 Renamed to xfs_da_btree.c

Revision 1.143 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 4 months ago) by cattelan
Branch: MAIN
CVS Tags: DENUKE
Changes since 1.142: +0 -2658 lines
Diff to previous 1.142 (colored)

Nuke

Revision 1.142 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.141: +34 -1 lines
Diff to previous 1.141 (colored)

Rework the way xfs includes xfs_<blah>.h headers.
This reduces a lot of the compile dependenciesÂ,
and should reduce some of the "recompile all" situations.

Revision 1.141 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.140: +9 -9 lines
Diff to previous 1.140 (colored)

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

Revision 1.140 / (download) - annotate - [select for diffs], Thu Mar 6 04:28:53 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.139: +2 -2 lines
Diff to previous 1.139 (colored)

Fix up print format compiler warnings.

Revision 1.139 / (download) - annotate - [select for diffs], Wed Mar 5 14:26:06 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored)

Spelling fixes from 2.5.64

Revision 1.138 / (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.137: +55 -13 lines
Diff to previous 1.137 (colored)

Add error reporting calls in error paths that return EFSCORRUPTED
Merge of irix6.5f:irix:136445a by sandeen.

  Merge of grove2-6520stage:irix:136445a by roehrich.
  Merge of grove2:irix:136445a by roehrich.
  Add error reporting calls in error paths that return EFSCORRUPTED and
  cmn_error messages for additional information.

Revision 1.137 / (download) - annotate - [select for diffs], Wed Oct 23 04:21:07 2002 UTC (15 years ago) by kaos
Branch: MAIN
Changes since 1.136: +26 -26 lines
Diff to previous 1.136 (colored)

Undoes mod:     2.4.x-xfs:slinx:130826a
Revert STATIC->static change

Revision 1.136 / (download) - annotate - [select for diffs], Wed Oct 23 03:54:05 2002 UTC (15 years ago) by kaos
Branch: MAIN
Changes since 1.135: +26 -26 lines
Diff to previous 1.135 (colored)

Replace STATIC with static in xfs code

Revision 1.135 / (download) - annotate - [select for diffs], Mon Oct 21 05:23:40 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.134: +9 -5 lines
Diff to previous 1.134 (colored)

Fix xfs_da_node_split handling of dir/attr buffers for filesystems built
with a directory block size larger than the filesystem (and hence attr)
blocksize.  This does not affect filesystems built with default mkfs.xfs
parameters, and only hits when a large number of attributes are set on
an inode.
Fix a problem in the dabuf (dir/attr buffer) layer which deals with
calculating when a block should be split in two.  Previously there was
only one constant used in the test.  When V2 directories have a block
size larger than the fs block size, the constant is too large for
extended attributes.  So, replace this constant with two, and make the
dabuf code use the correct one based upon being used for attributes or
directories.

Revision 1.134 / (download) - annotate - [select for diffs], Wed Oct 9 03:06:48 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.133: +20 -20 lines
Diff to previous 1.133 (colored)

Global search and replace of the b* memory routines to their mem* equivalents.
(bcopy->memcopy, ovbcopy->memmove, bzero->memset, bcmp->memcmp).

Revision 1.133 / (download) - annotate - [select for diffs], Fri Sep 20 08:20:25 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.132: +5 -9 lines
Diff to previous 1.132 (colored)

Undoes mod:     2.4.x-xfs:slinx:127949a
Undo extended attribute/directory block splitting change.

Revision 1.132 / (download) - annotate - [select for diffs], Fri Sep 20 05:03:21 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.131: +9 -5 lines
Diff to previous 1.131 (colored)

Fix xfs_da_node_split handling of dir/attr buffers for filesystems built
with a directory block size larger than the filesystem (and hence attr)
blocksize.  This does not affect filesystems built with default mkfs.xfs
parameters, and only hits when a large number of attributes are set on
an inode.
Fix a problem in the dabuf (dir/attr buffer) layer which deals with
calculating when a block should be split in two.  Previously there was
only one constant used in the test.  When V2 directories have a block
size larger than the fs block size, the constant is too large for
extended attributes.  So, replace this constant with two, and make the
dabuf code use the correct one based upon being used for attributes or
directories.

Revision 1.131 / (download) - annotate - [select for diffs], Wed Jul 31 21:19:39 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored)

move from xfs_zone back to kmem_zone

Revision 1.130 / (download) - annotate - [select for diffs], Tue Jul 23 16:35:37 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.129: +1 -4 lines
Diff to previous 1.129 (colored)

remove unused xfs_bmapi vars

Revision 1.129 / (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.128: +28 -28 lines
Diff to previous 1.128 (colored)

whitespace cleanup

Revision 1.128 / (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.127: +1 -1 lines
Diff to previous 1.127 (colored)

Update copyright dates

Revision 1.127 / (download) - annotate - [select for diffs], Fri May 31 00:44:20 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.126: +12 -12 lines
Diff to previous 1.126 (colored)

kdev_t changes to sync up the 2.4 code base with the 2.5 code (incl.
use of the kdev compat macros, removed pb_dev from page_buf_t, made
XFS_BUF_TARGET use match up with current 2.5, removed unused q_dev
field from xfs_dquot).

Revision 1.126 / (download) - annotate - [select for diffs], Tue May 21 22:32:45 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.125: +3 -1 lines
Diff to previous 1.125 (colored)

Don't panic on the xfs_buftrace error, BUG() so we can still use kdb

Revision 1.125 / (download) - annotate - [select for diffs], Mon Apr 1 22:46:06 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.124: +3 -3 lines
Diff to previous 1.124 (colored)

Optimize endian flipping code when setting to or testing for zero
Use INT_ZERO and INT_ISZERO instead of INT_SET and INT_GET

Revision 1.124 / (download) - annotate - [select for diffs], Mon Apr 1 21:22:14 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.123: +1 -1 lines
Diff to previous 1.123 (colored)

endian optimization of pre-converting some variables got a little carried away
magic1 is for data->hdr.magic, not free->hdr.magic

Revision 1.123 / (download) - annotate - [select for diffs], Thu Mar 28 03:18:22 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

ensure unsigned long used to store irq state

Revision 1.122 / (download) - annotate - [select for diffs], Wed Mar 20 21:20:51 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.121: +11 -8 lines
Diff to previous 1.121 (colored)

optimize some endian flipping code

Revision 1.121 / (download) - annotate - [select for diffs], Tue Feb 5 21:52:14 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.120: +8 -9 lines
Diff to previous 1.120 (colored)

remove KM_SLEEP_IO flag

Revision 1.120 / (download) - annotate - [select for diffs], Wed Jan 30 22:16:11 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.119: +1 -1 lines
Diff to previous 1.119 (colored)

Explicitly set uchar_t when we need it (rather than -funsigned-char)

Revision 1.119 / (download) - annotate - [select for diffs], Mon Jul 2 18:15:34 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.118: +9 -9 lines
Diff to previous 1.118 (colored)

More memory hardening for XFS - add more cases which can use different
memory allocation flags based on being called from within a transaction
or not.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Apr 16 22:49:09 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored)

Add new memory flag to indicate IO during allocation is OK

Revision 1.117 / (download) - annotate - [select for diffs], Thu Apr 12 23:35:02 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored)

tidy up spurious whitespace & offsetting uncleanliness for those
routines which I'm syncing with userspace at the moment.

Revision 1.116 / (download) - annotate - [select for diffs], Wed Apr 11 01:44:54 2001 UTC (16 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.115: +25 -43 lines
Diff to previous 1.115 (colored)

Get rid of the last compiler warning OFF flags

Revision 1.115 / (download) - annotate - [select for diffs], Wed Dec 6 04:48:11 2000 UTC (16 years, 10 months ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.114: +1 -6 lines
Diff to previous 1.114 (colored)

replace kdb reference & include.

Revision 1.114 / (download) - annotate - [select for diffs], Tue Oct 24 07:02:41 2000 UTC (17 years ago) by kaos
Branch: MAIN
Changes since 1.113: +1 -0 lines
Diff to previous 1.113 (colored)

Remove unnecessary include asm/kdb.h

Revision 1.113 / (download) - annotate - [select for diffs], Tue Sep 26 02:03:57 2000 UTC (17 years, 1 month ago) by dxm
Branch: MAIN
Changes since 1.112: +2 -1 lines
Diff to previous 1.112 (colored)

pv 801066

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

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

Revision 1.111 / (download) - annotate - [select for diffs], Wed Jul 26 16:03:54 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.110: +20 -11 lines
Diff to previous 1.110 (colored)

Endian fixes for the "attributes" fork.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jul 20 17:56:03 2000 UTC (17 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.109: +2 -1 lines
Diff to previous 1.109 (colored)

Don't include kdb if kdb isn't installed or config'ed on

Revision 1.109 / (download) - annotate - [select for diffs], Tue Jun 27 06:46:06 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.108: +1 -29 lines
Diff to previous 1.108 (colored)

remove unused xfs_da_bwrite routine.  fix typo in a comment.

Revision 1.108 / (download) - annotate - [select for diffs], Fri Jun 9 06:40:03 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.107: +10 -10 lines
Diff to previous 1.107 (colored)

Merge of 2.3.99pre2-xfs:slinx:63026a originally by cattelan on 05/30/00
  Masive type update 
  all daddr_t -> xfs_daddr_t
  caddr_t -> xfs_caddr_t
  off_t   -> xfs_off_t
  ino_t   -> xfs_ino_t
  off64_t -> xfs_off_t 
  Removed need for file xfs_to_linux.h and lunux_to_xfs.h

Revision 1.107 / (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.106: +211 -211 lines
Diff to previous 1.106 (colored)

ARCH: Support big-endian ONLY
Merge of 2.3.99pre2-xfs:slinx:62350a by ananth.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Jun 9 03:34:10 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.105: +1 -0 lines
Diff to previous 1.105 (colored)

architecture mods - dir 1 leaf/node
Merge of 2.3.99pre2-xfs:slinx:57832a by ananth.

Revision 1.105 / (download) - annotate - [select for diffs], Fri Jun 9 03:31:04 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.104: +215 -204 lines
Diff to previous 1.104 (colored)

architecture mods - dir2 btree
Merge of 2.3.99pre2-xfs:slinx:57465a by ananth.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Jun 9 03:30:38 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.103: +1 -1 lines
Diff to previous 1.103 (colored)

Merge of 2.3.99pre2-xfs:slinx:57288a by ananth.

  typo

Revision 1.103 / (download) - annotate - [select for diffs], Fri Jun 9 03:29:54 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.102: +6 -6 lines
Diff to previous 1.102 (colored)

dir2 architecture mods
Merge of 2.3.99pre2-xfs:slinx:57286a by ananth.

Revision 1.102 / (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.101: +25 -11 lines
Diff to previous 1.101 (colored)

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

Revision 1.101 / (download) - annotate - [select for diffs], Fri Jun 9 02:10:00 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
CVS Tags: DELETE
Changes since 1.100: +1 -1 lines
Diff to previous 1.100 (colored)

Merge of 2.3.99pre2-xfs:slinx:46541a by ananth.

  Merge of 2.3.42-xfs:slinx:46541a by ananth.
  Header file cleanup
  removed the last of the
  #if defined(__linux__)
  #include <xfs_linux>
  #endif
  All os specific include file switches should now done
  in xfs_os_defs.h

Revision 1.100 / (download) - annotate - [select for diffs], Fri Jun 9 01:50:04 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.99: +2 -8 lines
Diff to previous 1.99 (colored)

Merge of 2.3.99pre2-xfs:slinx:46428a by ananth.

  Merge of 2.3.42-xfs:slinx:46428a by ananth.
  remove unused include files.

Revision 1.99 / (download) - annotate - [select for diffs], Fri Jun 9 00:03:30 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.98: +18 -0 lines
Diff to previous 1.98 (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.98 / (download) - annotate - [select for diffs], Mon Jan 24 21:38:02 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.97: +0 -0 lines
Diff to previous 1.97 (colored)

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:32978a created by dwd on 11/10/99
  Initialize bp to 0 to prevent speculative execution t5wb.

Revision 1.97 / (download) - annotate - [select for diffs], Fri Dec 10 20:20:52 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

bwrite -> XFS_bwrite
bawrite -> XFS_bawrite
biodone -> xfs_biodone
bwait -> xfs_bwait
incore -> xfs_incore
incore_relse -> xfs_incore_relse
incore_match -> xfs_incore_match
baread -> xfs_baread

Revision 1.96 / (download) - annotate - [select for diffs], Thu Nov 25 06:29:10 1999 UTC (17 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.95: +1 -1 lines
Diff to previous 1.95 (colored)

Last of the b_flags abstraction.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Nov 23 20:52:36 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

make all xfs buffer access be buftarg_t based

Revision 1.94 / (download) - annotate - [select for diffs], Tue Nov 23 16:21:39 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.93: +11 -10 lines
Diff to previous 1.93 (colored)

hide b_bcount and b_blkno

Revision 1.93 / (download) - annotate - [select for diffs], Mon Nov 22 19:39:07 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.92: +8 -8 lines
Diff to previous 1.92 (colored)

virtualize interface to buffer data

Revision 1.92 / (download) - annotate - [select for diffs], Fri Nov 19 21:43:49 1999 UTC (17 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

Start of b_flags virtualization 

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

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.90 / (download) - annotate - [select for diffs], Mon Nov 15 23:07:16 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.89: +1 -1 lines
Diff to previous 1.89 (colored)

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:32978a created by dwd on 11/10/99
  Initialize bp to 0 to prevent speculative execution t5wb.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Oct 5 05:18:56 1999 UTC (18 years ago) by cattelan
Branch: MAIN
Changes since 1.88: +1 -0 lines
Diff to previous 1.88 (colored)

gcc does not accecpt /* NOREACHED */ added return 0 

Revision 1.88 / (download) - annotate - [select for diffs], Wed Aug 18 17:43:46 1999 UTC (18 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.87: +4 -1 lines
Diff to previous 1.87 (colored)

First compiling version of mkfs unsing XFS libsim.
Mostly just addtions of cut up irix header files.

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

Add version 2 directory support.
Use xfs_dabufs for all directory and attribute buffering.
Remove some dead debugging code.

Revision 1.86 / (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.85: +11 -12 lines
Diff to previous 1.85 (colored)

Add casts to make this compile cleanly -64.
Fix an unused-variable warning.
pv: 617654

Revision 1.85 / (download) - annotate - [select for diffs], Wed Dec 2 06:10:21 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.84: +62 -33 lines
Diff to previous 1.84 (colored)

Log smaller pieces of blocks when possible.
Clean up some bcopy calls (casts, ovbcopy).
Don't initialize all of new blocks.
pv: 653725

Revision 1.84 / (download) - annotate - [select for diffs], Wed Dec 2 01:33:48 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.83: +35 -5 lines
Diff to previous 1.83 (colored)

Improve performance of xfs_da_hashname by unrolling the main loop
to process one word (4 bytes) at a time.  Leave the old slow version
there under ifdef.  The new function computes the same value as the old.
pv: 653719

Revision 1.83 / (download) - annotate - [select for diffs], Fri Jan 16 22:16:39 1998 UTC (19 years, 9 months ago) by mad
Branch: MAIN
Changes since 1.82: +5 -2 lines
Diff to previous 1.82 (colored)

pv: 539225
rv: kayuri, yohn
Set buffer usage type (b_bvtype).

Revision 1.82 / (download) - annotate - [select for diffs], Thu Jan 8 01:12:37 1998 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.81: +29 -23 lines
Diff to previous 1.81 (colored)

Change xfs_da_read_buf to xfs_da_get_buf in cases where
we don't need the buffer data since we're just going to
binval it.  Change signature of xfs_da_get_buf to support this.
rv: rcc@engr
pv: 558120

Revision 1.81 / (download) - annotate - [select for diffs], Sat Dec 20 00:57:32 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.80: +8 -4 lines
Diff to previous 1.80 (colored)

Add error injection points for places where we read
metadata blocks (and check magic numbers).
pv: 556405
rv: mostek@cray.com

Revision 1.80 / (download) - annotate - [select for diffs], Fri Sep 12 17:45:08 1997 UTC (20 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Add buffer targeting stuff

Revision 1.79 / (download) - annotate - [select for diffs], Fri Sep 12 00:48:25 1997 UTC (20 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.78: +22 -8 lines
Diff to previous 1.78 (colored)

Speed up xfs_da_swap_lastblock by making it use the btree blocks
to find the right child at each level.  This means we don't dive down
to the target level and then do a left-to-right scan, which can take
a long time.  Part of bug 519072.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Jul 14 14:21:11 1997 UTC (20 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.77: +34 -6 lines
Diff to previous 1.77 (colored)

Change code used to link old block zero at its new block location in
the btree. Previous code did not cope with a double split operation
and caused a corrupted forw and back pointer to get put in the list.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jul 9 17:36:45 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.76: +160 -50 lines
Diff to previous 1.76 (colored)

Remove length argument from xfs_da_grow_inode and xfs_da_shrink_inode,
since it's always 1 and the >1 case doesn't work right.
Add routine xfs_da_swap_lastblock called from xfs_da_shrink_inode when
we get ENOSPC back from xfs_bunmapi, to recover and continue.
Don't log di_size (inode core) in grow and shrink unless it actually changed.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Apr 30 21:50:20 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.75: +3 -0 lines
Diff to previous 1.75 (colored)

da_read_buf error handling change.

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

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

Revision 1.74 / (download) - annotate - [select for diffs], Tue Mar 4 01:01:31 1997 UTC (20 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

Change EDIRCORRUPTED to EFSCORRUPTED, generalizing the error message.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Feb 11 19:24:32 1997 UTC (20 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.72: +1 -9 lines
Diff to previous 1.72 (colored)

Remove include of sys/grio.h to fix build errors.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Jan 25 02:48:27 1997 UTC (20 years, 9 months ago) by sup
Branch: MAIN
Changes since 1.71: +6 -3 lines
Diff to previous 1.71 (colored)

Part of XFS I/O error handling changes.
xfs_trans_read_buf() signature changed.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Dec 12 01:46:43 1996 UTC (20 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.70: +1 -1 lines
Diff to previous 1.70 (colored)

Fix some warnings: remove unused variables, add ARGSUSED and REFERENCED,
add casts.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Dec 6 22:05:49 1996 UTC (20 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.69: +3 -1 lines
Diff to previous 1.69 (colored)

Fold in ficus changes not yet merged in:
revision 1.70
date: 1996/11/21 23:31:10;  author: doucette;  state: Exp;  lines: +3 -1
Add option of mappedbno being -2 for xfs_da_read_buf, meaning that
holes are allowed without generating an error.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Apr 26 22:54:51 1996 UTC (21 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.68: +0 -8 lines
Diff to previous 1.68 (colored)

turn removal code back on for simulation

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

Changes for vnodes with behaviors.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Mar 5 07:44:20 1996 UTC (21 years, 7 months ago) by limes
Branch: MAIN
Changes since 1.66: +1 -0 lines
Diff to previous 1.66 (colored)

fix some compiler messages

Revision 1.66 / (download) - annotate - [select for diffs], Fri Feb 16 21:37:26 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.65: +2 -1 lines
Diff to previous 1.65 (colored)

Use XFS_ERROR macro where it was missing in several places.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Feb 9 01:14:14 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64 (colored)

Move the include of sys/debug.h under #define _KERNEL for compile errors.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Dec 13 06:41:23 1995 UTC (21 years, 10 months ago) by ack
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_da_btree.c,v
> ----------------------------
> revision 1.65
> date: 1995/12/08 19:40:12;  author: curtis;  state: Exp;  lines: +1 -1
> Reset a debug parameter to a rational value (debuger kernels only).
> =============================================================================

Revision 1.63 / (download) - annotate - [select for diffs], Tue Dec 5 09:29:22 1995 UTC (21 years, 10 months ago) by ack
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_da_btree.c,v
> ----------------------------
> revision 1.64
> date: 1995/11/30 02:26:40;  author: curtis;  state: Exp;  lines: +1 -1
> Return an error if bmap() fails on a file-relative block number.  This rtn
> is only called with a file-relative block (ie: needs bmap()'ing) for blocks
> that already exist, so fail if bmap() fails.
> =============================================================================

Revision 1.62 / (download) - annotate - [select for diffs], Thu Nov 23 04:17:50 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.61: +242 -52 lines
Diff to previous 1.61 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_da_btree.c,v
> ----------------------------
> revision 1.63
> date: 1995/11/22 20:17:52;  author: curtis;  state: Exp;  lines: +242 -52
> Implement a double-split operation in the Btree (this affects both attribute
> lists and directories), and update the fsck-like debug code to check the
> usage of "remote value" blocks as well as the existing Btree structures.
> =============================================================================

Revision 1.61 / (download) - annotate - [select for diffs], Tue Oct 31 06:13:24 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.60: +125 -105 lines
Diff to previous 1.60 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_da_btree.c,v
> ----------------------------
> revision 1.62
> date: 1995/10/28 02:11:12;  author: curtis;  state: Exp;  lines: +125 -105
> Changed interfaces on many routines and calls as a result of major rework
> in the attribute code to use the transaction mechanisms correctly.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_da_btree.c,v
> ----------------------------
> revision 1.61
> date: 1995/10/13 00:28:19;  author: doucette;  state: Exp;  lines: +1 -0
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_da_btree.c,v
> ----------------------------
> revision 1.61
> date: 1995/10/13 00:28:19;  author: doucette;  state: Exp;  lines: +1 -0
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_da_btree.c,v
> ----------------------------
> revision 1.60
> date: 1995/09/26 17:35:07;  author: doucette;  state: Exp;  lines: +20 -13
> Fix assertion errors in the new xfs_da_read_buf, xfs_da_reada_buf
> implementations - these were there for a couple of weeks, so they're
> not too easy to hit.  Non-DEBUG kernels are not affected.
> ----------------------------
> revision 1.59
> date: 1995/09/23 23:45:38;  author: doucette;  state: Exp;  lines: +52 -38
> Use new simpler bmap routine xfs_bmapi_single.  Fix a bug in
> recent changes in xfs_da_read_buf which turned reading a hole
> into EDIRCORRUPTED; this was wrong.
> =============================================================================

Revision 1.57 / (download) - annotate - [select for diffs], Fri Sep 22 09:47:39 1995 UTC (22 years, 1 month ago) by ack
Branch: MAIN
Changes since 1.56: +77 -73 lines
Diff to previous 1.56 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_da_btree.c,v
> ----------------------------
> revision 1.58
> date: 1995/09/22 02:24:05;  author: doucette;  state: Exp;  lines: +65 -62
> Add type xfs_dablk_t for directory and attribute (file) block numbers,
> and use it where appropriate.
> ----------------------------
> revision 1.57
> date: 1995/09/19 00:07:32;  author: doucette;  state: Exp;  lines: +12 -11
> Clean up some of the directory/attribute error handling, so
> we'll return EDIRCORRUPTED instead of panicing when we get
> bad block numbers in directory metadata.
> =============================================================================

Revision 1.56 / (download) - annotate - [select for diffs], Thu Sep 7 04:59:19 1995 UTC (22 years, 1 month ago) by orosz
Branch: MAIN
Changes since 1.55: +1 -2 lines
Diff to previous 1.55 (colored)

Change an error check to an assert in xfs_da_shrink_inode.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Sep 4 02:05:35 1995 UTC (22 years, 1 month ago) by curtis
Branch: MAIN
Changes since 1.54: +0 -148 lines
Diff to previous 1.54 (colored)

Removed ad-hoc tracing stuff in favor of ktrace facility.

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

Add includes of xfs_macros.h, xfs_bit.h.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jun 20 18:48:18 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.52: +63 -34 lines
Diff to previous 1.52 (colored)

Add a translated block number argument to xfs_da_read_buf, for use by
the readahead path.  Add xfs_da_reada_buf routine - readahead for
directory blocks.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jun 14 02:27:28 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.51: +12 -1 lines
Diff to previous 1.51 (colored)

Add a trap on EIO and handle another case in the "fsck" code.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jun 12 03:07:18 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.50: +97 -64 lines
Diff to previous 1.50 (colored)

Changed ENXIO to ENOATTR for attribute support, cleanups, and made the "fsck"
checking code fully support "remote" attribute values.

Revision 1.50 / (download) - annotate - [select for diffs], Fri May 26 22:38:51 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49 (colored)

Move the include of buf.h under #define _KERNEL so -DDEBUG simulation
will compile.

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

Fix #ifndef SIM so the simulation will deal with multi-level btree
directories correctly.  Without this mrmkfs_xfs will silently fail.

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 22 23:19:46 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

Get the XFS_BMAPI_ATTRFORK flag right in the call to xfs_bunmapi
where we delete attribute space.

Revision 1.47 / (download) - annotate - [select for diffs], Sat May 20 02:37:33 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.46: +2 -3 lines
Diff to previous 1.46 (colored)

Make btree-checking code not look at the data-fork size.

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

Use XFS_BMAPI_AFLAG macro to make XFS_BMAPI_ATTRFORK flag appear,
instead of or'ing in whichfork.

Revision 1.45 / (download) - annotate - [select for diffs], Fri May 19 02:01:14 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored)

Change name of xfs_da_name_t to xfs_da_args_t, plus some interface changes
and some cleanups.

Revision 1.44 / (download) - annotate - [select for diffs], Wed May 17 23:10:26 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.43: +145 -79 lines
Diff to previous 1.43 (colored)

Start making use of dual-fork inodes, change interface to first_unused()
to find a hole of a given size, cleanups, fixes to fsck-code, etc.

Revision 1.43 / (download) - annotate - [select for diffs], Tue May 9 21:21:29 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (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.42 / (download) - annotate - [select for diffs], Tue May 9 00:20:35 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored)

Cast some function arguments.

Revision 1.41 / (download) - annotate - [select for diffs], Mon May 8 22:39:18 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.40: +26 -0 lines
Diff to previous 1.40 (colored)

Add #ifdef SIM's around the calls to attribute routines. Keeps the libsim
code smaller for mkfs.

Revision 1.40 / (download) - annotate - [select for diffs], Mon May 8 19:55:08 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.39: +1085 -1719 lines
Diff to previous 1.39 (colored)

Massive restructuring (and file rename) to make the Btree code common
between the existing directory support and the new attribute support.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Apr 26 22:49:40 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.38: +2 -0 lines
Diff to previous 1.38 (colored)

Fixing up recovery from disk errors.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Apr 13 03:15:04 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.37: +232 -97 lines
Diff to previous 1.37 (colored)

First cut at disk error handling

Revision 1.37 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:22 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.36: +331 -336 lines
Diff to previous 1.36 (colored)

Use the new typedef names for all the directory code's structs.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Feb 22 20:47:14 1995 UTC (22 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.35: +29 -29 lines
Diff to previous 1.35 (colored)

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

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

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

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jan 31 00:03:45 1995 UTC (22 years, 9 months ago) by tap
Branch: MAIN
Changes since 1.33: +6 -0 lines
Diff to previous 1.33 (colored)

in the XFS simulator, define _KERNEL before including params.h. This
causes the off_t type to be defined as a long long rather than a long.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Dec 22 00:36:47 1994 UTC (22 years, 10 months ago) by tap
Branch: MAIN
Changes since 1.32: +10 -7 lines
Diff to previous 1.32 (colored)

cleanup code so file will compile without warnings.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Oct 18 21:18:15 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored)

Add some more asserts in leaf_moveents to try and catch going past
the end of a kmem_alloced buffer.

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

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

Revision 1.30 / (download) - annotate - [select for diffs], Wed Sep 21 00:29:08 1994 UTC (23 years, 1 month ago) by curtis
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Fixed an off-by-one in an ASSERT and a Btree entry remove op.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Sep 17 02:51:17 1994 UTC (23 years, 1 month ago) by curtis
Branch: MAIN
Changes since 1.28: +29 -14 lines
Diff to previous 1.28 (colored)

Fixed calls to logging code to reduce the bytes logged to (pretty much) just
those changed.  Should speed up logging, especially on large-block F/S's.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Sep 17 00:49:19 1994 UTC (23 years, 1 month ago) by curtis
Branch: MAIN
Changes since 1.27: +8 -0 lines
Diff to previous 1.27 (colored)

Fixed "firstused" problem by simply wasting last byte of a 64KB
directory leaf block.  Only do anything special on whole-block
initialization, then drop size by 1 if it is too big.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 16 22:58:19 1994 UTC (23 years, 1 month ago) by curtis
Branch: MAIN
Changes since 1.26: +39 -40 lines
Diff to previous 1.26 (colored)

Really do the last checkin, p_integrate undid my changes for me.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Sep 16 22:47:22 1994 UTC (23 years, 1 month ago) by curtis
Branch: MAIN
Changes since 1.25: +0 -0 lines
Diff to previous 1.25 (colored)

Back out "firstused" change, it effectively rolled the filesystem format,
too late for that now.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Sep 15 23:07:52 1994 UTC (23 years, 1 month ago) by curtis
Branch: MAIN
Changes since 1.24: +40 -39 lines
Diff to previous 1.24 (colored)

Changed "firstused" to be relative to top of block header so that we
don't wrap off the end on 64KB blocksize filesystems.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jul 29 00:16:02 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.23: +6 -6 lines
Diff to previous 1.23 (colored)

Fix uninitialized variable problem.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jul 22 20:19:24 1994 UTC (23 years, 3 months ago) by curtis
Branch: MAIN
Changes since 1.22: +145 -73 lines
Diff to previous 1.22 (colored)

Fixed a bug in Btree join and added more debug code to the "fsck" stuff.

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

Reorder include files with xfs_alloc.h before xfs_bmap.h since
xfs_bmap.h now mentions xfs_alloctype_t.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 19 01:37:26 1994 UTC (23 years, 3 months ago) by curtis
Branch: MAIN
Changes since 1.20: +181 -210 lines
Diff to previous 1.20 (colored)

Move length of filename from variable structure into unused
space in the entry index array.  Also encapsulate debugging
"fsck" code so that multiple directories don't stop each other's
checking structures.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 18 20:23:18 1994 UTC (23 years, 3 months ago) by curtis
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 (colored)

When we split an intermediate node as a result of splitting the last
subblock of that intermediate node, leave the old child block in the
first half, but put the new child node into the second half of the node.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 16 02:17:30 1994 UTC (23 years, 3 months ago) by curtis
Branch: MAIN
Changes since 1.18: +1250 -458 lines
Diff to previous 1.18 (colored)

Make directories work in the face of duplicate hash values.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jun 9 19:38:41 1994 UTC (23 years, 4 months ago) by wei_hu
Branch: MAIN
Changes since 1.17: +0 -2 lines
Diff to previous 1.17 (colored)

Eliminate include of <sys/uuid.h>.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 7 22:17:42 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.16: +9 -1 lines
Diff to previous 1.16 (colored)

Fix up d_off fields in values returned by getdents so nfs and local
syscalls will both be happy.

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

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

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

Add new include file xfs_ialloc_btree.h.  Caused some include reordering.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Apr 26 00:38:24 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.13: +14 -30 lines
Diff to previous 1.13 (colored)

Use XFS_ERROR to return error codes.
Remove extra copies of #include lines.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 22 22:58:07 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.12: +11 -2 lines
Diff to previous 1.12 (colored)

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

Add asserts for xfs_dir_read_buf, xfs_dir_get_buf calls returning null.
Make it possible for xfs_get_read_buf to return null for getdents case.

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

add "sys/uuid.h" include file.

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

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

Revision 1.10 / (download) - annotate - [select for diffs], Fri Apr 8 04:28:45 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.9: +10 -4 lines
Diff to previous 1.9 (colored)

Make xfs_dir_join shrink the inode!  Else we end up with a directory
that should be just a leaf but has multiple blocks.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 15 22:32:55 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.8: +7 -38 lines
Diff to previous 1.8 (colored)

Fix up xfs_dir_grow_inode and xfs_dir_shrink_inode.  Get rid of the
ifdef GROT directory freespace code, and allow holes in directory files
instead.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 4 18:14:30 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.7: +27 -0 lines
Diff to previous 1.7 (colored)

rearranged order of include files: grio.h needs to be before xfs_inode.h

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 2 23:12:58 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.6: +43 -0 lines
Diff to previous 1.6 (colored)

Add getdents (readdir) support.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Mar 2 00:40:42 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.5: +23 -0 lines
Diff to previous 1.5 (colored)

Add code to print out directories.

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

Fix uninitialized variable in xfs_dir_leaf_figure_balance.
Fix offset for logging calculations in xfs_dir_fixhashpath.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 26 21:26:46 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.3: +113 -28 lines
Diff to previous 1.3 (colored)

Add fields to the args structures to support bmap calls.
Move prototypes for static functions from the .h file to here.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 26 00:09:18 1994 UTC (23 years, 8 months ago) by wei_hu
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

Add #include of xfs_bmap.h

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 24 23:42:05 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.1: +197 -156 lines
Diff to previous 1.1 (colored)

Integrate into kernel and simulation environments.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 19 00:34:42 1994 UTC (23 years, 9 months ago) by curtis
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>