CVS log for xfs-linux-nodel/xfs_iget.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.256 / (download) - annotate - [select for diffs], Wed Oct 29 05:22:52 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.255: +22 -10 lines
Diff to previous 1.255 (colored)

Fix race when looking up reclaimable inodes

If we get a race looking up a reclaimable inode, we can
end up with the winner proceeding to use the inode before
it has been completely re-initialised. This is a Bad Thing.

Fix the race by checking whether we are still initialising the
inod eonce we have a reference to it, and if so wait for the
initialisation to complete before continuing.

While there, fix a leaked reference count in the same code
when encountering an unlinked inode and we are not doing a
lookup for a create operation.

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

  Fix race when looking up reclaimable inodes

Revision 1.255 / (download) - annotate - [select for diffs], Thu Oct 23 15:03:24 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.254: +1 -1 lines
Diff to previous 1.254 (colored)

free partially initialized inodes using destroy_inode

To make sure we free the security data inodes need to be freed using
the proper VFS helper (which we also need to export for this). We mark
these inodes bad so we can skip the flush path for them.


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

  free partially initialized inodes using destroy_inode

Revision 1.254 / (download) - annotate - [select for diffs], Thu Oct 23 03:29:43 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.253: +11 -7 lines
Diff to previous 1.253 (colored)

Can't lock inodes in radix tree preload region

When we are inside a radix tree preload region, we cannot
sleep. Recently we moved the inode locking inside the
preload region for the inode radix tree. Fix that,
and fix a missed unlock in another error path in the
same code at the same time.

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

  Can't lock inodes in radix tree preload region

Revision 1.253 / (download) - annotate - [select for diffs], Fri Oct 17 02:58:35 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.252: +3 -1 lines
Diff to previous 1.252 (colored)

Finish removing the mount pointer from the AIL API

Change all the remaining AIL API functions that are passed
struct xfs_mount pointers to pass pointers directly to the
struct xfs_ail being used. With this conversion, all external
access to the AIL is via the struct xfs_ail. Hence the operation
and referencing of the AIL is almost entirely independent of
the xfs_mount that is using it - it is now much more tightly
tied to the log and the items it is tracking in the log than
it is tied to the xfs_mount.

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

  Finish removing the mount pointer from the AIL API

Revision 1.252 / (download) - annotate - [select for diffs], Wed Oct 15 15:35:50 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.251: +0 -8 lines
Diff to previous 1.251 (colored)

kill deleted inodes list

Now that the deleted inodes list is unused, kill it. This
also removes the i_reclaim list head from the xfs_inode, shrinking
it by two pointers.

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

  kill deleted inodes list

Revision 1.251 / (download) - annotate - [select for diffs], Wed Oct 15 15:34:05 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.250: +3 -0 lines
Diff to previous 1.250 (colored)

mark inodes for reclaim via a tag in the inode radix tree

Prepare for removing the deleted inode list by marking inodes
for reclaim in the inode radix trees so that we can use the
radix trees to find reclaimable inodes.

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

  mark inodes for reclaim via a tag in the inode radix tree

Revision 1.250 / (download) - annotate - [select for diffs], Wed Oct 15 03:25:46 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.249: +35 -132 lines
Diff to previous 1.249 (colored)

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.249 / (download) - annotate - [select for diffs], Tue Oct 14 05:27:11 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.248: +190 -156 lines
Diff to previous 1.248 (colored)

factor xfs_iget_core() into hit and miss cases

There are really two cases in xfs_iget_core(). The first is the
cache hit case, the second is the miss case. They share very little
code, and hence can easily be factored out into separate functions.
This makes the code much easier to understand and subsequently
modify.

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

  factor xfs_iget_core() into hit and miss cases

Revision 1.248 / (download) - annotate - [select for diffs], Mon Oct 13 15:13:12 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.247: +7 -8 lines
Diff to previous 1.247 (colored)

Kill xfs_sync()

There are no more callers to xfs_sync() now, so remove the
function altogther.

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

  Kill xfs_sync()

Revision 1.247 / (download) - annotate - [select for diffs], Fri Oct 10 15:22:32 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.246: +1 -41 lines
Diff to previous 1.246 (colored)

remove the mount inode list

Now we've removed all users of the mount inode list,
we can kill it. This reduces the size of the xfs_inode
by 2 pointers.

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

  remove the mount inode list

Revision 1.246 / (download) - annotate - [select for diffs], Mon Sep 22 15:50:42 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.245: +6 -3 lines
Diff to previous 1.245 (colored)

Unlock inode before calling xfs_idestroy()

Lock debugging reported the ilock was being destroyed without being
unlocked.  We don't need to lock the inode until we are going to
insert it into the radix tree.
Merge of xfs-linux-melb:xfs-kern:32159a by kenmcd.

  Unlock inode before calling xfs_idestroy()

