CVS log for xfs-linux/linux-2.6/xfs_vnode.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.165 / (download) - annotate - [select for diffs], Wed Oct 15 03:25:46 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.164: +1 -14 lines
Diff to previous 1.164 (unified)

Combine the XFS and Linux inodes

To avoid issues with different lifecycles of XFS and Linux inodes,
embedd the linux inode inside the XFS inode. This means that the
linux inode has the same lifecycle as the XFS inode, even when it
has been released by the OS. XFS inodes don't live much longer than
this (a short stint in reclaim at most), so there isn't significant
memory usage penalties here.

Version 3
o kill xfs_icount()

Version 2
o remove unused commented out code from xfs_iget().
o kill useless cast in VFS_I()

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

  Combine the XFS and Linux inodes

Revision 1.164 / (download) - annotate - [select for diffs], Tue Oct 14 03:12:07 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.163: +1 -1 lines
Diff to previous 1.163 (unified)

fix instant oops with tracing enabled

We can only read inode->i_count if the inode is actually there and not
a NULL pointer.  This was introduced in one of the recent sync patches.

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

  fix instant oops with tracing enabled

Revision 1.163 / (download) - annotate - [select for diffs], Mon Oct 13 15:06:28 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.162: +3 -3 lines
Diff to previous 1.162 (unified)

Use struct inodes instead of vnodes to kill vn_grab

With the sync code relocated to the linux-2.6 directory we can use
struct inodes directly. If we do the same thing for the quota
release code, we can remove vn_grab altogether.  While here, convert
the VN_BAD() checks to is_bad_inode() so we can remove vnodes
entirely from this code.

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

  Use struct inodes instead of vnodes to kill vn_grab

Revision 1.162 / (download) - annotate - [select for diffs], Tue Aug 5 16:28:47 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.161: +1 -1 lines
Diff to previous 1.161 (unified)

clean up stale references to semaphores

A lot of code has been converted away from semaphores, but there are still
comments that reference semaphore behaviour.  The log code is the worst
offender.  Update the comments to reflect what the code really does now.

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

  clean up stale references to semaphores

Revision 1.161 / (download) - annotate - [select for diffs], Mon Jul 28 15:43:25 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.160: +1 -1 lines
Diff to previous 1.160 (unified)

kill bhv_vnode_t

All remaining bhv_vnode_t instance are in code that's more or less Linux
specific.  (Well, for xfs_acl.c that could be argued, but that code is
on the removal list, too).  So just do an s/bhv_vnode_t/struct inode/
over the whole tree.  We can clean up variable naming and some useless
helpers later.


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

  kill bhv_vnode_t

Revision 1.160 / (download) - annotate - [select for diffs], Fri Jul 25 04:20:48 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.159: +0 -18 lines
Diff to previous 1.159 (unified)

implement IHOLD/IRELE directly

Now that all direct calls to VN_HOLD/VN_RELE are gone we can implement
IHOLD/IRELE directly.

For the IHOLD case also replace igrab with a direct increment of i_count
because we are guaranteed to already have a live and referenced inode
by the VFS.  Also remove the vn_hold statistic because it's been rather
meaningless for some time with most references done by other callers.


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

  implement IHOLD/IRELE directly

Revision 1.159 / (download) - annotate - [select for diffs], Fri Jul 25 04:17:07 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.158: +1 -1 lines
Diff to previous 1.158 (unified)

kill vn_to_inode

bhv_vnode_t is just a typedef for struct inode, so there's no need for
a helper to convert between the two.

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

  kill vn_to_inode

Revision 1.158 / (download) - annotate - [select for diffs], Wed Jul 23 16:33:15 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.157: +1 -1 lines
Diff to previous 1.157 (unified)

Avoid directly referencing the VFS inode V2

In several places we directly convert from the XFS inode
to the linux (VFS) inode by a simple deference of ip->i_vnode.
We should not do this - a helper function should be used to
extract the VFS inode from the XFS inode.

Introduce the function VFS_I() to extract the VFS inode
from the XFS inode. The name was chosen to match XFS_I() which
is used to extract the XFS inode from the VFS inode.

Version 2:
o don't use vn_to_inode() and inode_to_vn() functions as they
  are not needed

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

