CVS log for xfs-linux/xfs_rename.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.85 / (download) - annotate - [select for diffs], Wed Jun 25 16:27:47 2008 UTC (9 years, 3 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.84: +9 -13 lines
Diff to previous 1.84 (unified)

Don't update mtime on rename source

As reported by Michael-John Turner XFS updates the mtime on the source
inode of a rename call in case it's a directory and changes the parent.

This doesn't make any sense, is not mentioned in the standards and not
performed by any other Linux filesystems so remove it.

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

  Don't update mtime on rename source

Revision 1.84 / (download) - annotate - [select for diffs], Mon Apr 21 06:19:07 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.83: +10 -65 lines
Diff to previous 1.83 (unified)

kill usesless IHOLD calls in xfs_rename

Similar to to the previous patch for remove and rmdir only grab
a reference to inodes when we join them to transaction to balance the
decrement on transaction completion.  Everything else it taken care of
by the VFS.

Note that the old case had leaks of inode count when src == target or
src or target == one of the parent inodes, but these cases are
fortunately already rejected by the VFS.


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

  kill usesless IHOLD calls in xfs_rename

Revision 1.83 / (download) - annotate - [select for diffs], Mon Apr 21 06:18:18 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.82: +45 -140 lines
Diff to previous 1.82 (unified)

remove manual lookup from xfs_rename and simplify locking

->rename already gets the target inode passed if it exits.  Pass it down
to xfs_rename so that we can avoid looking it up again.  Also simplify
locking as the first lock section in xfs_rename can go away now:  the
isdir is an invariant over the lifetime of the inode, and new_parent and
the nlink check are namespace topology protected by i_mutex in the VFS.
The projid check needs to move into the second lock section anyway to
not be racy.

Also kill the now unused xfs_dir_lookup_int and remove the now-unused
first_locked argumet to xfs_lock_inodes.


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

  remove manual lookup from xfs_rename and simplify locking

Revision 1.82 / (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.81: +29 -53 lines
Diff to previous 1.81 (unified)

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.81 / (download) - annotate - [select for diffs], Tue Feb 26 03:22:04 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.80: +5 -15 lines
Diff to previous 1.80 (unified)

cleanup vnode use in xfs_symlink and xfs_rename

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

  cleanup vnode use in xfs_symlink and xfs_rename

Revision 1.80 / (download) - annotate - [select for diffs], Tue Feb 26 03:19:24 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.79: +4 -4 lines
Diff to previous 1.79 (unified)

cleanup vnode use in dmapi calls

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

  cleanup vnode use in dmapi calls

Revision 1.79 / (download) - annotate - [select for diffs], Fri Feb 22 03:08:20 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.78: +4 -8 lines
Diff to previous 1.78 (unified)

kill xfs_get_dir_entry

Instead of of xfs_get_dir_entry use a macro to get the xfs_inode from
the dentry in the callers and grab the reference manually.

Only grab the reference once as it's fine to keep it over the dmapi
calls.  (And even that reference is actually superflous in Linux but
I'll leave that for another patch)

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

  kill xfs_get_dir_entry

Revision 1.78 / (download) - annotate - [select for diffs], Mon Feb 11 15:43:51 2008 UTC (9 years, 8 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.77: +1 -4 lines
Diff to previous 1.77 (unified)

Remove the xfs_refcache, it was only needed while we were still building for
2.4 kernels.
Merge of xfs-linux-melb:xfs-kern:30472a by kenmcd.

  Remove xfs_refcache.

Revision 1.77 / (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.76: +1 -0 lines
Diff to previous 1.76 (unified)

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.76 / (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.75: +4 -4 lines
Diff to previous 1.75 (unified)

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.75 / (download) - annotate - [select for diffs], Fri Aug 24 16:08:41 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (unified)

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.74 / (download) - annotate - [select for diffs], Fri Aug 24 16:04:16 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.73: +1 -4 lines
Diff to previous 1.73 (unified)

call common xfs vnode-level helpers directly and remove vnode operations

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

  remove vnode operations.

Revision 1.73 / (download) - annotate - [select for diffs], Fri Aug 24 16:03:11 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.72: +6 -12 lines
Diff to previous 1.72 (unified)

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.72 / (download) - annotate - [select for diffs], Thu Aug 23 16:00:34 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.71: +1 -0 lines
Diff to previous 1.71 (unified)

Radix tree based inode caching

One of the perpetual scaling problems XFS has is indexing
it's incore inodes. We currently uses hashes and the default
hash sizes chosen can only ever be a tradeoff between memory
consumption and the maximum realistic size of the cache.

As a result, anyone who has millions of inodes cached on a
filesystem needs to tunes the size of the cache via the ihashsize
mount option to allow decent scalability with inode cache
operations.

A further problem is the separate inode cluster hash, whose size is
based on the ihashsize but is smaller, and so under certain
conditions (sparse cluster cache population) this can become
a limitation long before the inode hash is causing issues.

The following patchset removes the inode hash and cluster hash
and replaces them with radix trees to avoid the scalability
limitations of the hashes. It also reduces the size of the
inodes by 3 pointers....
Merge of xfs-linux-melb:xfs-kern:29481a by kenmcd.

  Convert xfs inode caches from hashes to radix trees.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Aug 6 15:41:08 2007 UTC (10 years, 2 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.70: +4 -6 lines
Diff to previous 1.70 (unified)

pv 968690, author Christoph Hellwig <hch@lst.de>, rv vapo - remove unessecary vfs argument to DM_EVENT_ENABLED
Merge of xfs-linux-melb:xfs-kern:29340a by kenmcd.

  pv 968690, author Christoph Hellwig <hch@lst.de>, rv vapo - remove unessecary vfs argument to DM_EVENT_ENABLED

Revision 1.70 / (download) - annotate - [select for diffs], Fri Mar 2 02:59:33 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.69: +1 -1 lines
Diff to previous 1.69 (unified)

The last argument "lsn" of xfs_trans_commit() is always called with NULL.

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

  The last argument "lsn" of xfs_trans_commit() is always called with NULL.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.69 / (download) - annotate - [select for diffs], Tue Feb 6 14:35:53 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.68: +1 -1 lines
Diff to previous 1.68 (unified)

Remove unused argument to xfs_bmap_finish

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

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

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

Revision 1.68 / (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.67: +19 -35 lines
Diff to previous 1.67 (unified)

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

Revision 1.67 / (download) - annotate - [select for diffs], Tue May 30 15:57:54 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (unified)

Resolve a namespace collision on remaining vtypes for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26108a by kenmcd.

Revision 1.66 / (download) - annotate - [select for diffs], Tue May 30 15:56:57 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (unified)

Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26107a by kenmcd.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Apr 22 03:52:37 2006 UTC (11 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.64: +12 -0 lines
Diff to previous 1.64 (unified)

Fix a project quota space accounting leak on rename.
Merge of xfs-linux-melb:xfs-kern:25811a by kenmcd.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Dec 19 19:00:32 2005 UTC (11 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.63: +2 -5 lines
Diff to previous 1.63 (unified)

add helper to get xfs_inode from vnode

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

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

Revision 1.62 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.61: +5 -6 lines
Diff to previous 1.61 (unified)

Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.
Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Sep 20 15:25:32 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.60: +0 -2 lines
Diff to previous 1.60 (unified)

Remove a null CELL macro and its one caller, not useful to anyone.
Merge of xfs-linux-melb:xfs-kern:23860a by kenmcd.

Revision 1.60 / (download) - annotate - [select for diffs], Wed May 18 09:18:24 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.59: +0 -18 lines
Diff to previous 1.59 (unified)

Remove dead code.

Patch from Adrian Bunk

Revision 1.59 / (download) - annotate - [select for diffs], Mon Mar 21 02:45:02 2005 UTC (12 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58 (unified)

Make trivial extension to sync flag to implement dirsync, instead of silently ignoring it.
Merge of xfs-linux-melb:xfs-kern:21888a by kenmcd.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Dec 9 00:06:12 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57 (unified)

Remove some spurious double semi-colons.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Dec 2 21:58:04 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.56: +2 -3 lines
Diff to previous 1.56 (unified)

Fix comment in xfs_rename.c

Revision 1.56 / (download) - annotate - [select for diffs], Fri Nov 21 01:49:22 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.55: +1 -1 lines
Diff to previous 1.55 (unified)

Seperate the NFS reference cache code out from xfs_rw.c to simplify management of different kernel versions.

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

switch xfs to use linux imode flags internally

Revision 1.54 / (download) - annotate - [select for diffs], Mon Sep 8 03:47:34 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.53: +0 -1 lines
Diff to previous 1.53 (unified)

remove doubly-included header files

Revision 1.53 / (download) - annotate - [select for diffs], Thu Aug 28 12:48:31 2003 UTC (14 years, 1 month ago) by roehrich
Branch: MAIN
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (unified)

Change dm_send_namesp_event to take vnode ptrs rather than bhv ptrs.
Change dm_send_namesp_event to take vnode ptrs rather than bhv ptrs.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.51: +675 -0 lines
Diff to previous 1.51 (unified)

The Big Move
linux/fs/xfs/xfs_rename.c 1.50 Renamed to xfs_rename.c

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

Nuke

Revision 1.50 / (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.49: +27 -1 lines
Diff to previous 1.49 (unified)

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.49 / (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.48: +7 -7 lines
Diff to previous 1.48 (unified)

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

Revision 1.48 / (download) - annotate - [select for diffs], Mon Mar 17 06:02:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.47: +7 -9 lines
Diff to previous 1.47 (unified)

Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.
Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Mar 4 21:35:08 2003 UTC (14 years, 7 months ago) by gwehrman
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (unified)

Fix target_linkzero calculation
Merge of irix6.5f:irix:135993a by sandeen.

  Merge of grove2-6520stage:irix:135993a by roehrich.
  Merge of grove2:irix:135993a by roehrich.
  Bug 836139.  Don't calculate target_linkzero until after droping the old
  '.' link when it is a directory that is being moved.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jan 2 12:49:13 2003 UTC (14 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.45: +15 -34 lines
Diff to previous 1.45 (unified)

some more rename cleanups
xfs_lock_for_rename can't return EAGAIN anymore, no need to handle it;
use vname terminology more consistantly

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

remove superlous MAXNAMELEN checks
don't check for MAXNAMELEN in the individual VOPs - we never enter them
with longer names

Revision 1.44 / (download) - annotate - [select for diffs], Fri Nov 22 07:45:15 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.43: +8 -8 lines
Diff to previous 1.43 (unified)

Minor formatting and code consistency cleanups.
Minor cleanups - format code consistently; keep details of dentry internals
over with the other Linux-specific code.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Oct 23 04:21:07 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (unified)

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

Revision 1.42 / (download) - annotate - [select for diffs], Wed Oct 23 03:54:05 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (unified)

Replace STATIC with static in xfs code

Revision 1.41 / (download) - annotate - [select for diffs], Thu Sep 19 18:19:37 2002 UTC (15 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.40: +1 -6 lines
Diff to previous 1.40 (unified)

Simplify xfs_dir_lookup_int
Adopt for new xfs_dir_lookup_int prototype

Revision 1.40 / (download) - annotate - [select for diffs], Thu Aug 29 16:00:10 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.39: +3 -8 lines
Diff to previous 1.39 (unified)

cleanup/optimize xfs_dir_lookup_int()

Revision 1.39 / (download) - annotate - [select for diffs], Wed Aug 28 20:23:05 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.38: +21 -74 lines
Diff to previous 1.38 (unified)

remove more duplicate rename checks

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 27 14:56:45 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.37: +18 -281 lines
Diff to previous 1.37 (unified)

remove extra generation number checks

Revision 1.37 / (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.36: +71 -71 lines
Diff to previous 1.36 (unified)

whitespace cleanup

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jun 6 15:46:50 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.35: +7 -74 lines
Diff to previous 1.35 (unified)

no pathname parameter on rename, cleanup rename checks to avoid duplication
with the vfs.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jun 5 15:53:46 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.34: +22 -48 lines
Diff to previous 1.34 (unified)

deal with dentries instead of names

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

Update copyright dates

Revision 1.33 / (download) - annotate - [select for diffs], Tue May 28 22:30:45 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.32: +0 -18 lines
Diff to previous 1.32 (unified)

Remove xfs_pre_rename, xfs_pre_rmdir, xfs_pre_remove, 
these either checked flags that are never set, or duplicated
standard Linux VFS checks already in place.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Nov 7 20:20:30 2001 UTC (15 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (unified)

more posix error code fixup

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 11 01:44:54 2001 UTC (16 years, 6 months ago) by cattelan
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (unified)

Get rid of the last compiler warning OFF flags

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 6 19:44:15 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.29: +1 -0 lines
Diff to previous 1.29 (unified)

remove inode being renamed from nfs reference cache

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 15 10:28:46 2001 UTC (16 years, 9 months ago) by tes
Branch: MAIN
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (unified)

Add XFS/ACL support

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

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

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 17 20:57:01 2000 UTC (17 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (unified)

use dmapi_kern.h instead of dmi_kern.h
use dmapi_kern.h instead of dmi_kern.h

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 7 21:00:39 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.25: +2 -182 lines
Diff to previous 1.25 (unified)

Remove xfs_rename_ancestor_check, our ancestors were
already checked for rename consistency at the linux
VFS layer.
Remove calls to xfs_post_r*.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 6 21:29:49 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.24: +6 -23 lines
Diff to previous 1.24 (unified)

Remove include <sys/dnlc.h>.
Remove "ncfastdata" from xfs_dir_lookup_int calls.
Remove all references to any dnlc_ routine.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jun 15 21:42:59 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.23: +1 -4 lines
Diff to previous 1.23 (unified)

Pull the IRIX specific "refcache" code.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jun 9 04:31:08 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (unified)

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

  %Ld for inode number

Revision 1.22 / (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.21: +25 -12 lines
Diff to previous 1.21 (unified)

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

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

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.20 / (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.19: +1 -4 lines
Diff to previous 1.19 (unified)

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.19 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:34 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.18: +7 -5 lines
Diff to previous 1.18 (unified)

use linux security mechanisms
Merge of 2.3.99pre2-xfs:slinx:46379a by ananth.

  Merge of 2.3.42-xfs:slinx:46379a by ananth.

Revision 1.18 / (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.17: +18 -0 lines
Diff to previous 1.17 (unified)

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.17 / (download) - annotate - [select for diffs], Thu Jun 8 23:59:59 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (unified)

Bring XFS upto 2.3.42
Merge of 2.3.99pre2-xfs:slinx:43458a by ananth.

  Merge of 2.3.42-xfs:slinx:43458a by ananth.

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

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 28 10:51:09 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (unified)

Replace the FSC_NOTIFY_LINK_REMOVED macro with
a direct VOP_LINK_REMOVED call.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 27 22:00:32 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (unified)

Header file checkpoint... libsim mkfs xfsdb build\n as well as most of the kernel files

Revision 1.13 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.12: +38 -19 lines
Diff to previous 1.12 (unified)

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

Revision 1.12 / (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.11: +16 -10 lines
Diff to previous 1.11 (unified)

Change includes for v2 directory support.
Vector out v1/v2 directory operations.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 2 08:14:17 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.10: +10 -1 lines
Diff to previous 1.10 (unified)

Check that it's possible to make the new directory entry with
xfs_dir_canenter if we don't have a space reservation, before calling
xfs_dir_createname.
pv: 653987

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 2 07:06:04 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.9: +14 -6 lines
Diff to previous 1.9 (unified)

Add namelength argument to top-level directory routines that
don't already have it, so we can cut down on duplicated strlen calls.
Moves the check for MAXNAMELEN out into the callers.
pv: 653733

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 12 03:58:00 1998 UTC (19 years, 3 months ago) by bbowen
Branch: MAIN
Changes since 1.8: +219 -30 lines
Diff to previous 1.8 (unified)

Change xfs_rename to hold locks instead of dropping and re-acquiring (when possible).
Also, if gen #'s change after dropping/re-acquiring, keep going if the files
are still there and have the same inode #'s (in some cases).
This improves the performance of rename and helps reduce the possibility
of the apparent infinite loop.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Feb 25 22:11:36 1998 UTC (19 years, 7 months ago) by mostek
Branch: MAIN
Changes since 1.7: +20 -10 lines
Diff to previous 1.7 (unified)

pv: 575275 rv: ram@cray.com
Move the IHOLD's for the VOP_LINK_REMOVED to before the xfs_bmap_finish.
This must be before the finish since the commit might cause a final rele.
The hold would then be on a freed vnode (not a good thing).

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 18 09:02:38 1998 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (unified)

added extra argument to xfs_trans_commit for IO_DSYNC speedup.
pv: 555963  rv: lord@cray

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 16 15:39:11 1997 UTC (19 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.5: +14 -47 lines
Diff to previous 1.5 (unified)

rv: rcc@engr.sgi.com pv: 551636
Don't block waiting for a second (or more) inode if an already
locked inode is in the AIL. Use lock_nowait and retry (after releasing
any locks). releasing inode locks pushes the AIL.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 9 14:28:41 1997 UTC (20 years, 1 month ago) by kcm
Branch: MAIN
Changes since 1.4: +31 -23 lines
Diff to previous 1.4 (unified)

Changes to reflect DMAPI upgrade to conform to the
X/Open XDSM document.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 11 16:34:22 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.3: +17 -6 lines
Diff to previous 1.3 (unified)

If we can't get the real space reservation, try it with 0.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 30 23:19:24 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.2: +7 -3 lines
Diff to previous 1.2 (unified)

Get space reservations from xfs_trans_space.h macros.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 25 19:07:52 1997 UTC (20 years, 6 months ago) by pjr
Branch: MAIN
Changes since 1.1: +3 -5 lines
Diff to previous 1.1 (unified)

support for bhv2_head_t in vnodes

Revision 1.1 / (download) - annotate - [select for diffs], Fri Dec 13 00:42:47 1996 UTC (20 years, 10 months ago) by sup
Branch: MAIN

All the rename code that used to live in xfs_vnodeops.c

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>