Revision 1.245 / (download) - annotate - [select for diffs], Wed Aug 20 04:10:16 2008 UTC (9 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.244: +0 -15 lines
Diff to previous 1.244 (colored)

Make use of the init-once slab optimisation.

To avoid having to initialise some fields of the XFS inode
on every allocation, we can use the slab init-once feature
to initialise them. All we have to guarantee is that when
we free the inode, all it's entries are in the initial state.
Add asserts where possible to ensure debug kernels check this
initial state before freeing and after allocation.

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

  Make use of the init-once slab optimisation.

Revision 1.244 / (download) - annotate - [select for diffs], Tue Aug 5 16:30:31 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.243: +8 -24 lines
Diff to previous 1.243 (colored)

replace inode flush semaphore with a completion

Use the new completion flush code to implement the inode flush lock.  Removes
one of the final users of semaphores in the XFS code base.

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

  replace inode flush semaphore with a completion

Revision 1.243 / (download) - annotate - [select for diffs], Tue Jul 29 04:18:41 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.242: +8 -1 lines
Diff to previous 1.242 (colored)

sanitize xfs_initialize_vnode

Sanitize setting up the Linux indode.

Setting up the xfs_inode <-> inode link is opencoded in xfs_iget_core
now because that's the only place it needs to be done,
xfs_initialize_vnode is renamed to xfs_setup_inode and loses all
superflous paramaters.  The check for I_NEW is removed because it always
is true and the di_mode check moves into xfs_iget_core because it's only
needed there.

xfs_set_inodeops and xfs_revalidate_inode are merged into
xfs_setup_inode and the whole things is moved into xfs_iops.c where it
belongs.


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

Revision 1.242 / (download) - annotate - [select for diffs], Wed Jul 23 16:32:19 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.241: +4 -3 lines
Diff to previous 1.241 (colored)

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:31720a by kenmcd.

Revision 1.241 / (download) - annotate - [select for diffs], Mon Apr 21 06:17:24 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.240: +76 -64 lines
Diff to previous 1.240 (colored)

shrink mrlock_t

The writer field is not needed for non_DEBU builds so remove it.  While
we're at i also clean up the interface for is locked asserts to go
through and xfs_iget.c helper with an interface like the xfs_ilock
routines to isolated the XFS codebase from mrlock internals.  That way
we can kill mrlock_t entirely once rw_semaphores grow an islocked
facility.  Also remove unused flags to the ilock family of functions.


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

  shrink mrlock_t

Revision 1.240 / (download) - annotate - [select for diffs], Mon Mar 3 05:14:41 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.239: +1 -0 lines
Diff to previous 1.239 (colored)

fix inode leak in xfs_iget_core()

If the radix_tree_preload() fails, we need to destroy the
inode we just read in before trying again. This could leak
xfs_vnode structures when there is memory pressure. Noticed
by Christoph Hellwig.

Signed-off-by: Dave Chinner <dgc@sgi.com>
Merge of xfs-linux-melb:xfs-kern:30606a by kenmcd.

  fix inode leak in xfs_iget_core()

Revision 1.239 / (download) - annotate - [select for diffs], Fri Feb 15 15:18:16 2008 UTC (9 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.238: +3 -46 lines
Diff to previous 1.238 (colored)

Remove the xfs_icluster structure

Remove the xfs_icluster structure and replace with a radix tree lookup.

We don't need to keep a list of inodes in each cluster around anymore
as we can look them up quickly when we need to. The only time we need
to do this now is during inode writeback.

Factor the inode cluster writeback code out of xfs_iflush and convert
it to use radix_tree_gang_lookup() instead of walking a list of
inodes built when we first read in the inodes.

This remove 3 pointers from each xfs_inode structure and the xfs_icluster
structure per inode cluster. Hence we reduce the cache footprint of the
xfs_inodes by between 5-10% depending on cluster sparseness.

To be truly efficient we need a radix_tree_gang_lookup_range() call
to stop searching once we are past the end of the cluster instead
of trying to find a full cluster's worth of inodes.

Before (ia64):

$ cat /sys/slab/xfs_inode/object_size
536

After:

$ cat /sys/slab/xfs_inode/object_size
512
Merge of xfs-linux-melb:xfs-kern:30502a by kenmcd.

  remove the cluster structures from the inode cache
  and use the radix trees for lookups instead.

Revision 1.238 / (download) - annotate - [select for diffs], Fri Nov 9 15:13:35 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.237: +1 -1 lines
Diff to previous 1.237 (colored)

Fix broken inode cluster setup.

The radix tree based inode caches did away with the inode cluster hashes,
replacing them with a bunch of masking and gang lookups on the radix tree.

This masking got broken when moving the code to per-ag radix trees and
indexing by agino # rather than straight inode number. The result is
clustered inode writeback does not cluster and things can go extremely
slowly when there are lots of inodes to write.

Fix it up by comparing the agino # of the inode we just looked up
to the index of the cluster we are looking for.

Signed-off-by: Dave Chinner <dgc@sgi.com>
Tested-by:  Torsten Kaiser <just.for.lkml@googlemail.com>
Merge of xfs-linux-melb:xfs-kern:30033a by kenmcd.

  Make the cluster lookup use the agino rather than full inode number
  so that clusters are correctly built.

Revision 1.237 / (download) - annotate - [select for diffs], Fri Nov 2 05:12:07 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.236: +0 -18 lines
Diff to previous 1.236 (colored)

Fix inode allocation latency

The log force added in xfs_iget_core() has been a performance
issue since it was introduced for tight loops that allocate
then unlink a single file. under heavy writeback, this can
introduce unnecessary latency due tothe log I/o getting
stuck behind bulk data writes.

Fix this latency problem by avoinding the need for the log
force by moving the place we mark linux inode dirty to the
transaction commit rather than on transaction completion.

This also closes a potential hole in the sync code where a
linux inode is not dirty between the time it is modified and
the time the log buffer has been written to disk.
Merge of xfs-linux-melb:xfs-kern:30007a by kenmcd.

  Remove the need to force the log on pinned inode reuse by making sure
  we never need to touch the linux inode during transaction completion.

Revision 1.236 / (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.235: +65 -77 lines
Diff to previous 1.235 (colored)

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.235 / (download) - annotate - [select for diffs], Fri Sep 21 16:10:12 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.234: +3 -10 lines
Diff to previous 1.234 (colored)

kill xfs_iocore_t

xfs_iocore_t is a structure embedded in xfs_inode.  Except for one
field it just duplicates fields already in xfs_inode, and there is
nothing this abstraction buys us on XFS/Linux.  This patch removes
it and shrinks source and binary size of xfs aswell as shrinking
the size of xfs_inode by 60/44 bytes in debug/non-debug builds.


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

  kill xfs_iocore_t

Revision 1.234 / (download) - annotate - [select for diffs], Mon Sep 17 04:10:29 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.233: +3 -5 lines
Diff to previous 1.233 (colored)

more vnode/inode tracing fixes
Merge of xfs-linux-melb:xfs-kern:29697a by kenmcd.

  more vnode/inode tracing fixes

Revision 1.233 / (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.232: +5 -5 lines
Diff to previous 1.232 (colored)

clean up vnode/inode tracing

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

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

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

  clean up vnode/inode tracing

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

kill struct bhv_vfs

Now that struct bhv_vfs doesn't have any members left we can kill it
and go directly from the super_block to the xfs_mount everywhere.


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

  remove struct bhv_vfs and go directly to the superblock.

Revision 1.231 / (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.230: +3 -3 lines
Diff to previous 1.230 (colored)

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.230 / (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.229: +2 -2 lines
Diff to previous 1.229 (colored)

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.229 / (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.228: +5 -5 lines
Diff to previous 1.228 (colored)

move v_trace from bhv_vnode to xfs_inode

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


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

  move v_trace from bhv_vnode to xfs_inode

Revision 1.228 / (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.227: +1 -0 lines
Diff to previous 1.227 (colored)

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.227 / (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.226: +3 -2 lines
Diff to previous 1.226 (colored)

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.226 / (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.225: +198 -393 lines
Diff to previous 1.225 (colored)

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.225 / (download) - annotate - [select for diffs], Fri Apr 27 15:48:42 2007 UTC (10 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.224: +8 -7 lines
Diff to previous 1.224 (colored)

Add lockdep support for XFS
Merge of xfs-linux-melb:xfs-kern:28485a by kenmcd.

  Add lockdep support for XFS

Revision 1.224 / (download) - annotate - [select for diffs], Tue Nov 7 14:40:26 2006 UTC (10 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.223: +30 -0 lines
Diff to previous 1.223 (colored)

Prevent a deadlock when xfslogd unpins inodes.

The previous fixes for the use after free in xfs_iunpin left a nasty
log deadlock when xfslogd unpinned the inode and dropped the last
reference to the inode. the ->clear_inode() method can issue
transactions, and if the log was full, the transaction could push on
the log and get stuck trying to push the inode it was currently
unpinning.

To fix this, we provide xfs_iunpin a guarantee that it will always
have a valid xfs_inode <-> linux inode link or a particular flag
will be set on the inode. We then use log forces during lookup to
ensure transactions are completed before we recycle the inode.
This ensures that xfs_iunpin will never use the linux inode after it
is being freed, and any lookup on an inode on the reclaim list will
wait until it is safe to attach a new linux inode to the xfs inode.
Merge of xfs-linux-melb:xfs-kern:27359a by kenmcd.

  If we find a reclaimable inode, make sure it is not pinned before we
  reuse it so we don't get inode unpinning running incorrectly on a
  new linux inode. Also ensure that we don't remove unlinked reclaimable
  inodes from the reclaim list which would cause them to leak.

Revision 1.223 / (download) - annotate - [select for diffs], Tue Nov 7 14:39:38 2006 UTC (10 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.222: +6 -14 lines
Diff to previous 1.222 (colored)

Clean up i_flags and i_flags_lock handling.
Merge of xfs-linux-melb:xfs-kern:27358a by kenmcd.

  Use prepackaged i_flags handling functions.

Revision 1.222 / (download) - annotate - [select for diffs], Mon Oct 16 15:39:47 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.221: +1 -0 lines
Diff to previous 1.221 (colored)

Keep lockdep happy.
Merge of xfs-linux-melb:xfs-kern:27200a by kenmcd.

  Keep lockdep happy.

Revision 1.221 / (download) - annotate - [select for diffs], Thu Sep 14 03:48:58 2006 UTC (11 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.220: +6 -0 lines
Diff to previous 1.220 (colored)

Really fix use after free in xfs_iunpin.

The previous attempts to fix the linux inode use-after-free in
xfs_iunpin simply made the problem harder to hit. We actually need
complete exclusion between xfs_reclaim and xfs_iunpin, as well as
ensuring that the i_flags are consistent during both of these
functions. Introduce a new spinlock for exclusion and the i_flags,
and fix up xfs_iunpin to use igrab before marking the inode dirty.
Merge of xfs-linux-melb:xfs-kern:26964a by kenmcd.

  Use new i_flags_lock to protect i_flags.

Revision 1.220 / (download) - annotate - [select for diffs], Mon Sep 4 06:06:47 2006 UTC (11 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.219: +1 -1 lines
Diff to previous 1.219 (colored)

standardize on one sema init macro

One sema to rule them all, one sema to find them...

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

  standardize on one sema init macro

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

Add a greedy allocation interface, allocating within a min/max size range.
Merge of xfs-linux-melb:xfs-kern:26803a by kenmcd.

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

Add a debug flag for allocations which are known to be larger than one page.
Merge of xfs-linux-melb:xfs-kern:26800a by kenmcd.

Revision 1.217 / (download) - annotate - [select for diffs], Fri Aug 4 13:32:06 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.216: +8 -9 lines
Diff to previous 1.216 (colored)

Remove last bulkstat false-positives with debug kernels.
Merge of xfs-linux-melb:xfs-kern:26628a by kenmcd.

Revision 1.216 / (download) - annotate - [select for diffs], Sat Jun 17 06:08:37 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.215: +1 -1 lines
Diff to previous 1.215 (colored)

Kill direct access to ->count in valusema(); all we ever use it for is check
if semaphore is actually locked, which can be trivially done in portable way.
Code gets more reabable, while we are at it...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Merge of xfs-linux-melb:xfs-kern:26274a by kenmcd.

  Kill direct access to ->count in valusema(); all we ever use it for is check
  if semaphore is actually locked, which can be trivially done in portable way.

Revision 1.215 / (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.214: +0 -2 lines
Diff to previous 1.214 (colored)

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

Revision 1.214 / (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.213: +7 -9 lines
Diff to previous 1.213 (colored)

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

Revision 1.213 / (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.212: +2 -2 lines
Diff to previous 1.212 (colored)

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

Revision 1.212 / (download) - annotate - [select for diffs], Wed Apr 5 03:52:56 2006 UTC (11 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.211: +12 -17 lines
Diff to previous 1.211 (colored)

Fix inode reclaim scalability regression.
When a filesystem has millions of inodes cached and has sparse
cluster population, removing inodes from the cluster hash
consumes excessive amounts of CPU time. Reduce the CPU
cost by making removal O(1) via use of a double linked list
for the hash chains.
Merge of xfs-linux-melb:xfs-kern:25683a by kenmcd.

  Convert cluster hash list to a double linked list to
  speed xfs_iextract() when large numbers of inodes are cached.

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

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

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

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

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

add helper to get xfs_inode from vnode

Revision 1.208 / (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.207: +12 -26 lines
Diff to previous 1.207 (colored)

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

Revision 1.207 / (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.206: +7 -11 lines
Diff to previous 1.206 (colored)

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

Revision 1.206 / (download) - annotate - [select for diffs], Wed Aug 24 07:21:10 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.205: +1 -1 lines
Diff to previous 1.205 (colored)

use delay(), msleep() doesn't exist on 2.4.x

Revision 1.205 / (download) - annotate - [select for diffs], Wed Aug 24 05:35:11 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.204: +16 -12 lines
Diff to previous 1.204 (colored)

Retry linux inode cacech lookup if we found a stale inode.

This fixes crashes under high nfs load

Revision 1.204 / (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.203: +0 -11 lines
Diff to previous 1.203 (colored)

remove unessecary vnode flags

Revision 1.203 / (download) - annotate - [select for diffs], Tue Mar 22 14:05:07 2005 UTC (12 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.202: +50 -1 lines
Diff to previous 1.202 (colored)

Move the XFS inode to the front of its hash list on a cache hit.
Merge of xfs-linux-melb:xfs-kern:21915a by kenmcd.

Revision 1.202 / (download) - annotate - [select for diffs], Wed Mar 16 02:56:24 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.201: +7 -4 lines
Diff to previous 1.201 (colored)

Further improvements to the default XFS inode hash table sizing algorithms, resolving regressions reported with the previous change.
Merge of xfs-linux-melb:xfs-kern:21839a by kenmcd.

Revision 1.201 / (download) - annotate - [select for diffs], Thu Jan 13 02:57:13 2005 UTC (12 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.200: +3 -2 lines
Diff to previous 1.200 (colored)

Ensure the cluster hash size does not exceed the inode hash size.
Merge of xfs-linux-melb:xfs-kern:21109a by kenmcd.

Revision 1.200 / (download) - annotate - [select for diffs], Wed Dec 15 04:56:58 2004 UTC (12 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.199: +22 -23 lines
Diff to previous 1.199 (colored)

Fix a performance and scaling problem in xfs_iget_core.  Improved the inode hash table sizing heuristics, and allow these to be manually tweaked as well.
Merge of xfs-linux-melb:xfs-kern:20766a by kenmcd.

Revision 1.199 / (download) - annotate - [select for diffs], Wed Oct 27 12:06:24 2004 UTC (12 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.198: +34 -13 lines
Diff to previous 1.198 (colored)

handle inode creating race
make sure to avoid di_mode = 0 inodes unless creating new ones

Revision 1.198 / (download) - annotate - [select for diffs], Wed Oct 27 11:56:15 2004 UTC (12 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.197: +0 -0 lines
Diff to previous 1.197 (colored)

Handle inode creating race
make sure to avoid di_mode = 0 inodes unless creating new ones

Revision 1.197 / (download) - annotate - [select for diffs], Mon Sep 27 03:35:54 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.196: +0 -3 lines
Diff to previous 1.196 (colored)

Set and clear the MS_NOBKL flag only when safe to do so.
Merge of xfs-linux-melb:xfs-kern:19602a by kenmcd.

Revision 1.196 / (download) - annotate - [select for diffs], Wed Sep 22 21:55:51 2004 UTC (13 years ago) by hch
Branch: MAIN
Changes since 1.195: +2 -7 lines
Diff to previous 1.195 (colored)

fix handling of bad inodes
don't mark inodes bad in xfs_iput_new
use vn_mark_bad instead of remove_inode_hash and make_bad_inode

Revision 1.195 / (download) - annotate - [select for diffs], Fri Apr 2 00:43:47 2004 UTC (13 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.194: +3 -0 lines
Diff to previous 1.194 (colored)

Merge some LBS conditional codepaths
use MS_NOBKL if available

Revision 1.194 / (download) - annotate - [select for diffs], Mon Oct 20 04:21:43 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.193: +1 -10 lines
Diff to previous 1.193 (colored)

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

Revision 1.193 / (download) - annotate - [select for diffs], Mon Oct 6 18:11:55 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.192: +1 -0 lines
Diff to previous 1.192 (colored)

Implement deletion of inode clusters in XFS.
clear inode stale flag when reusing an inode

Revision 1.192 / (download) - annotate - [select for diffs], Thu Aug 21 19:47:57 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.191: +10 -10 lines
Diff to previous 1.191 (colored)

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

Revision 1.191 / (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.190: +1011 -0 lines
Diff to previous 1.190 (colored)

The Big Move
linux/fs/xfs/xfs_iget.c 1.189 Renamed to xfs_iget.c

Revision 1.190 / (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.189: +0 -1011 lines
Diff to previous 1.189 (colored)

Nuke

Revision 1.189 / (download) - annotate - [select for diffs], Fri Jun 13 03:08:42 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.188: +6 -4 lines
Diff to previous 1.188 (colored)

Fix deadlock between xfs_finish_reclaim and xfs_iget_core. An inode being
reclaimed and removed from memory by one thread while another thread
is attempting to reuse the inode and bring it back to life. There
was a window between the iget starting to reuse the inode and the
reclaim starting. Close the window by marking the inode as being
reused under the hash lock, and by abandoning the reclaim if this
is detected when it obtains the hash lock.
When a candidate inode is found in xfs_iget_core which has the potential
to be reclaimed, remove the XFS_IRECLAIMABLE flag under the inode hash
lock.

Revision 1.188 / (download) - annotate - [select for diffs], Mon May 5 17:44:11 2003 UTC (14 years, 5 months ago) by hch
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.187: +3 -5 lines
Diff to previous 1.187 (colored)

small fixes for the sync changes
remove racy list_empty check

Revision 1.187 / (download) - annotate - [select for diffs], Thu May 1 21:05:53 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.186: +13 -1 lines
Diff to previous 1.186 (colored)

Rework of how xfs syncs metadata to disk. This has a number of
benefits: We no longer walk the list of all the inodes in the
filesystem everytime the write_super is called. If you type
sync and then reset the box then everything is definitely
recovered afterwards. We remove a lot of calls to
mark_inode_dirty which did not really do us any good, and
replace them with a single one which does. kupdated does
less work in xfs now, freeing it to do other things.
Finally, get the dummy log record code working, this
means that after a period of inactivity with everything
on disk, we clean the log so that recovery does not
have any work to do.
process the i_reclaim list of unlinked inodes 

Revision 1.186 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
Changes since 1.185: +25 -1 lines
Diff to previous 1.185 (colored)

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

Revision 1.185 / (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.184: +30 -30 lines
Diff to previous 1.184 (colored)

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

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

Cleanup/remove a bunch of macros, comments and code.
Refine a comment.

Revision 1.183 / (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.182: +1 -3 lines
Diff to previous 1.182 (colored)

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.182 / (download) - annotate - [select for diffs], Mon Mar 17 02:46:55 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.181: +3 -4 lines
Diff to previous 1.181 (colored)

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.

Revision 1.181 / (download) - annotate - [select for diffs], Mon Mar 3 17:10:50 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.180: +0 -1 lines
Diff to previous 1.180 (colored)

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 from xfs_iget to vn_initialize

Revision 1.180 / (download) - annotate - [select for diffs], Tue Dec 17 12:10:47 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.179: +1 -3 lines
Diff to previous 1.179 (colored)

fix an out-of-date comment
fix an out-of-date comment


Revision 1.179 / (download) - annotate - [select for diffs], Tue Nov 5 20:37:58 2002 UTC (14 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.178: +2 -0 lines
Diff to previous 1.178 (colored)

Call remove_inode_hash() before make_bad_inode() in xfs, to
prevent us from picking it up again later, possibly at a
time that we really can't deal with it (such as in xfs_iget())

Revision 1.178 / (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.177: +1 -1 lines
Diff to previous 1.177 (colored)

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

Revision 1.177 / (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.176: +1 -1 lines
Diff to previous 1.176 (colored)

Replace STATIC with static in xfs code

Revision 1.176 / (download) - annotate - [select for diffs], Wed Oct 23 03:34:30 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.175: +0 -32 lines
Diff to previous 1.175 (colored)

Move a couple of routines with knowledge of pagebuf targets, block devices,
and struct inodes down in with the rest of the Linux-specific code.

Revision 1.175 / (download) - annotate - [select for diffs], Fri Oct 11 19:22:58 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.174: +0 -1 lines
Diff to previous 1.174 (colored)

Clean up xfs' log message printing
Remove extra newline from end of cmn_error messages

Revision 1.174 / (download) - annotate - [select for diffs], Wed Oct 2 17:25:30 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.173: +26 -37 lines
Diff to previous 1.173 (colored)

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.
Introduce xfs_revalidate_inode, this is a function to translate
internal xfs format inode fields into the linux inode format.
Move all vnode and inode linkage, and setup of the linux inode
into the VFS_INIT_INODE() call.

Revision 1.173 / (download) - annotate - [select for diffs], Mon Sep 30 16:40:16 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.172: +9 -8 lines
Diff to previous 1.172 (colored)

Set inode operations later in xfs_iget_core
Move setting the inode ops later in xfs_iget_core - init_special_inode might sleep.

Revision 1.172 / (download) - annotate - [select for diffs], Wed Sep 25 04:15:06 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.171: +0 -20 lines
Diff to previous 1.171 (colored)

Remove unused function xfs_vn_iget()
Remove unused function xfs_vn_iget()

Revision 1.171 / (download) - annotate - [select for diffs], Fri Sep 13 20:50:44 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.170: +5 -0 lines
Diff to previous 1.170 (colored)

xfs_iget error handling

Revision 1.170 / (download) - annotate - [select for diffs], Thu Sep 5 05:37:11 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.169: +0 -1 lines
Diff to previous 1.169 (colored)

remove an unneeded #include file.

Revision 1.169 / (download) - annotate - [select for diffs], Sun Sep 1 12:43:34 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.168: +16 -6 lines
Diff to previous 1.168 (colored)

deal with the case where we race between looking up and tearing down
a linux inode.

Revision 1.168 / (download) - annotate - [select for diffs], Thu Aug 22 14:47:34 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.167: +1 -3 lines
Diff to previous 1.167 (colored)

Remove unused arguments from vn_initialize
Clean up comment (inodes no longer moved up in hash list)

Revision 1.167 / (download) - annotate - [select for diffs], Mon Jul 22 20:50:38 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.166: +1 -1 lines
Diff to previous 1.166 (colored)

kill LINVFS_GET_VPTR

Revision 1.166 / (download) - annotate - [select for diffs], Mon Jul 22 16:43:26 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.165: +1 -3 lines
Diff to previous 1.165 (colored)

rework of inode-related core changes

Revision 1.165 / (download) - annotate - [select for diffs], Thu Jul 11 18:04:11 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.164: +0 -3 lines
Diff to previous 1.164 (colored)

remove unused variables

Revision 1.164 / (download) - annotate - [select for diffs], Thu Jul 11 17:18:33 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.163: +17 -51 lines
Diff to previous 1.163 (colored)

change ih_lock to an read/write spin lock

Revision 1.163 / (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.162: +52 -52 lines
Diff to previous 1.162 (colored)

whitespace cleanup

Revision 1.162 / (download) - annotate - [select for diffs], Thu Jun 13 19:40:15 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.161: +4 -4 lines
Diff to previous 1.161 (colored)

remove lock wait priotiry flags

Revision 1.161 / (download) - annotate - [select for diffs], Mon Jun 10 17:41:54 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.160: +1 -1 lines
Diff to previous 1.160 (colored)

remove read_inode method from xfs

Revision 1.160 / (download) - annotate - [select for diffs], Sat Jun 8 12:16:31 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.159: +10 -9 lines
Diff to previous 1.159 (colored)

If we are not dropping the ilock there is no need to call the
transaction system.

Revision 1.159 / (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.158: +1 -1 lines
Diff to previous 1.158 (colored)

Update copyright dates

Revision 1.158 / (download) - annotate - [select for diffs], Fri May 31 03:57:01 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.157: +1 -1 lines
Diff to previous 1.157 (colored)

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

Revision 1.157 / (download) - annotate - [select for diffs], Fri May 24 14:33:50 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.156: +1 -1 lines
Diff to previous 1.156 (colored)

Kill one of the kmem_zone_zalloc calls, we always initialize
all the fields anyway.

Revision 1.156 / (download) - annotate - [select for diffs], Wed May 22 16:30:23 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.155: +24 -1 lines
Diff to previous 1.155 (colored)

New xfs_iput_new routine to handle inodes that are still locked
Use xfs_iput_new for new inodes that are still locked

Revision 1.155 / (download) - annotate - [select for diffs], Mon May 13 17:37:59 2002 UTC (15 years, 5 months ago) by mraymond
Branch: MAIN
Changes since 1.154: +3 -2 lines
Diff to previous 1.154 (colored)

*** empty log message ***

Revision 1.154 / (download) - annotate - [select for diffs], Thu May 2 18:24:35 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.153: +2 -1 lines
Diff to previous 1.153 (colored)

fix a build error

Revision 1.153 / (download) - annotate - [select for diffs], Thu May 2 17:13:43 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.152: +11 -4 lines
Diff to previous 1.152 (colored)

Set linux inode ops in xfs_iget_vnode_init if we have the vn_type
Remove unlock_new_inode except for error cases

Revision 1.152 / (download) - annotate - [select for diffs], Tue Mar 26 16:19:25 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.151: +3 -2 lines
Diff to previous 1.151 (colored)

replace the sv and spinlock for inode pinning with a waitqueue and an
atomic_t

Revision 1.151 / (download) - annotate - [select for diffs], Wed Feb 13 21:33:50 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.150: +24 -56 lines
Diff to previous 1.150 (colored)

remove a layer of call stack from the xfs_ilock code, drop a flag which
was never used, and remove the recording of the lock holder.

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

remove KM_SLEEP_IO flag

Revision 1.149 / (download) - annotate - [select for diffs], Thu Jan 31 11:43:06 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.148: +1 -1 lines
Diff to previous 1.148 (colored)

Merge of 2.5.x-xfs:slinx:110319a by lord.

  vnode/inode layout and allocation changed

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

Pass SLAB_KERNEL or SLAB_NOFS into icreate depending on being in a
transaction or not.

Revision 1.147 / (download) - annotate - [select for diffs], Fri Aug 31 15:23:27 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.146: +0 -22 lines
Diff to previous 1.146 (colored)

Merge irix6.5f:irix:101976b
Remove cxfs quiesce calls, this is all handled from within cxfs now.

Revision 1.146 / (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.145: +7 -0 lines
Diff to previous 1.145 (colored)

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

Revision 1.145 / (download) - annotate - [select for diffs], Tue Jun 19 01:57:21 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.144: +14 -16 lines
Diff to previous 1.144 (colored)

Deal correctly with icreate failure

Revision 1.144 / (download) - annotate - [select for diffs], Sun May 27 20:46:48 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.143: +16 -3 lines
Diff to previous 1.143 (colored)

Look out for inode which are being freed or cleared when scanning
the xfs inode hash for a match, skip these entries, drop the locks
and try again.

Revision 1.143 / (download) - annotate - [select for diffs], Fri May 25 20:59:15 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.142: +1 -1 lines
Diff to previous 1.142 (colored)

Fix statistics kept on inode lookup calls - we were double counting one case

Revision 1.142 / (download) - annotate - [select for diffs], Fri May 25 20:33:07 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.141: +81 -109 lines
Diff to previous 1.141 (colored)

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.141 / (download) - annotate - [select for diffs], Mon May 21 15:53:42 2001 UTC (16 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.140: +15 -14 lines
Diff to previous 1.140 (colored)

Minor code cleanup - no fix, just easier to read

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

minor code cleanup

Revision 1.139 / (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.138: +2 -4 lines
Diff to previous 1.138 (colored)

remove unused argument from vn_alloc 

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

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

Revision 1.137 / (download) - annotate - [select for diffs], Mon Apr 16 22:49:09 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored)

Add new memory flag to indicate IO during allocation is OK

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

Get rid of the last compiler warning OFF flags

Revision 1.135 / (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.134: +1 -1 lines
Diff to previous 1.134 (colored)

add ATTR_COMM to vn_revalidate flag word, from here we always want
to fill in all inode fields.

Revision 1.134 / (download) - annotate - [select for diffs], Tue Apr 3 02:52:38 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

support group quotas in Linux/XFS.

Revision 1.133 / (download) - annotate - [select for diffs], Mon Mar 26 21:57:23 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.132: +9 -3 lines
Diff to previous 1.132 (colored)

Fix the previous fix - forgot about a couple of cases, aim7 is now
up to a load of 300 on my puny little test box.

Revision 1.132 / (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.131: +3 -1 lines
Diff to previous 1.131 (colored)

Change xfs_iget to call vn_free rather than vn_rele in a race case
where two threads create the same inode at once.

Revision 1.131 / (download) - annotate - [select for diffs], Sun Mar 18 00:26:19 2001 UTC (16 years, 7 months ago) by ananth
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.130: +7 -2 lines
Diff to previous 1.130 (colored)

Handle out of memory conditions on vn_alloc.

Revision 1.130 / (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.129: +4 -2 lines
Diff to previous 1.129 (colored)

Pass  flag to vn_alloc to indicate if we are within a transaction or not

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

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

Revision 1.128 / (download) - annotate - [select for diffs], Thu Sep 14 02:15:33 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.127: +3 -0 lines
Diff to previous 1.127 (colored)

remove VN_FLAGSET and VN_FLAGCLR calls from xfs_iget, the state is
not used on Linux, and it can cause a deadlock when called via read_inode.

Revision 1.127 / (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.126: +13 -57 lines
Diff to previous 1.126 (colored)

get rid of confusing sim path, do not pass a dev_t to vn_alloc, replave
vn_put with vn_rele

Revision 1.126 / (download) - annotate - [select for diffs], Fri Aug 18 19:27:11 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.125: +1 -2 lines
Diff to previous 1.125 (colored)

Remove reference to vp->v_rdev it is gone.

Revision 1.125 / (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.124: +5 -9 lines
Diff to previous 1.124 (colored)

pv 797297 tidy handling of IRIX device numbers

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

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

Revision 1.123 / (download) - annotate - [select for diffs], Mon Jul 17 03:09:37 2000 UTC (17 years, 3 months ago) by dxm
Branch: MAIN
Changes since 1.122: +7 -1 lines
Diff to previous 1.122 (colored)

fix previously broken build.

Revision 1.122 / (download) - annotate - [select for diffs], Sat Jul 15 02:09:35 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.121: +14 -23 lines
Diff to previous 1.121 (colored)

Change to avoid nested hash locking due to callbacks out of the linux
inode layer - including allocating a new inode causing an icache prune.

Revision 1.121 / (download) - annotate - [select for diffs], Tue Jul 11 05:09:24 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored)

fix incorrect comment, use same XFS_BUCKETS macro for m_chash as used for
m_ihash, since code is the same.

Revision 1.120 / (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.119: +2 -10 lines
Diff to previous 1.119 (colored)

removed imon stuff after discussion with Rusty.

Revision 1.119 / (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.118: +136 -21 lines
Diff to previous 1.118 (colored)

Break xfs_iget into xfs_iget_core, called by xfs_iget
or xfs_vn_iget, with indications of internal/external
origination of setup.  For external, a vnode area is
already allocated, use it.
Insert the vn_alloc'd linux-inode/vnode into the icache
hash when necessaary.


Revision 1.118 / (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.117: +2 -2 lines
Diff to previous 1.117 (colored)

Update vn_revalidate call arguments.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Jun 15 03:01:24 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.116: +1 -2 lines
Diff to previous 1.116 (colored)

ongoing code cleanup, remove unused headers, dead code.

Revision 1.116 / (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.115: +1 -9 lines
Diff to previous 1.115 (colored)

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

Revision 1.115 / (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.114: +110 -24 lines
Diff to previous 1.114 (colored)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Change vn_get/vn_alloc calls.

Merge of 2.3.99pre2-xfs:slinx:62919a originally by jtk on 05/26/00
  In xfs_iget(), do the vn_get() under protection of the hash queue
  lock in order to guarantee that the linux inode address is truly
  valid at the moment we're looking for the I_FREEING flag.

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

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

Merge of 2.3.99pre2-xfs:slinx:63306a originally by dxm on 06/04/00
  RT/GRIO checkin

Merge of 2.3.99pre2-xfs:slinx:63404a originally by lord on 06/06/00
  Change xfs_iget to recreate a vnode for inodes which have been deleted
  put not yet purged from the filesystem. This is closer to the irix way of
  doing things.

Merge of 2.3.99pre2-xfs:slinx:63599a originally by lord on 06/07/00
  synchronize better between one thread finishing a reclaim and
  another putting a vnode back in the xfs inode, it was possible
  for both to happen and the end result would be nasty.

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

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

  Fill in v_nodeid on an xfs_iget.

Revision 1.113 / (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.112: +31 -0 lines
Diff to previous 1.112 (colored)

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

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

cleanup XFS use of device types
Merge of 2.3.99pre2-xfs:slinx:55615a by ananth.

  Merge of 2.3.42-xfs:slinx:55615a by lord.

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

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

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

Revision 1.110 / (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.109: +2 -4 lines
Diff to previous 1.109 (colored)

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

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

Revision 1.109 / (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.108: +0 -4 lines
Diff to previous 1.108 (colored)

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.108 / (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.107: +19 -11 lines
Diff to previous 1.107 (colored)

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.107 / (download) - annotate - [select for diffs], Mon Jan 24 21:38:02 2000 UTC (17 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.106: +5 -1 lines
Diff to previous 1.106 (colored)

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:34672a created by doucette on 12/03/99
  When iget'ing an inode from the cache that has a new identity be sure
  to reinitialize the iocore fields.  Assert that the realtime bit in iocore
  flags is correct.

Revision 1.106 / (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.105: +2 -2 lines
Diff to previous 1.105 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.105 / (download) - annotate - [select for diffs], Thu Oct 28 10:47:42 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.104: +7 -1 lines
Diff to previous 1.104 (colored)

Make the quiesce_new variable a strictly cell capable
kernel thing, it was being checked in an assert on
non cell_capable systems when it was not initialized.

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

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

Revision 1.103 / (download) - annotate - [select for diffs], Tue Jun 15 23:57:31 1999 UTC (18 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.102: +51 -55 lines
Diff to previous 1.102 (colored)

Move code which removes an inode from the cluster hash
structures into the xfs_iextract() function and hack under
the same locks as it used to be.

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

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

Revision 1.101 / (download) - annotate - [select for diffs], Tue Feb 23 17:25:02 1999 UTC (18 years, 7 months ago) by leedom
Branch: MAIN
Changes since 1.100: +2 -0 lines
Diff to previous 1.100 (colored)

Fix small build breakage introduced by previous checkin.  All uses of
ASSERT_ALWAYS() in the XFS code need to be guarded with #ifndef SIM in order
to prevent them from turning into unresolved references in the XFS user-land
libsim used by many of the XFS support commands.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Feb 22 23:57:05 1999 UTC (18 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.99: +154 -1 lines
Diff to previous 1.99 (colored)

Functions to allocate and free the per-mountpoint cluster hash
list.

Add hash list insertion to xfs_iget.

Add hash list removal (including removal of a per-cluster inode
list) to xfs_ireclaim.

Due to a multithreading bug, a mod was yanked and is being replaced
with this one.  Allocation of xfs_chashlist structures has been now
been changed to re-search the hash chain to see if this is a
double-insert.

Revision 1.99 / (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.98: +3 -2 lines
Diff to previous 1.98 (colored)

Change includes for v2 directory support.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Jul 12 03:57:42 1998 UTC (19 years, 3 months ago) by bbowen
Branch: MAIN
Changes since 1.97: +129 -33 lines
Diff to previous 1.97 (colored)

566573 - added support for nested locking (one inode per
uthread at a time) and lock demotion to handle file i/o
using recursively mmapped buffers

Revision 1.97 / (download) - annotate - [select for diffs], Fri Jun 12 22:40:27 1998 UTC (19 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

Initialize mrlock with option to allow an accessor to jump over
an updator of equal priority. (bug #607920).

Revision 1.96 / (download) - annotate - [select for diffs], Sat Mar 28 13:02:46 1998 UTC (19 years, 6 months ago) by kcm
Branch: MAIN
Changes since 1.95: +10 -1 lines
Diff to previous 1.95 (colored)

Set VENF_LOCKING flag in xfs_iget if mandatory locking.
pv: 584905
rv: lord@sdiv.cray.com

Revision 1.95 / (download) - annotate - [select for diffs], Sat Mar 28 03:28:42 1998 UTC (19 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.94: +6 -6 lines
Diff to previous 1.94 (colored)

mark ilock, iolock, and flush lock waiters long-term waiters
pv: 577808, rv: kayuri@engr

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

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

Revision 1.93 / (download) - annotate - [select for diffs], Sat Dec 20 00:57:37 1997 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

Clean up warnings in simulation build.
Don't use FREQUENT tag on mips_frequency_hint pragmas,
it's not defined to do anything useful.
pv: 538827
rv: mostek@cray.com

Revision 1.92 / (download) - annotate - [select for diffs], Tue Nov 25 01:32:45 1997 UTC (19 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.91: +8 -8 lines
Diff to previous 1.91 (colored)

clean up o32 simulation build (fix warnings).  pv: 545936, rv: doucette@engr

Revision 1.91 / (download) - annotate - [select for diffs], Wed Sep 17 20:55:32 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.90: +24 -4 lines
Diff to previous 1.90 (colored)

rework xfs_ilock code to record the return address of
the routine that locked the inode

Revision 1.90 / (download) - annotate - [select for diffs], Tue Sep 16 21:56:28 1997 UTC (20 years, 1 month ago) by nowicki
Branch: MAIN
Changes since 1.89: +47 -44 lines
Diff to previous 1.89 (colored)

Use a multi-reader lock on the xfs inode hash table to get better
concurrency. Also scale up the buckets with the allocation group count.

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

Add a vnode trace point.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Aug 28 22:52:24 1997 UTC (20 years, 1 month ago) by kayuri
Branch: MAIN
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored)

Initialized the inode readahead state lock, i_rlock. (bug 516806).

Revision 1.87 / (download) - annotate - [select for diffs], Fri Aug 8 23:53:31 1997 UTC (20 years, 2 months ago) by nowicki
Branch: MAIN
Changes since 1.86: +9 -24 lines
Diff to previous 1.86 (colored)

Make hash bucket number a constant. The number does not seem critical,
so we will go with 256 buckets per file system for now. Should save
a bit of memory from the 512/1024 buckets we had before.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Jul 25 07:46:14 1997 UTC (20 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored)

492728 - add inode pinlock initialization

Revision 1.85 / (download) - annotate - [select for diffs], Sat Jun 14 01:44:30 1997 UTC (20 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored)

Make the iolock be a BARRIER mrlock instead of the default.
This makes it force new readers to wait if there's a writer waiting,
insuring some fairness.

Revision 1.84 / (download) - annotate - [select for diffs], Thu Jun 5 21:53:46 1997 UTC (20 years, 4 months ago) by sp
Branch: MAIN
Changes since 1.83: +1 -2 lines
Diff to previous 1.83 (colored)

Delete UNIKERNEL

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jun 3 19:05:22 1997 UTC (20 years, 4 months ago) by dnoveck
Branch: MAIN
Changes since 1.82: +2 -5 lines
Diff to previous 1.82 (colored)

Turn on VN_CELL_SUPPORT for all vnodes.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Apr 6 02:57:14 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.81: +10 -2 lines
Diff to previous 1.81 (colored)

Implement xfs_ilock_trace() to track down ilocks not getting released in
error handling paths.

Revision 1.81 / (download) - annotate - [select for diffs], Tue Mar 25 19:07:51 1997 UTC (20 years, 6 months ago) by pjr
Branch: MAIN
Changes since 1.80: +5 -4 lines
Diff to previous 1.80 (colored)

support for bhv2_head_t in vnodes

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

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

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jul 27 22:28:44 1996 UTC (21 years, 2 months ago) by montep
Branch: MAIN
Changes since 1.78: +9 -9 lines
Diff to previous 1.78 (colored)

merge ficus into kudzu (1.73.1.2 ... 1.73.1.3)
> ----------------------------
> revision 1.73.1.3
> date: 1996/07/26 17:30:32;  author: yohn;  state: Exp;  lines: +9 -9
> converted xfs to use the fast-path mrlock routines, mraccess and mrupdate
> =============================================================================

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jul 25 02:29:22 1996 UTC (21 years, 2 months ago) by pjr
Branch: MAIN
Changes since 1.77: +5 -2 lines
Diff to previous 1.77 (colored)

setup cell support differently for ISVDEV vnodes

Revision 1.77 / (download) - annotate - [select for diffs], Sat Jul 20 06:36:51 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

merge ficus into kudzu (1.73.1.1 ... 1.73.1.2)

Revision 1.76 / (download) - annotate - [select for diffs], Sat Jul 13 22:36:37 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.75: +9 -7 lines
Diff to previous 1.75 (colored)

merge ficus into kudzu (1.73 ... 1.73.1.1)

Revision 1.75 / (download) - annotate - [select for diffs], Thu Jun 27 21:53:13 1996 UTC (21 years, 3 months ago) by pjr
Branch: MAIN
Changes since 1.74: +1 -0 lines
Diff to previous 1.74 (colored)

add call to VN_CELL_SUPPORT macro

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jun 20 23:56:32 1996 UTC (21 years, 3 months ago) by pjr
Branch: MAIN
Changes since 1.73: +2 -1 lines
Diff to previous 1.73 (colored)

include imon.h

Revision 1.73 / (download) - annotate - [select for diffs], Wed May 15 21:55:02 1996 UTC (21 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.72: +10 -1 lines
Diff to previous 1.72 (colored)

disk quota hooks.
initialize and destroy ip->i_*dquot ptrs.

Revision 1.72 / (download) - annotate - [select for diffs], Wed May 1 22:21:44 1996 UTC (21 years, 5 months ago) by nawaf
Branch: MAIN
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored)

Get rid of SRECALC and PRECALC

Revision 1.71 / (download) - annotate - [select for diffs], Tue Apr 30 22:10:40 1996 UTC (21 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

357358 Pass in 0 for the new vn_get() parameter.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Apr 26 22:54:15 1996 UTC (21 years, 5 months ago) by yohn
Branch: MAIN
Changes since 1.69: +5 -5 lines
Diff to previous 1.69 (colored)

vnode's v_number changed to uint64_t

Revision 1.69 / (download) - annotate - [select for diffs], Fri Apr 19 18:27:07 1996 UTC (21 years, 6 months ago) by pjr
Branch: MAIN
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

Move position of behavior layer from behavior descriptor to ops vector.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Apr 12 21:14:26 1996 UTC (21 years, 6 months ago) by huy
Branch: MAIN
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

changes to allow stacking of different vfs behaviors on the same mount point.

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

Changes for vnodes with behaviors.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Mar 30 02:08:49 1996 UTC (21 years, 6 months ago) by yohn
Branch: MAIN
Changes since 1.65: +7 -10 lines
Diff to previous 1.65 (colored)

makesname made private, and new lock initialization routines created to support sequenced debugging names

Revision 1.65 / (download) - annotate - [select for diffs], Thu Mar 28 01:18:38 1996 UTC (21 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.64: +2 -0 lines
Diff to previous 1.64 (colored)

Add asserts to catch bug 362841.

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

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

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

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

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

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

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

Add include of xfs_macros.h.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Aug 8 18:21:30 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.59: +1 -2 lines
Diff to previous 1.59 (colored)

Remove include for sys/fs/xfs/xfs_inode_item.h, no longer needed.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Aug 8 01:26:33 1995 UTC (22 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored)

Clear the m_ihash and m_ihashmask fields when freeing
the inode hash table.  This makes it possible to determine
if it has already been freed.

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

Inode space reduction: move inode items out of line; remove i_dmevents.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Jun 8 18:35:48 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.56: +13 -9 lines
Diff to previous 1.56 (colored)

Add btree block and inode readahead for bulkstat.

Revision 1.56 / (download) - annotate - [select for diffs], Sat May 27 00:49:08 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.55: +6 -6 lines
Diff to previous 1.55 (colored)

278786 - Set the PRECALC flag in the priority field
of our sleeping semaphore and mrlock calls.  This should
keep us from getting into situations where the inode
lock is handed from one process to another at very
high priority over and over again.  We've never seen it
with XFS, but it was a real problem with EFS.

Revision 1.55 / (download) - annotate - [select for diffs], Tue May 9 21:21:39 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.54: +4 -5 lines
Diff to previous 1.54 (colored)

Add support for in-core and on-disk inodes with both data and
attribute forks, or just a data fork.  Change all the data structures
and macros used to manipulate the variable portion of the inode, to
support this feature.

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

Change include sequence as a result of directory/attribute code restructuring.

Revision 1.53 / (download) - annotate - [select for diffs], Thu May 4 18:14:08 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.52: +2 -0 lines
Diff to previous 1.52 (colored)

Don't include the call to IMON_HOOK in the simulation.

Revision 1.52 / (download) - annotate - [select for diffs], Wed May 3 21:40:36 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.51: +15 -4 lines
Diff to previous 1.51 (colored)

260901 - Add a callout to the IMON_HOOK routine to xfs_iget.
This allows us to work with imon.

Revision 1.51 / (download) - annotate - [select for diffs], Tue May 2 00:33:51 1995 UTC (22 years, 5 months ago) by yohn
Branch: MAIN
Changes since 1.50: +6 -6 lines
Diff to previous 1.50 (colored)

changed various lock_t and sema_t locks to mutex_t; changed bli_refcount
management to use atomicAddInt so xfs_bli_reflock spinlock could be
removed entirely

Revision 1.50 / (download) - annotate - [select for diffs], Sat Apr 29 17:26:15 1995 UTC (22 years, 5 months ago) by tap
Branch: MAIN
Changes since 1.49: +1 -2 lines
Diff to previous 1.49 (colored)

removed the initialization of i_ticketlock. It is nolonger necessary.

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

First cut at disk error handling

Revision 1.48 / (download) - annotate - [select for diffs], Sat Apr 1 06:03:48 1995 UTC (22 years, 6 months ago) by yohn
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

i_pinsema changed to sync-variable

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

Add an #ident line.
Include xfs_dir.h before xfs_dinode.h since it now has a dependency.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 9 03:50:48 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.45: +6 -1 lines
Diff to previous 1.45 (colored)

Make the inode hash table bigger on
big servers (use ncsize).

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 31 18:59:03 1995 UTC (22 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.44: +0 -5 lines
Diff to previous 1.44 (colored)

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

Revision 1.44 / (download) - annotate - [select for diffs], Fri Dec 30 23:50:03 1994 UTC (22 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.43: +1 -1 lines
Diff to previous 1.43 (colored)

Move #include for sys/param.h inside #define _KERNEL 1 to make
ragnarok compile errors go away, for cmd/xfs/sim.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 5 18:25:00 1994 UTC (22 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.42: +2 -0 lines
Diff to previous 1.42 (colored)

xfs_iget should return null if xfs_iread can't read the inode (or if
it has a bad magic number) instead of continuing and taking a trap,
or otherwise screwing up.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Dec 1 02:14:49 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.41: +2 -0 lines
Diff to previous 1.41 (colored)

ifdef out the range lock for now.  It is unused.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Nov 3 02:28:22 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 (colored)

Set i_dmevents from disk inode.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Sep 15 21:55:27 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.39: +22 -6 lines
Diff to previous 1.39 (colored)

Change the inode list to a doubly linked circular list.

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

Add xfs statistics support for osview (per-processor counters for
file system actions).

Revision 1.38 / (download) - annotate - [select for diffs], Wed Aug 31 22:34:47 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.37: +2 -3 lines
Diff to previous 1.37 (colored)

Fix a small race condition in xfs_iget() that noone
has ever seen.  Just make sure that all inode fields are
initialized before releasing the hash lock since that makes
the inode public.

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

Add code to initialize the new range lock stuff.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Aug 6 03:59:42 1994 UTC (23 years, 2 months ago) by orosz
Branch: MAIN
Changes since 1.35: +2 -0 lines
Diff to previous 1.35 (colored)

Added dmi support.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 26 23:02:56 1994 UTC (23 years, 2 months ago) by tap
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)

change i_ticketlock to a spin lock.

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

Eliminate include of <sys/uuid.h>.

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

Fix up vnode tracing so VN_RELE, VN_HOLD invoke it automatically.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jun 7 00:27:11 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.31: +5 -0 lines
Diff to previous 1.31 (colored)

Add vnode tracing code.

Revision 1.31 / (download) - annotate - [select for diffs], Tue May 17 21:25:34 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.30: +60 -5 lines
Diff to previous 1.30 (colored)

Add xfs_ilock_map_shared() and xfs_iunlock_map_shared()
for those places which want to lock the extents map
shared but aren't sure whether the extents have been
read in yet.

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 12 01:51:25 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.29: +10 -4 lines
Diff to previous 1.29 (colored)

Accept new flag XFS_IUNLOCK_NONOTIFY in xfs_iunlock()
and don't call xfs_trans_unlocked_item() if it is passed
int.

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 10 21:53:28 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.28: +6 -0 lines
Diff to previous 1.28 (colored)

Add a call to xfs_trans_unlocked_item() to xfs_iunlock().

Revision 1.28 / (download) - annotate - [select for diffs], Wed May 4 00:21:05 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

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

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

add "sys/uuid.h" include file.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Apr 6 20:59:20 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

Clean up a stupid little goto in xfs_iget().

Revision 1.25 / (download) - annotate - [select for diffs], Tue Apr 5 23:07:10 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.24: +14 -0 lines
Diff to previous 1.24 (colored)

Add xfs_ihash_free, to free inode hash structures allocated by mount, at
umount time.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Mar 31 01:07:18 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.23: +17 -5 lines
Diff to previous 1.23 (colored)

Add support to xfs_ireclaim() needed for xfs_sync().

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 24 01:21:30 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.22: +1 -0 lines
Diff to previous 1.22 (colored)

initialize inode ticket lock in xfs_iget().

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

Remove xfs_iinactive stub.

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

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

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 1 23:57:56 1994 UTC (23 years, 7 months ago) by jleong
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Added another check of the lock flag so that xfs_iget() can be called without
locking the inode.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 22 16:29:43 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.18: +1 -0 lines
Diff to previous 1.18 (colored)

add include file sys/grio.h.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 18 01:06:11 1994 UTC (23 years, 8 months ago) by wei_hu
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Allow iget() to be called without locking the inode.

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

Fix includes after splitting xfs_alloc_btree.h off from xfs_alloc.h.

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

Fix includes after splitting xfs_bmap_btree.h off from xfs_bmap.h.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 19 00:29:52 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

Move definitions for kmem_... functions out of sim.h, use sys/kmem.h instead.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 4 22:55:29 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.13: +0 -2 lines
Diff to previous 1.13 (colored)

Remove the #ifdef SIM around the definition of XFS_IGETINFO, so
kernel build will work.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 31 01:55:15 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.12: +1 -0 lines
Diff to previous 1.12 (colored)

First cut at making the transaction
code use the log manager interfaces.  xfs_trans.h now
depends on xfs_log.h, so we need to include it.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Dec 29 03:04:13 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.11: +187 -32 lines
Diff to previous 1.11 (colored)

Clean up the code and comments.
Change the inode locking scheme to use 2 multi-reader locks, one
for the inode data and one to allow parallel I/O.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 20 19:27:30 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.10: +5 -18 lines
Diff to previous 1.10 (colored)

Enable the vnode calls and add xfs_idestroy call to xfs_ireclaim
now that it is used.

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

Remove include for xfs.h, this file has been removed.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 9 06:06:02 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.8: +7 -4 lines
Diff to previous 1.8 (colored)

Various cleanups to get kernel-mode make to work.  Fix includes and
other problems for #ifndef SIM code.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 25 01:24:06 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.7: +2 -0 lines
Diff to previous 1.7 (colored)

Init inode pinning semaphores.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 19 21:42:10 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.6: +1 -0 lines
Diff to previous 1.6 (colored)

Include sys/uuid.h everywhere.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 19 00:16:14 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.5: +5 -0 lines
Diff to previous 1.5 (colored)

Get rid of vp reference for now.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 18 17:13:12 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

Minor bug fixes.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 17 02:14:37 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.3: +74 -0 lines
Diff to previous 1.3 (colored)

Added xfs_inode_incore and support for new i_flock.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 17 01:42:04 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.2: +6 -3 lines
Diff to previous 1.2 (colored)

Get rid of warnings from ragnarok compilers by adding casts, changing
types, adding lint comments.
Get rid of xfs_extdesc_t, replace with xfs_bmbt_rec_t.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 13 00:42:09 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.1: +10 -44 lines
Diff to previous 1.1 (colored)

Removed xfs_irealloc.  Ifdef'd out vnode stuff for now.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 11 19:47:43 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>