Revision 1.157 / (download) - annotate - [select for diffs], Fri Jul 18 16:35:20 2008 UTC (9 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.156: +0 -50 lines
Diff to previous 1.156 (unified)

Remove vn_revalidate calls in xfs.

These days most of the attributes in struct inode are properly kept in
sync by XFS.  This patch removes the need for vn_revalidate completely
by:
 - keeping inode.i_flags uptodate after any flags are updated in
   xfs_ioctl_setattr
 - keeping i_mode, i_uid and i_gid uptodate in xfs_setattr

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

  remove vn_revalidate calls in xfs.

Revision 1.156 / (download) - annotate - [select for diffs], Wed Feb 6 03:24:42 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.155: +1 -1 lines
Diff to previous 1.155 (unified)

add __init/__exit mark to specific init/cleanup functions
Merge of xfs-linux-melb:xfs-kern:30459a by kenmcd.

  add __init/__exit mark to specific init/cleanup functions

Revision 1.155 / (download) - annotate - [select for diffs], Mon Jan 21 15:00:49 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.154: +0 -1 lines
Diff to previous 1.154 (unified)

keep i_nlink updated and use proper accessors

To get the read-only bind mounts in -mm to work correctly with XFS we
need to call the drop_nlink and inc_nlink helpers to monitor the link
count.  Add calls to these to xfs_bumplink and xfs_droplink and stop
copying over di_nlink to i_nlink in xfs_validate_fields and vn_revalidate.


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

  keep i_nlink updated and use proper accessors

Revision 1.154 / (download) - annotate - [select for diffs], Mon Jan 21 14:59:58 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.153: +0 -2 lines
Diff to previous 1.153 (unified)

stop updating inode->i_blocks

The VFS doesn't use i_blocks, it's only used by generic_fillattr and
the generic quota code which XFS doesn't use.  In XFS there is one use
to check whether we have an inline or out of line sumlink, but we can
replace that with a check of the XFS_IFINLINE inode flag.


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

  stop updating inode->i_blocks

Revision 1.153 / (download) - annotate - [select for diffs], Mon Oct 1 15:55:30 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.152: +0 -14 lines
Diff to previous 1.152 (unified)

cleanup vnode useage in xfs_iget.c

Get rid of vnode useage in xfs_iget.c and pass Linux inode / xfs_inode
where apropinquate.  And kill some useless helpers while we're at it.


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

  cleanup vnode useage in xfs_iget.c

Revision 1.152 / (download) - annotate - [select for diffs], Wed Sep 19 04:00:15 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.151: +33 -45 lines
Diff to previous 1.151 (unified)

simplify vn_revalidate

No need to allocate a bhv_vattr_t on stack and call xfs_getattr to
update a few fields in the Linux inode from the XFS inode, just
do it directly.

And yes, this function is in dire need of a better name and prototype,
I'll do in a separate patch, though.


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

  simplify vn_revalidate

Revision 1.151 / (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.150: +13 -13 lines
Diff to previous 1.150 (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.150 / (download) - annotate - [select for diffs], Fri Aug 24 16:14:38 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.149: +1 -3 lines
Diff to previous 1.149 (unified)

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

Also remove the now dead behavior code.

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

  remove vfs operations.

Revision 1.149 / (download) - annotate - [select for diffs], Fri Aug 24 16:09:31 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.148: +0 -8 lines
Diff to previous 1.148 (unified)

kill the v_number member in struct bhv_vnode

It's entirely unused except for ignored arguments in the mrlock
initialization, so remove it.

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

  kill the v_number member in struct bhv_vnode

Revision 1.148 / (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.147: +27 -19 lines
Diff to previous 1.147 (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.147 / (download) - annotate - [select for diffs], Fri Aug 24 16:07:47 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.146: +19 -10 lines
Diff to previous 1.146 (unified)

move v_iocount from bhv_vnode to xfs_inode

struct bhv_vnode is on it's way out, so move the I/O count to the XFS inode.


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

  move v_iocount from bhv_vnode to xfs_inode

Revision 1.146 / (download) - annotate - [select for diffs], Fri Aug 24 16:06:08 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.145: +2 -7 lines
Diff to previous 1.145 (unified)

kill the v_flag member in struct bhv_vnode

All flags previous handled at the vnode level are not in the xfs_inode
where we already have a flags mechanisms and free bits for flags
previously in the vnode.


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

  move vnode flags to xfs inode.

Revision 1.145 / (download) - annotate - [select for diffs], Fri Aug 24 16:05:15 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.144: +3 -1 lines
Diff to previous 1.144 (unified)

kill v_vfsp member from struct bhv_vnode

We can easily get at the vfsp through the super_block but it will soon
be gone anyway.


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

  remove v_vfsp from bhv_vnode.

Revision 1.144 / (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.143: +4 -4 lines
Diff to previous 1.143 (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.143 / (download) - annotate - [select for diffs], Thu Nov 30 14:40:05 2006 UTC (10 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.142: +1 -1 lines
Diff to previous 1.142 (unified)

Keep stack usage down for 4k stacks by using noinline.

gcc-4.1 and more recent aggressively inline static functions which
increases XFS stack usage by ~15% in critical paths. Prevent
this from occurring by adding noinline to the STATIC definition.

Also uninline some functions that are too large to be inlined and
were causing problems with CONFIG_FORCED_INLINING=y.

Finally, clean up all the different users of inline, __inline and
__inline__ and put them under one STATIC_INLINE macro. For debug
kernels the STATIC_INLINE macro uninlines those functions.
Merge of xfs-linux-melb:xfs-kern:27585a by kenmcd.

  noinline static function declaration cleanup.

Revision 1.142 / (download) - annotate - [select for diffs], Fri Oct 13 16:13:54 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.141: +0 -1 lines
Diff to previous 1.141 (unified)

Merge up to 2.6.18
Merge of xfs-linux-melb:xfs-kern:27192a by kenmcd.

Revision 1.141 / (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.140: +3 -3 lines
Diff to previous 1.140 (unified)

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

Revision 1.140 / (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.139: +16 -16 lines
Diff to previous 1.139 (unified)

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

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

Resolve a namespace collision on vfs/vfsops for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26106a by kenmcd.

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

Shutdown the filesystem if all device paths have gone.  Made shutdown vop flags consistent with sync vop flags declarations too.
Merge of xfs-linux-melb:xfs-kern:26096a by kenmcd.

Revision 1.137 / (download) - annotate - [select for diffs], Fri Mar 17 14:28:04 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (unified)

Complete transition away from linvfs naming convention, finally.
Merge of xfs-linux-melb:xfs-kern:25474a by kenmcd.

Revision 1.136 / (download) - annotate - [select for diffs], Mon Mar 6 02:45:14 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.135: +18 -11 lines
Diff to previous 1.135 (unified)

Dynamically allocate vattr in places it makes sense to do so, to reduce stack use.  Also re-use vattr in some places so that multiple copies are not held on-stack.
Merge of xfs-linux-melb:xfs-kern:25369a by kenmcd.

Revision 1.135 / (download) - annotate - [select for diffs], Wed Dec 7 19:02:48 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.134: +0 -1 lines
Diff to previous 1.134 (unified)

fix, speedup and simplify atime handling

let the VFS handle atime updates and only sync back to the xfs inode when
nessecary

Revision 1.134 / (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.133: +12 -29 lines
Diff to previous 1.133 (unified)

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

Revision 1.133 / (download) - annotate - [select for diffs], Fri Sep 16 06:01:22 2005 UTC (12 years ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.132: +1 -0 lines
Diff to previous 1.132 (unified)

Introduce two new mount options (nolargeio/largeio) to
allow filesystems to expose the filesystem stripe width
in stat(2) rather than the page cache size. This allows
applications requiring high bandwidth to easily
determine the optimum I/O size for the underlying
filesystem. The default is to report the page cache size
(i.e. "nolargeio").
Merge of xfs-linux-melb:xfs-kern:23830a by kenmcd.

  Set inode block size to the preferred size for the filesystem

Revision 1.132 / (download) - annotate - [select for diffs], Wed Aug 3 18:10:09 2005 UTC (12 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.131: +0 -144 lines
Diff to previous 1.131 (unified)

streamline the clear_inode path

Revision 1.131 / (download) - annotate - [select for diffs], Wed Aug 3 10:43:11 2005 UTC (12 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.130: +23 -5 lines
Diff to previous 1.130 (unified)

add infrastructure for waiting on I/O completion at inode reclaim time

Revision 1.130 / (download) - annotate - [select for diffs], Wed Aug 3 10:28:40 2005 UTC (12 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.129: +1 -58 lines
Diff to previous 1.129 (unified)

remove unessecary vnode flags

Revision 1.129 / (download) - annotate - [select for diffs], Thu Jul 14 17:07:55 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.128: +1 -15 lines
Diff to previous 1.128 (unified)

remove struct vnode::v_type

Revision 1.128 / (download) - annotate - [select for diffs], Wed Jun 22 13:56:22 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.127: +0 -24 lines
Diff to previous 1.127 (unified)

replace vn_get usage by ihold
replace vn_get usage by ihold

Revision 1.127 / (download) - annotate - [select for diffs], Fri May 13 11:18:00 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (unified)

fix some more compiler warnings in the vnode tracing code

Revision 1.126 / (download) - annotate - [select for diffs], Tue Apr 26 19:40:01 2005 UTC (12 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.125: +0 -1 lines
Diff to previous 1.125 (unified)

remove noisy printk at vnode trace allocation

Revision 1.125 / (download) - annotate - [select for diffs], Thu Apr 21 03:25:58 2005 UTC (12 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (unified)

Fix up warnings

Revision 1.124 / (download) - annotate - [select for diffs], Thu Mar 10 05:06:52 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.123: +1 -1 lines
Diff to previous 1.123 (unified)

Spinlock initialization API transition, merged back via mainline from tglx@linuxtronix@de.
Merge of xfs-linux-melb:xfs-kern:21794a by kenmcd.

Revision 1.123 / (download) - annotate - [select for diffs], Wed Jan 19 13:48:55 2005 UTC (12 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.122: +2 -3 lines
Diff to previous 1.122 (unified)

Fix preempt-related warnings - based on a Chris Wedgwood patch.
Merge of xfs-linux-melb:xfs-kern:21210a by kenmcd.

Revision 1.122 / (download) - annotate - [select for diffs], Fri Jun 25 02:13:08 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.121: +40 -26 lines
Diff to previous 1.121 (unified)

Fix data loss problem - we no longer update i_size anywhere without holding i_sem for 2.4 too (and tweak 2.6 solution to be consistent).

Revision 1.121 / (download) - annotate - [select for diffs], Tue Feb 10 11:38:38 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.120: +0 -1 lines
Diff to previous 1.120 (unified)

make sure i_size_write is called under i_sem
Don't update i_size in vn_revalidate

Revision 1.120 / (download) - annotate - [select for diffs], Mon Oct 20 02:08:58 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.119: +6 -5 lines
Diff to previous 1.119 (unified)

Rename the vnode tracing macro to be consistent with the other trace code
Merge of xfs-linux:slinx:160241a by nathans.

Revision 1.119 / (download) - annotate - [select for diffs], Fri Sep 26 06:42:27 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.118: +1 -1 lines
Diff to previous 1.118 (unified)

Clean up inode revalidation code slightly
Merge of xfs-linux:slinx:159031a by nathans.

Revision 1.118 / (download) - annotate - [select for diffs], Fri Sep 19 02:06:52 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.117: +1 -1 lines
Diff to previous 1.117 (unified)

Fix a merge problem with nasty side-effects, looks like XFS_AT_GENCOUNT got dropped on the ground from the getattr call at some point.

Revision 1.117 / (download) - annotate - [select for diffs], Mon Sep 15 05:50:52 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.116: +16 -0 lines
Diff to previous 1.116 (unified)

Undoes mod:     xfs-linux:slinx:158358a
Implement several additional inode flags - immutable, append-only, etc; contributed by Ethan Benson.
Merge of xfs-linux:slinx:158362a by nathans.

Revision 1.116 / (download) - annotate - [select for diffs], Thu Aug 21 20:43:17 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.115: +8 -8 lines
Diff to previous 1.115 (unified)

Re-work xfs stats macros to support per-cpu data
Merge of xfs-linux:slinx:156453a by sandeen.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Jul 29 16:49:18 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.114: +1 -1 lines
Diff to previous 1.114 (unified)

Use i_size_read and i_size_write instead of direct access to the i_size
field.
Use i_size_write to set inode size

Revision 1.114 / (download) - annotate - [select for diffs], Thu May 1 17:24:11 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
Changes since 1.113: +1 -1 lines
Diff to previous 1.113 (unified)

Merge the header file stuff over
Merge of 2.4.x-xfs:slinx:147627a originally by cattelan on 05/01/03
  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.113 / (download) - annotate - [select for diffs], Wed Apr 16 20:09:14 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (unified)

Whitespace cleanup
Merge whitespace cleanup to 2.5 tree
Merge of 2.4.x-xfs:slinx:144573a by cattelan.

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

Revision 1.112 / (download) - annotate - [select for diffs], Fri Mar 21 02:50:03 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.111: +4 -7 lines
Diff to previous 1.111 (unified)

optimize timestamp updates, use new hires timestamps more directly,
also fix a bug where the mtime field was not correctly updated.
use direct assignment between timeval structures, reduce cost
of the getattr call.

Revision 1.111 / (download) - annotate - [select for diffs], Mon Mar 17 05:07:05 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.110: +37 -35 lines
Diff to previous 1.110 (unified)

Move some of the Linux-specific iget code out of the XFS core code, move
some of the initialisation code to a better spot (super.c -> vfs.c), fix
up some whitespace abuse and some more code formatting inconsistencies.
Merge of 2.4.x-xfs:slinx:141844a by nathans.

Revision 1.110 / (download) - annotate - [select for diffs], Mon Mar 3 17:15:24 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.109: +1 -0 lines
Diff to previous 1.109 (unified)

move vn_alloc stat from xfs_iget to vn_initialize
Merge of 2.4.x-xfs-dev:slinx:140700a by lord.

  move vn_alloc stat counter here from xfs_iget

Revision 1.109 / (download) - annotate - [select for diffs], Tue Dec 17 16:06:38 2002 UTC (14 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.108: +6 -3 lines
Diff to previous 1.108 (unified)

merge up to 2.5.52

Revision 1.108 / (download) - annotate - [select for diffs], Mon Dec 2 22:11:53 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.107: +9 -9 lines
Diff to previous 1.107 (unified)

Update the vn lock/unlock macros to keep code in sync, no functional change.
Merge of 2.4.x-xfs:slinx:134107a by nathans.

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

Minor formatting and code consistency cleanups.
Merge of 2.4.x-xfs:slinx:133828a by nathans.

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

Revision 1.106 / (download) - annotate - [select for diffs], Wed Nov 13 23:44:16 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.105: +0 -0 lines
Diff to previous 1.105 (unified)

Undoes mod:     2.4.x-xfs:slinx:132930a
Rethink some of those recent types changes slightly.
Merge of 2.4.x-xfs:slinx:132993a by nathans.

Revision 1.105 / (download) - annotate - [select for diffs], Wed Nov 13 02:43:25 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.104: +1 -1 lines
Diff to previous 1.104 (unified)

Change AT_* to XFS_AT_* to prevent namespace collisions; move some type
declarations into more appropriate places.
Merge of 2.4.x-xfs:slinx:132930a by nathans.

  Change AT_* to XFS_AT_* to prevent namespace collisions.

Revision 1.104 / (download) - annotate - [select for diffs], Mon Nov 4 19:55:10 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.103: +0 -3 lines
Diff to previous 1.103 (unified)

remove VPURGE
Merge of 2.4.x-xfs:slinx:131630a by lord.

Revision 1.103 / (download) - annotate - [select for diffs], Mon Oct 14 18:06:37 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.102: +1 -11 lines
Diff to previous 1.102 (unified)

Switch from iget_locked to ilookup in vn_get.  We only want to
get the inode if it actually is present in core.  The new ilookup
function allows us to do this easily instead of having to tear down
the wrongly allocated inode again if it wasn't in memory.
Switch to ilookup.

Revision 1.102 / (download) - annotate - [select for diffs], Mon Oct 14 17:44:25 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.101: +1 -2 lines
Diff to previous 1.101 (unified)

Revert VMAP() to the old IRIX prototype.  Vnode and Linux inode are closely
tied together nowdays so that we don't have to pass in the Linux inode
separately.
Merge of 2.4.x-xfs:slinx:129878a by hch.

  Adjust for new old VMAP() calling convention.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Oct 8 13:09:40 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.100: +0 -2 lines
Diff to previous 1.100 (unified)

There are certain fields in the Linux inode that are constant
over it's lifetime.  We don't need to update those from the
XFS inode ever.
Merge of 2.4.x-xfs:slinx:129315a by hch.

  Don't update i_rdev and i_generation in vn_revalidate.

Revision 1.100 / (download) - annotate - [select for diffs], Wed Oct 2 20:17:00 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.99: +9 -22 lines
Diff to previous 1.99 (unified)

This is a two fold change, first it moves the translation
between linux dev_t and kdev_t up the call stack in xfs
and makes the bulk of xfs work in terms of its on disk
dev_t format. It also cleans up a few related chunks of
code.

The other part of the change reworks how we keep the linux
inode contents and the xfs inode fields in sync. A number
of places where we resynced the two have been removed, these
were basically replicating work elsewhere in the filesystem.
We now also ensure that the inode fields are filled in
before calling unlock_new_inode - there used to be a window.
Finally all the code which hooks together the linux inode
and the xfs inode is brought together as a more coherent
whole rather than being scattered around the inode create
path. Most calls to revalidate the linux inode from the
xfs inode are removed.
Merge of 2.4.x-xfs:slinx:128899a by lord.

  In vn_revalidate, account for the format change in va_rdev
  also remove the flags argument, and simplify the code

Revision 1.99 / (download) - annotate - [select for diffs], Thu Sep 5 06:24:11 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.98: +0 -1 lines
Diff to previous 1.98 (unified)

Merge of 2.4.x-xfs:slinx:126748a by nathans.

  remove an unneeded #include file.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Sep 1 13:08:53 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.97: +4 -0 lines
Diff to previous 1.97 (unified)

Merge of 2.4.x-xfs:slinx:126536a by lord.

  Fail a vn_get on a vnode who's inode is being freed

Revision 1.97 / (download) - annotate - [select for diffs], Thu Aug 29 17:07:10 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.96: +2 -1 lines
Diff to previous 1.96 (unified)

set inode->i_blksize to PAGE_CACHE_SIZE
Merge of 2.4.x-xfs:slinx:126367a by lord.

Revision 1.96 / (download) - annotate - [select for diffs], Tue Aug 27 13:59:39 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.95: +6 -7 lines
Diff to previous 1.95 (unified)

clean up dead paths in reclaim code
Merge of 2.4.x-xfs:slinx:125939a by lord.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Aug 22 21:43:46 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (unified)

Merge of 2.4.x-xfs:slinx:125665a by lord.

  Remove unused arguments from vn_initialize & vn_get

Revision 1.94 / (download) - annotate - [select for diffs], Wed Aug 21 15:54:04 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.93: +2 -0 lines
Diff to previous 1.93 (unified)

Put vn_remove stats back in
Merge of 2.4.x-xfs:slinx:125545a by sandeen.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Aug 12 04:25:12 2002 UTC (15 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.92: +0 -2 lines
Diff to previous 1.92 (unified)

Merge of 2.4.x-xfs:slinx:124779a by nathans.

  Switch to using a superblock flag (MS_POSIXACL) instead of an inode
  flag (S_POSIXACL) - seems to be the consensus on how to do this.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Jul 22 21:50:44 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.91: +1 -1 lines
Diff to previous 1.91 (unified)

kill LINVFS_GET_VPTR
Merge of 2.4.x-xfs:slinx:123488a by sandeen.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Jul 15 15:34:59 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.90: +1 -1 lines
Diff to previous 1.90 (unified)

kill get_current_cred()
Merge of 2.4.x-xfs:slinx:122955a by lord.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Jul 10 20:44:06 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.89: +36 -36 lines
Diff to previous 1.89 (unified)

whitespace cleanup
Merge of 2.4.x-xfs:slinx:122792a by sandeen.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Jul 9 20:10:40 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.88: +2 -3 lines
Diff to previous 1.88 (unified)

Merge of 2.4.x-xfs:slinx:122683a by lord.

  small cleanup in generation number code

Revision 1.88 / (download) - annotate - [select for diffs], Thu Jul 4 00:26:57 2002 UTC (15 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.87: +2 -4 lines
Diff to previous 1.87 (unified)

Merge of 2.4.x-xfs:slinx:122619b by nathans.

  minor tidyups as suggested by Tim.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Jul 2 02:32:38 2002 UTC (15 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.86: +3 -0 lines
Diff to previous 1.86 (unified)

Merge of 2.4.x-xfs:slinx:122601a originally by nathans on 07/01/02
  remove use of additional s_xattr_flags, use the existing inode flags field
  instead if ACLs are enabled.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Jun 24 14:48:43 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.85: +4 -1 lines
Diff to previous 1.85 (unified)

Merge of 2.4.x-xfs:slinx:122082a by lord.

  Make vn_address an inline. define VN_LOCK here directly

Revision 1.85 / (download) - annotate - [select for diffs], Tue Jun 11 12:29:48 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.84: +13 -26 lines
Diff to previous 1.84 (unified)

small cleanups
Merge of 2.4.x-xfs:slinx:121176a by lord.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Jun 10 17:50:47 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.83: +2 -23 lines
Diff to previous 1.83 (unified)

remove read_inode method from xfs
Merge of 2.4.x-xfs:slinx:121152a by lord.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jun 4 18:56:57 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.82: +1 -1 lines
Diff to previous 1.82 (unified)

Update copyright dates
Merge of 2.4.x-xfs:slinx:120763a by sandeen.

Revision 1.82 / (download) - annotate - [select for diffs], Fri May 31 03:38:18 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.81: +1 -1 lines
Diff to previous 1.81 (unified)

Use a LINVFS_GET_VPTR macro (which in 2.5 is the same as LINVFS_GET_VP,
but is different in 2.4) to allow us to keep a whole bunch of code the
same between the two trees.

Revision 1.81 / (download) - annotate - [select for diffs], Thu May 30 18:15:10 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.80: +2 -3 lines
Diff to previous 1.80 (unified)

Merge of 2.4.x-xfs:slinx:120471a by lord.

  Fix a possible null dereference

Revision 1.80 / (download) - annotate - [select for diffs], Tue May 28 22:48:05 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.79: +2 -9 lines
Diff to previous 1.79 (unified)

Merge of 2.4.x-xfs:slinx:120312a by sandeen.

  Remove VLOCK and VLOCKHOLD flags, never used.

Revision 1.79 / (download) - annotate - [select for diffs], Fri May 24 15:52:49 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (unified)

Merge of 2.4.x-xfs:slinx:120139a originally by lord on 05/24/02
  Uninitialized variable - caused by change to mutex_spinunlock definition

Revision 1.78 / (download) - annotate - [select for diffs], Thu May 23 19:47:40 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.77: +13 -24 lines
Diff to previous 1.77 (unified)

Merge of 2.4.x-xfs:slinx:120060a by lord.

  Changed args of VN_LOCK and VN_UNLOCK

Revision 1.77 / (download) - annotate - [select for diffs], Wed May 22 15:26:34 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.76: +1 -1 lines
Diff to previous 1.76 (unified)

merge up to 2.5.17

Revision 1.76 / (download) - annotate - [select for diffs], Fri May 3 15:00:23 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.75: +0 -2 lines
Diff to previous 1.75 (unified)

Merge of 2.4.x-xfs:slinx:118073a originally by sandeen on 05/02/02
  Remove call to linvfs_set_inode_ops, done elsewhere now

Revision 1.75 / (download) - annotate - [select for diffs], Thu Mar 28 20:27:57 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.74: +8 -7 lines
Diff to previous 1.74 (unified)

Merge of 2.4.x-xfs:slinx:115078a originally by lord on 03/27/02
  ensure unsigned long used to store irq state

Revision 1.74 / (download) - annotate - [select for diffs], Tue Mar 26 17:05:56 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.73: +0 -2 lines
Diff to previous 1.73 (unified)

Merge of 2.4.x-xfs:slinx:114612a by lord.

  remove bad assert

Revision 1.73 / (download) - annotate - [select for diffs], Tue Mar 26 17:03:02 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.72: +2 -55 lines
Diff to previous 1.72 (unified)

Merge of 2.4.x-xfs:slinx:114579a by lord.

  rationalize xfs vnode layer code

Revision 1.72 / (download) - annotate - [select for diffs], Sun Feb 3 20:06:33 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.71: +8 -2 lines
Diff to previous 1.71 (unified)

Merge of 2.4.x-xfs:slinx:110876a by lord.

  Make sure we pass an irq value to restore into sv_wait rather than
  zero, it has unfortunate consequences (permanently disabled interrupts).

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jan 31 11:48:25 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.70: +1 -18 lines
Diff to previous 1.70 (unified)

merge LINVFS_GET_VN_ADDRESS and LINVFS_GET_VP

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jan 25 23:31:26 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.69: +3 -9 lines
Diff to previous 1.69 (unified)

vnode/inode layout and allocation changed

Revision 1.69 / (download) - annotate - [select for diffs], Wed Jan 2 23:27:09 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (unified)

merge up to 2.5.2-pre6

Revision 1.68 / (download) - annotate - [select for diffs], Tue Nov 27 21:55:56 2001 UTC (15 years, 10 months ago) by sandeen
Branch: MAIN
Changes since 1.67: +4 -0 lines
Diff to previous 1.67 (unified)

Avoid double vn_removes

Revision 1.67 / (download) - annotate - [select for diffs], Mon Oct 1 18:59:24 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.66: +1 -1 lines
Diff to previous 1.66 (unified)

Call icreate with a gfp_mask argument

Revision 1.66 / (download) - annotate - [select for diffs], Tue Jul 10 19:56:22 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.65: +19 -1 lines
Diff to previous 1.65 (unified)

Add more synchronization between the inactive path and threads activating
vnodes.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jun 5 21:06:24 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.64: +2 -0 lines
Diff to previous 1.64 (unified)

Fix nfs permissions problem

Revision 1.64 / (download) - annotate - [select for diffs], Fri May 25 20:33:07 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.63: +14 -108 lines
Diff to previous 1.63 (unified)

Restructure xfs / linux inode interface, we used to have a deadlock case
which we recognised with a panic. When xfs needs a new inode internally
it goes through icreate, and if this returns a new inode, it calls xfs_iget_core
to read the xfs inode off disk and fill it in. Various other cleanups as
a result of this.

Revision 1.63 / (download) - annotate - [select for diffs], Wed May 23 15:11:18 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.62: +4 -1 lines
Diff to previous 1.62 (unified)

Fix a problem with cold cache NFS lookups coming in, recent changes led
to a double trip of a lock, making xfs drop its inode cache exposed this.

Revision 1.62 / (download) - annotate - [select for diffs], Thu May 17 20:53:29 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (unified)

Clear VMODIFIED flag when we update the linux inode attributes from
the xfs inode.

Revision 1.61 / (download) - annotate - [select for diffs], Wed May 9 14:31:43 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.60: +1 -2 lines
Diff to previous 1.60 (unified)

minor code cleanup

Revision 1.60 / (download) - annotate - [select for diffs], Tue Apr 24 18:43:41 2001 UTC (16 years, 5 months ago) by ananth
Branch: MAIN
Changes since 1.59: +17 -57 lines
Diff to previous 1.59 (unified)

Reorganize & cleanup code.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Apr 23 17:41:04 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58 (unified)

flags argument from vn_alloc was no longer used - remove

Revision 1.58 / (download) - annotate - [select for diffs], Thu Apr 19 02:37:23 2001 UTC (16 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.57: +9 -9 lines
Diff to previous 1.57 (unified)

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.57 / (download) - annotate - [select for diffs], Tue Apr 17 15:53:35 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.56: +0 -1 lines
Diff to previous 1.56 (unified)

remove unneeded include of xfs_linux.h - already included

Revision 1.56 / (download) - annotate - [select for diffs], Tue Apr 10 23:24:50 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.55: +1 -2 lines
Diff to previous 1.55 (unified)

small optimization - two identical if tests one after the other, 
fold into one.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Apr 9 17:05:56 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.54: +4 -3 lines
Diff to previous 1.54 (unified)

in the linvfs_revalidate_core function update the linux inode size and
times fields if ATTR_COMM is set or this is a regular file, directory or
symlink.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Apr 9 14:53:22 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.53: +9 -5 lines
Diff to previous 1.53 (unified)

Ensure that stat operations on pipes, fifos and special devices does not
overwrite critical information such as size with data from the xfs inode.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Apr 6 18:36:11 2001 UTC (16 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52 (unified)

minor error return cleanups

Revision 1.52 / (download) - annotate - [select for diffs], Mon Mar 26 16:16:56 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.51: +5 -1 lines
Diff to previous 1.51 (unified)

Change vn_free to clear the superblock pointer in the inode and call iput,
this is called with a partitially initialized inode and we do not want to
call the super methods to free it, that causes us to die in xfs.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Mar 19 18:27:31 2001 UTC (16 years, 6 months ago) by ananth
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.50: +0 -4 lines
Diff to previous 1.50 (unified)

Remove PF_MEMALLOC during inode allocation, we now handle
out-of-memory situations more gracefully.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Mar 18 00:26:19 2001 UTC (16 years, 6 months ago) by ananth
Branch: MAIN
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (unified)

Handle out of memory conditions on vn_alloc.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Mar 14 14:37:49 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.48: +1 -1 lines
Diff to previous 1.48 (unified)

Fix compiler warning.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Mar 5 16:47:52 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.47: +0 -39 lines
Diff to previous 1.47 (unified)

remove unneeded functions

Revision 1.47 / (download) - annotate - [select for diffs], Fri Feb 9 21:58:35 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (unified)

Use PF_MEMALLOC around a get_empty_inode call to avoid calling back
into the filesystem again under memory pressure, this call was happening
out of a transaction with locked resources, and we had a deadlock case.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Nov 22 06:53:25 2000 UTC (16 years, 10 months ago) by eric
Branch: MAIN
Changes since 1.45: +1 -3 lines
Diff to previous 1.45 (unified)

clean up uninitialized variables

Revision 1.45 / (download) - annotate - [select for diffs], Wed Nov 22 03:52:40 2000 UTC (16 years, 10 months ago) by eric
Branch: MAIN
Changes since 1.44: +0 -4 lines
Diff to previous 1.44 (unified)

remove/fix unused variables

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

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

Revision 1.43 / (download) - annotate - [select for diffs], Fri Sep 22 09:46:30 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.42: +14 -16 lines
Diff to previous 1.42 (unified)

Make vn_rele call iput, reintroduce vn_put as a put inode
method which calls inactive

Revision 1.42 / (download) - annotate - [select for diffs], Tue Sep 12 00:00:08 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.41: +2 -7 lines
Diff to previous 1.41 (unified)

remove unused macros (dead code), tidy a printk error message.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Sep 11 19:49:21 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.40: +19 -32 lines
Diff to previous 1.40 (unified)

merge vn_put into vn_rele, remove dev_t from intitialization calls, it
was not being used anymore.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Aug 25 21:53:10 2000 UTC (17 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.39: +6 -1 lines
Diff to previous 1.39 (unified)

Make sure the linux inode is up to date when called directly from nfsd.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Aug 18 19:27:11 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.38: +33 -100 lines
Diff to previous 1.38 (unified)

Remove dead code, user space code, flip the names on vn_put and vn_rele

Revision 1.38 / (download) - annotate - [select for diffs], Wed Aug 2 15:38:50 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.37: +6 -6 lines
Diff to previous 1.37 (unified)

Make vnode tracing work again

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jul 31 16:16:28 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.36: +3 -11 lines
Diff to previous 1.36 (unified)

Bring tree up to 2.4.0-test5

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jul 26 05:23:11 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.35: +2 -3 lines
Diff to previous 1.35 (unified)

pv 797297 tidy handling of IRIX device numbers

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 18 01:41:36 2000 UTC (17 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.34: +10 -10 lines
Diff to previous 1.34 (unified)

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.34 / (download) - annotate - [select for diffs], Mon Jul 17 22:13:44 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.33: +1 -36 lines
Diff to previous 1.33 (unified)

vn_remove no longer needs to call the inactive method, this will come out
of put inode now.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jul 14 21:35:08 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.32: +1 -13 lines
Diff to previous 1.32 (unified)

No longer call vn_put out of vn_rele as vn_rele is now called via iput

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jul 8 01:32:33 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (unified)

remove unused imon.h reference.

Revision 1.31 / (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.30: +2 -2 lines
Diff to previous 1.30 (unified)

Remove include <sys/dnlc.h>.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jul 5 16:36:57 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.29: +3 -4 lines
Diff to previous 1.29 (unified)

Fix vn_active counting

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jul 4 19:32:45 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.28: +83 -41 lines
Diff to previous 1.28 (unified)

Clean up the vn_address function.
Modify vn_initialize to "recognize" that if called from
read_inode it's necessary to call xfs_vn_iget to establish
a complete linux-inode/vnode/xfs-inode setup.
Change vn_alloc: call get_empty_inode instead of iget(),
the caller of vn_alloc assumes the responsibility of
inserting the linux-inode into the icache hash list.
Also, vn_alloc calls vn_initialize with a flag denoting
"internal" setup.
Provide the "vn_insert_in_linux_hash" routine.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 27 15:56:50 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.27: +9 -4 lines
Diff to previous 1.27 (unified)

Remove use of atomicAddLong and atomicAddUint64

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 19 18:39:22 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.26: +59 -28 lines
Diff to previous 1.26 (unified)

Add a trap to vn_address to catch "half constructed"
linux-inode/vnode/xfs-inode combinations.
Add i_generation updating to vn_revalidate.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 16 00:29:11 2000 UTC (17 years, 4 months ago) by kaos
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (unified)

Add linux/config.h to sources that use CONFIG_...

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jun 13 20:06:43 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.24: +43 -14 lines
Diff to previous 1.24 (unified)

Remove unneeded vnode fields v_mreg, v_mregb, v_pgcnt, v_buf & v_nodeid.
Fix & use the VN_CACHED() & VN_MAPPED() macros.

Revision 1.24 / (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.23: +363 -635 lines
Diff to previous 1.23 (unified)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Major gutting!  Remove all routines that were involved
  in maintaining the vnode cache & vnode freelist mechanisms.
  Vn_alloc now does a linux 'iget', vn_get does a linux 'igrab',
  vn_put does a linux 'iput'.
  Vn_hold/rele use the linux inode i_count.
  Vn_count provides a 'sample' of the reference count.
  Vn_address determines if it's 'safe' to return a vnode address.
  Vn_initialize sets up an XFS vnode within the linux inode;
  called out of 'read_inode'.
  Vn_revalidate updates the linux inode from the XFS inode at
  xfs_iget time.
  Vn_remove tears down, purges, inactivates, flushes, and
  otherwise disposes of an XFS vnode, leaving it unaddressable
  out of the linux inode.
  Change the vn_trace_ routines to trace inode->i_count.

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:63085a originally by jtk on 05/31/00
  Add VOPINFO stats for vn_active, vn_alloc, vn_free, vn_get,
  vn_remove.

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.23 / (download) - annotate - [select for diffs], Fri Jun 9 03:53:49 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.22: +62 -0 lines
Diff to previous 1.22 (unified)

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

  Allocate/free the v_trace buffer, fill out the vn_trace_*()
  routines.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jun 9 03:24:37 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.21: +0 -1 lines
Diff to previous 1.21 (unified)

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

  Remove bogus vop call - they cannot be made at this point.

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

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

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

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

  Remove include of flock.h

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 9 01:51:10 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (unified)

remove kmem_heap.h: references
Merge of 2.3.99pre2-xfs:slinx:46432a by ananth.

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

Revision 1.18 / (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.17: +1 -10 lines
Diff to previous 1.17 (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.17 / (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.16: +0 -1 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Fri Jun 9 01:11:55 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.15: +11 -39 lines
Diff to previous 1.15 (unified)

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

  Merge of 2.3.42-xfs:slinx:46048a by ananth.
  remove linux-specific conditionals, commented out includes, and use of the
  vnode_t v_stream, v_intpcount, v_filocksem, and v_filocks fields + removed
  unused & unimplemented lookupname() routine.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 9 01:06:41 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.14: +1 -54 lines
Diff to previous 1.14 (unified)

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

  Merge of 2.3.42-xfs:slinx:45877a by ananth.
  remove unused 'dead_vnodeops' variable.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 9 01:00:53 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.13: +25 -0 lines
Diff to previous 1.13 (unified)

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

  Merge of 2.3.42-xfs:slinx:45490a by ananth.
  Add a cleanup function

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 9 00:52:36 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (unified)

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

  Merge of 2.3.42-xfs:slinx:44783a by ananth.
  remove reference to vfssw

Revision 1.12 / (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.11: +3 -11 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
Changes since 1.10: +11 -16 lines
Diff to previous 1.10 (unified)

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], Tue Dec 21 04:22:06 1999 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.9: +24 -1 lines
Diff to previous 1.9 (unified)

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

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 21 02:32:12 1999 UTC (17 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.8: +3 -35 lines
Diff to previous 1.8 (unified)

remove copyright header as this file -  this source file has deviated to such an extent from the original copyrighted source code that the original copyright notice is no longer relevent to the contents of the file.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 8 19:57:34 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.7: +2 -7 lines
Diff to previous 1.7 (unified)

Really fix vn_alloc()

Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 8 17:40:15 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (unified)

Lock the vfreelist before we drop it

Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 7 16:02:15 1999 UTC (18 years ago) by mostek
Branch: MAIN
Changes since 1.5: +11 -1 lines
Diff to previous 1.5 (unified)

Eliminate bitlocks since they are only used in vnodes which will need
to change, anyway.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 5 05:18:56 1999 UTC (18 years ago) by cattelan
Branch: MAIN
Changes since 1.4: +6 -5 lines
Diff to previous 1.4 (unified)

Small changes to clean up compiler warning messages.
Small changes to clean up compiler warning messages.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 29 17:55:19 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (unified)

switch from kmem.h to kern_heap.h

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 3 00:40:44 1999 UTC (18 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.2: +22 -1 lines
Diff to previous 1.2 (unified)

Added stubs for lookupname and vnode_pfind.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Sep 2 22:24:14 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (unified)

No Message Supplied

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 30 20:33:27 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN

New File

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>