CVS log for xfs-linux/xfs_dir2.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.70 / (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.69: +6 -0 lines
Diff to previous 1.69 (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.69 / (download) - annotate - [select for diffs], Tue Jun 3 04:21:05 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.68: +5 -5 lines
Diff to previous 1.68 (colored)

Zero uninitialised xfs_da_args structure in xfs_dir2.c

Fixes a problem in the xfs_dir2_remove and xfs_dir2_replace
paths which intenally call directory format specific lookup
funtions that assume args->cmpresult is zeroed.
Merge of xfs-linux-melb:xfs-kern:31268a by kenmcd.

  Zero uninitialised xfs_da_args structures

Revision 1.68 / (download) - annotate - [select for diffs], Wed May 21 06:14:00 2008 UTC (9 years, 5 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.67: +50 -1 lines
Diff to previous 1.67 (colored)

XFS: ASCII case-insensitive support

Implement ASCII case-insensitive support. It's primary purpose
is for supporting existing filesystems that already use this
case-insensitive mode migrated from IRIX. But, if you only need
ASCII-only case-insensitive support (ie. English only) and will
never use another language, then this mode is perfectly adequate.

ASCII-CI is implemented by generating hashes based on lower-case
letters and doing lower-case compares. It implements a new
xfs_nameops vector for doing the hashes and comparisons for
all filename operations.

To create a filesystem with this CI mode, use:
# mkfs.xfs -n version=ci <device>

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

  Add ASCII CI nameops routines

Revision 1.67 / (download) - annotate - [select for diffs], Wed May 21 06:13:08 2008 UTC (9 years, 5 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.66: +38 -2 lines
Diff to previous 1.66 (colored)

Return case-insensitive match for dentry cache

This implements the code to store the actual filename found
during a lookup in the dentry cache and to avoid multiple entries
in the dcache pointing to the same inode.

To avoid polluting the dcache, we implement a new directory inode
operations for lookup. xfs_vn_ci_lookup() stores the correct case
name in the dcache.

The "actual name" is only allocated and returned for a case-
insensitive match and not an actual match.

Another unusual interaction with the dcache is not storing
negative dentries like other filesystems doing a d_add(dentry, NULL)
when an ENOENT is returned. During the VFS lookup, if a dentry
returned has no inode, dput is called and ENOENT is returned.
By not doing a d_add, this actually removes it completely from
the dcache to be reused. create/rename have to be modified to
support unhashed dentries being passed in.

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

  Add lookup support for returning actual case-preserved name

Revision 1.66 / (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.65: +8 -6 lines
Diff to previous 1.65 (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.65 / (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.64: +7 -5 lines
Diff to previous 1.64 (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.

  Call nameops hash routine

Revision 1.64 / (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.63: +3 -3 lines
Diff to previous 1.63 (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.63 / (download) - annotate - [select for diffs], Wed Apr 9 16:35:28 2008 UTC (9 years, 6 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.62: +28 -34 lines
Diff to previous 1.62 (colored)

remove bhv_vname_t and xfs_rename code
Merge of xfs-linux-melb:xfs-kern:30804a by kenmcd.

  remove bhv_vname_t and xfs_rename code

Revision 1.62 / (download) - annotate - [select for diffs], Fri Feb 22 03:05:49 2008 UTC (9 years, 8 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.61: +1 -1 lines
Diff to previous 1.61 (colored)

remove shouting-indirection macros from xfs_sb.h

Remove macro-to-small-function indirection from xfs_sb.h,
and remove some which are completely unused.

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

  remove shouting-indirection macros from xfs_sb.h

Revision 1.61 / (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.60: +1 -0 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Tue Sep 11 06:11:49 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.59: +1 -1 lines
Diff to previous 1.59 (colored)

clean up vnode/inode tracing

Simplify vnode tracing calls by embedding function name & return addr
in the calling macro.

Also do a lot of vnode->inode renaming for consistency, while
we're at it.

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

  clean up vnode/inode tracing

Revision 1.59 / (download) - annotate - [select for diffs], Fri Aug 24 16:08:41 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58 (colored)

move v_trace from bhv_vnode to xfs_inode

struct bhv_vnode is on it's way out, so move the trace buffer to the
XFS inode.  Note that this makes the tracing macros rather misnamed,
but this kind of fallout will be fixed up incrementally later on.


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

  move v_trace from bhv_vnode to xfs_inode

Revision 1.58 / (download) - annotate - [select for diffs], Fri Aug 24 16:03:11 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.57: +2 -4 lines
Diff to previous 1.57 (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.57 / (download) - annotate - [select for diffs], Thu Aug 23 15:57:59 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.56: +18 -103 lines
Diff to previous 1.56 (colored)

use filldir internally

Currently xfs has a rather complicated internal scheme to allow for
different directory formats in IRIX.  This patch rips all code related
to this out and pushes useage of the Linux filldir callback into the
lowlevel directory code.  This does not make the code any less portable
because filldir can be used to create dirents of all possible variations
(including the IRIX ones as proved by the IRIX binary emulation code
under arch/mips/).

This patch get rid of an unessecary copy in the readdir path, about
400 lines of code and one of the last two users of the uio structure.

This version is updated to deal with dmapi aswell which greatly
simplifies the get_dirattrs code.  The dmapi part has been tested
using the get_dirattrs tools from the xfstest dmapi suite1 with various
small and large directories.


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

  Use the generic filldir directory formatter callbacks rather than
  the complex xfs_uio_move based implementation. Removes a copy
  and simplifies the code greatly.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jun 20 06:09:16 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.55: +6 -6 lines
Diff to previous 1.55 (colored)

Reduce shouting by removing unnecessary macros from dir2 code.

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

  Call inline functions directly rather than the macros that
  wrap them and remove the unneeded macros.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Oct 18 15:42:10 2006 UTC (11 years ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54 (colored)

rename uio_read() to xfs_uio_read()
Merge of xfs-linux-melb:xfs-kern:27231a by kenmcd.

  rename uio_read() to xfs_uio_read()

Revision 1.54 / (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.53: +158 -233 lines
Diff to previous 1.53 (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.53 / (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.52: +4 -3 lines
Diff to previous 1.52 (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.52 / (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.51: +12 -26 lines
Diff to previous 1.51 (colored)

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

Revision 1.51 / (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.50: +7 -14 lines
Diff to previous 1.50 (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.50 / (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.49: +1 -1 lines
Diff to previous 1.49 (colored)

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

Revision 1.49 / (download) - annotate - [select for diffs], Tue Oct 7 21:21:22 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.48: +8 -8 lines
Diff to previous 1.48 (colored)

switch xfs to use linux imode flags internally

Revision 1.48 / (download) - annotate - [select for diffs], Fri Oct 3 15:02:37 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.47: +1 -1 lines
Diff to previous 1.47 (colored)

Code cleanup
Merge of 2.4.x-xfs-kern:slinx:159439a by lord.

  simplify copy interface

Revision 1.47 / (download) - annotate - [select for diffs], Mon Sep 8 03:47:34 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.46: +0 -1 lines
Diff to previous 1.46 (colored)

remove doubly-included header files

Revision 1.46 / (download) - annotate - [select for diffs], Thu Aug 21 19:47:57 2003 UTC (14 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Re-work xfs stats macros to support per-cpu data

Revision 1.45 / (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.44: +860 -0 lines
Diff to previous 1.44 (colored)

The Big Move
linux/fs/xfs/xfs_dir2.c 1.43 Renamed to xfs_dir2.c

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

Nuke

Revision 1.43 / (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.42: +32 -1 lines
Diff to previous 1.42 (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.42 / (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.41: +5 -5 lines
Diff to previous 1.41 (colored)

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

Revision 1.41 / (download) - annotate - [select for diffs], Fri Dec 13 21:27:14 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.40: +2 -6 lines
Diff to previous 1.40 (colored)

remove superlous MAXNAMELEN checks
don't check for MAXNAMELEN in lowlevel directory code - we never enter
it with longer names

Revision 1.40 / (download) - annotate - [select for diffs], Mon Oct 21 05:23:40 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.39: +4 -1 lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Wed Oct 9 03:06:48 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

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

Revision 1.38 / (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.37: +1 -4 lines
Diff to previous 1.37 (colored)

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

Revision 1.37 / (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.36: +4 -1 lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Thu Jul 18 17:35:16 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.35: +11 -11 lines
Diff to previous 1.35 (colored)

update Designated initializer format

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jul 12 21:03:14 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.34: +0 -3 lines
Diff to previous 1.34 (colored)

unneeded cell_capable ifdef

Revision 1.34 / (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.33: +17 -17 lines
Diff to previous 1.33 (colored)

whitespace cleanup

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jun 11 15:27:28 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.32: +4 -104 lines
Diff to previous 1.32 (colored)

remove old mips abi code

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

Update copyright dates

Revision 1.31 / (download) - annotate - [select for diffs], Mon Apr 23 19:52:01 2001 UTC (16 years, 6 months ago) by ananth
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.30: +0 -17 lines
Diff to previous 1.30 (colored)

Remove unused debug code.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Apr 19 02:37:23 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

change XFS_STATS macro so that it doesn't rely on cpp ## to construct
individual field names for the xfsstats structure.  fixes up some gcc
compiler warnings, for recent versions of gcc.

Revision 1.29 / (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.28: +34 -68 lines
Diff to previous 1.28 (colored)

Get rid of the last compiler warning OFF flags

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 9 21:47:52 2001 UTC (16 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.27: +11 -11 lines
Diff to previous 1.27 (colored)

Add member labels to ops vector initializations for clarity.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 15 23:33:20 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.26: +50 -15 lines
Diff to previous 1.26 (colored)

Go back to basically the irix code for readdir, linux stuff is handled 
in the upper layers now.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Oct 31 01:30:52 2000 UTC (16 years, 11 months ago) by eric
Branch: MAIN
Changes since 1.25: +0 -4 lines
Diff to previous 1.25 (colored)

Removed unused reclen variable & assignment

Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 19 18:39:20 2000 UTC (17 years ago) by eric
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

slightly better d_type support for getdents64

Revision 1.24 / (download) - annotate - [select for diffs], Mon Oct 2 18:29:06 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Pass DT_UNKNOWN into filldir during getdents calls

Revision 1.23 / (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.22: +4 -245 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 25 19:37:15 2000 UTC (17 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

changed irix5_off_t to xfs32_off_t more consistent

Revision 1.21 / (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.20: +2 -2 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 18 01:41:36 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (colored)

rework the xfs stats interface to facilitate code sharing.  if there
is no interface available to export the stats (i.e. procfs), don't
bother compiling them in.

Revision 1.19 / (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.18: +4 -5 lines
Diff to previous 1.18 (colored)

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

Merge of 2.3.99pre2-xfs:slinx:63295a originally by nathans on 06/03/00
  remove all references to stuff from ksa.h and psa.h.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 9 04:39:57 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 9 03:45:01 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

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

  Change local XFS ia32_* to linux_*.

Revision 1.16 / (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.15: +16 -1 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 9 02:50:02 2000 UTC (17 years, 4 months ago) by kenmcd
Branch: MAIN
CVS Tags: GPL-ENCUMBRANCE
Changes since 1.14: +25 -11 lines
Diff to previous 1.14 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 9 02:42:56 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
CVS Tags: DELETE
Changes since 1.13: +0 -1 lines
Diff to previous 1.13 (colored)

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

  Remove include of fcntl.h

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 9 02:10:00 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (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.12 / (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.11: +2 -9 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.10: +12 -17 lines
Diff to previous 1.10 (colored)

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

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

Revision 1.10 / (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.9: +2 -2 lines
Diff to previous 1.9 (colored)

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:25835a created by lord on 10/29/99
  Change the if test in dir2_getdents to take into account calls
  from xthreads. These are from cxfs and need to be treated
  differently, there was code for this, but it was using an old
  ifdef.

Merge of irix6.5f:irix:34629a created by overby on 12/02/99
  Remove an error return in xfs_dir2_getdents when there was an error in
  a Block format directory.  Now getdents will clean up properly.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 14 10:20:10 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.8: +24 -1 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 22 22:58:48 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.7: +9 -0 lines
Diff to previous 1.7 (colored)

virtualize brelse() call

Revision 1.7 / (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.6: +1 -1 lines
Diff to previous 1.6 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.6 / (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.5: +1 -1 lines
Diff to previous 1.5 (colored)

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:25835a created by lord on 10/29/99
  Change the if test in dir2_getdents to take into account calls
  from xthreads. These are from cxfs and need to be treated
  differently, there was code for this, but it was using an old
  ifdef.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 25 15:38:29 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored)

Merge fix from 6.5f for uio based getdents

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 4 21:52:52 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.3: +30 -23 lines
Diff to previous 1.3 (colored)

Fix dir put functions for linux

Revision 1.3 / (download) - annotate - [select for diffs], Wed Aug 25 16:13:43 1999 UTC (18 years, 2 months ago) by mostek
Branch: MAIN
Changes since 1.2: +24 -1 lines
Diff to previous 1.2 (colored)

Use the uio_copy routine instead of uiomove.

Revision 1.2 / (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.1: +4 -1 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 4 01:28:30 1999 UTC (18 years, 8 months ago) by doucette
Branch: MAIN

xfs v2 directories, top level routines.

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>