CVS log for xfs-linux/xfs_vfsops.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.581 / (download) - annotate - [select for diffs], Wed Oct 22 03:11:34 2008 UTC (8 years, 11 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.580: +0 -1 lines
Diff to previous 1.580 (colored)

kill struct xfs_mount_args

No need to parse the mount option into a structure before applying it
to struct xfs_mount.

The content of xfs_start_flags gets merged into xfs_parseargs.  Calls
inbetween don't care and can use mount members instead of the args
struct.

This patch uncovered that the mount option for shared filesystems wasn't
ever exposed on Linux.  The code to handle it is #if 0'ed in this patch
pending a decision on this feature.  I'll send a writeup about it to
the list soon.


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

  kill struct xfs_mount_args 

Revision 1.580 / (download) - annotate - [select for diffs], Mon Oct 13 15:14:06 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.579: +0 -55 lines
Diff to previous 1.579 (colored)

Move remaining quiesce code.

With all the other filesystem sync code it in xfs_sync.c
including the data quiesce code, it makes sense to move
the remaining quiesce code to the same place.

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

  Move remaining quiesce code.

Revision 1.579 / (download) - annotate - [select for diffs], Mon Oct 13 15:10:48 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.578: +0 -1 lines
Diff to previous 1.578 (colored)

make SYNC_DELWRI no longer use xfs_sync

Continue to de-multiplex xfs_sync be replacing all SYNC_DELWRI
callers with direct calls functions that do the work. Isolate the
data quiesce case to a function in xfs_sync.c. Isolate the
FSDATA case with explicit calls to xfs_sync_fsdata().

Version 2:
o Push delwri related log forces into xfs_sync_inodes().

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

  make SYNC_DELWRI no longer use xfs_sync

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

make SYNC_ATTR no longer use xfs_sync

Continue to de-multiplex xfs_sync be replacing all SYNC_ATTR
callers with direct calls xfs_sync_inodes(). Add an assert
into xfs_sync() to ensure we caught all the SYNC_ATTR callers.

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

  make SYNC_ATTR no longer use xfs_sync

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

use xfs_sync_inodes rather than xfs_syncsub

Kill the unused arg in xfs_syncsub() and xfs_sync_inodes().  For
callers of xfs_syncsub() that only want to flush inodes, replace
xfs_syncsub() with direct calls to xfs_sync_inodes() as that is all
that is being done with the specific flags being passed in.

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

  use xfs_sync_inodes rather than xfs_syncsub

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

Remove xfs_iflush_all and clean up xfs_finish_reclaim_all()

xfs_iflush_all() walks the m_inodes list to find inodes that
need reclaiming. We already have such a list - the m_del_inodes
list. Replace xfs_iflush_all() with a call to xfs_finish_reclaim_all()
and clean up xfs_finish_reclaim_all() to handle the different flush
modes now needed.

Originally based on a patch from Christoph Hellwig.

Version 3
o rediff against new linux-2.6/xfs_sync.c code

Version 2
o revert xfs_syncsub() inode reclaim behaviour back to original
  code
o xfs_quiesce_fs() should use XFS_IFLUSH_DELWRI_ELSE_ASYNC, not
  XFS_IFLUSH_ASYNC, to prevent change of behaviour.

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

  Remove xfs_iflush_all and clean up xfs_finish_reclaim_all()

Revision 1.575 / (download) - annotate - [select for diffs], Fri Oct 10 05:30:53 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.574: +1 -559 lines
Diff to previous 1.574 (colored)

move sync code to its own file

The sync code in XFS is spread around several files.
While it used to make sense to have such a distribution,
the code is about to be cleaned up and so centralising it
in one spot as the first step makes sense.

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

  move sync code to its own file

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

kill bhv_vnode_t

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


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

  kill bhv_vnode_t

Revision 1.573 / (download) - annotate - [select for diffs], Mon Jul 28 03:53:33 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.572: +1 -2 lines
Diff to previous 1.572 (colored)

remove some easy bhv_vnode_t instances

In various places we can just move a VFS_I call into the argument list
of called functions/macros instead of having a local bhv_vnode_t.


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

  remove some easy bhv_vnode_t instances

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

Kill shouty XFS_ITOV() macro

Replace XFS_ITOV() with the new VFS_I() inline.

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

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

Avoid directly referencing the VFS inode V2

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

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

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

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

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

streamline init/exit path

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

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

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

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

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

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

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

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

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

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

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

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

Revision 1.567 / (download) - annotate - [select for diffs], Tue May 20 04:30:53 2008 UTC (9 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.566: +0 -369 lines
Diff to previous 1.566 (colored)

merge xfs_mount into xfs_fs_fill_super

xfs_mount is already pretty linux-specific so merge it into
xfs_fs_fill_super to allow for a more structured mount code in the next
patches. xfs_start_flags and xfs_finish_flags also move to xfs_super.c.


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

  merge xfs_mount into xfs_fs_fill_super.

Revision 1.566 / (download) - annotate - [select for diffs], Tue May 20 04:30:01 2008 UTC (9 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.565: +0 -87 lines
Diff to previous 1.565 (colored)

merge xfs_unmount into xfs_fs_put_super / xfs_fs_fill_super

xfs_unmount is small and already pretty Linux specific, so merge it into
the callers.  The real unmount path is simplified a little by doing a
WARN_ON on the xfs_unmount_flush retval directly instead of propagating
the error back to the caller, and the mout failure case in simplified
significantly by removing the forced shutdown case and all the dmapi
events that shouldn't be sent because the dmapi mount event hasn't been
sent by that time either.


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

  merge xfs_unmount into xfs_fs_put_super / xfs_fs_fill_super

Revision 1.565 / (download) - annotate - [select for diffs], Mon May 19 16:12:35 2008 UTC (9 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.564: +0 -24 lines
Diff to previous 1.564 (colored)

merge xfs_mntupdate into xfs_fs_remount

xfs_mntupdate already is completely Linux specific due to the VFS flags
passed in, so it might aswell be merged into xfs_fs_remount.


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

  merge xfs_mntupdate into xfs_fs_remount.

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

Remove unused arg from kmem_free()

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

This patch removes size argument from all callsites.

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

  Remove unused arg from kmem_free()

Revision 1.563 / (download) - annotate - [select for diffs], Tue Apr 29 06:14:02 2008 UTC (9 years, 5 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.562: +8 -1 lines
Diff to previous 1.562 (colored)

Fix up noattr2 so that it will properly update the versionnum and features2 fields.

Previously, mounting with noattr2 failed to achieve anything because
although it cleared the attr2 mount flag, it would set it again as soon as
it processed the superblock fields.
The fix now has an explicit noattr2 flag and uses it later to fix up the
versionnum and features2 fields.
Merge of xfs-linux-melb:xfs-kern:31003a by kenmcd.

  don't turn on attr2 from sb if we are mounted with noattr2.

Revision 1.562 / (download) - annotate - [select for diffs], Mon Apr 28 16:17:59 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.561: +1 -0 lines
Diff to previous 1.561 (colored)

remove xfs_log_ticket_zone on rmmod

Fix bug introduced in commit eb01c9cd87c7a9998c2edf209721ea069e3e3652
aka "[XFS] Remove the xlog_ticket allocator"

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Merge of xfs-linux-melb:xfs-kern:30995a by kenmcd.

  remove xfs_log_ticket_zone on rmmod

Revision 1.561 / (download) - annotate - [select for diffs], Thu Apr 10 06:17:06 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.560: +0 -13 lines
Diff to previous 1.560 (colored)

Remove periodic logging of in-core superblock counters.

xfssyncd triggers the logging of superblock counters every
30s if the filesystem is made with lazy-count=1. This will
prevent disks from idling and spinning down as there will
be a log write every 30s. With the way counter recovery
works for lazy-count=1, this code is unnecessary and provides
no real benefit, so just remove it.
Merge of xfs-linux-melb:xfs-kern:30840a by kenmcd.

  Remove periodic logging of in-core superblock counters.

Revision 1.560 / (download) - annotate - [select for diffs], Wed Apr 9 16:29:46 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.559: +12 -3 lines
Diff to previous 1.559 (colored)

Propagate errors from xfs_trans_commit().

xfs_trans_commit() can return errors when there are problems
in the transaction subsystem. They are indicative that the entire
transaction may be incomplete, and hence the error should be
propagated as there is a good possibility that there is something
fatally wrong in the filesystem. Catch and propagate or warn
about commit errors in the places where they are currently ignored.
Merge of xfs-linux-melb:xfs-kern:30795a by kenmcd.

  Propagate errors from xfs_trans_commit()

Revision 1.559 / (download) - annotate - [select for diffs], Wed Apr 9 16:18:35 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.558: +1 -3 lines
Diff to previous 1.558 (colored)

xfs_quiesce_fs() never returns an error. Mark it void.
Merge of xfs-linux-melb:xfs-kern:30780a by kenmcd.

  xfs_quiesce_fs() never returns an error. Mark it void.

Revision 1.558 / (download) - annotate - [select for diffs], Wed Apr 9 06:14:03 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.557: +7 -5 lines
Diff to previous 1.557 (colored)

Remove the xlog_ticket allocator

The ticket allocator is just a simple slab implementation
internal to the log. It requires the icloglock to be held
when manipulating it and this contributes to contention
on that lock.

Just kill the entire allocator and use a memory zone instead.
While there, allow us to gracefully fail allocation with ENOMEM.
Merge of xfs-linux-melb:xfs-kern:30771a by kenmcd.

  Remove the xlog_ticket allocator and replace it with a memory zone.

Revision 1.557 / (download) - annotate - [select for diffs], Wed Mar 26 03:24:14 2008 UTC (9 years, 6 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.556: +7 -6 lines
Diff to previous 1.556 (colored)

remove most calls to VN_RELE

Most VN_RELE calls either directly contain a XFS_ITOV or have the
corresponding xfs_inode already in scope.  Use the IRELE helper instead
of VN_RELE to clarify the code.  With a little more work we can kill
VN_RELE altogether and define IRELE in terms of iput directly.


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

  remove most calls to VN_RELE

Revision 1.556 / (download) - annotate - [select for diffs], Thu Feb 28 03:29:07 2008 UTC (9 years, 7 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.555: +2 -2 lines
Diff to previous 1.555 (colored)

If you mount an XFS filesystem with no mount options at all, then
the "ikeep" option is set rather than "noikeep".

This regression was introduced in 970451.

With no mount options specified, xfs_parseargs() does the following:

	int			ikeep = 0;

	args->flags |= XFSMNT_BARRIER;
	args->flags2 |= XFSMNT2_COMPAT_IOSIZE;

	if (!options)
		goto done;

It only sets the above two options by default and before, it also used to
set XFSMNT_IDELETE by default.

If options are specified, then

	if (!(args->flags & XFSMNT_DMAPI) && !ikeep)
		args->flags |= XFSMNT_IDELETE;

is executed later on which is skipped by the "goto done;" above.

The solution is to invert the logic.
Merge of xfs-linux-melb:xfs-kern:30590a by kenmcd.

  Change the *_IDELETE flags to *_IKEEP, and flip the logic as necessary.

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

cleanup vnode use in dmapi calls

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

  cleanup vnode use in dmapi calls

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

remove shouting-indirection macros from xfs_sb.h

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

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

  remove shouting-indirection macros from xfs_sb.h

Revision 1.553 / (download) - annotate - [select for diffs], Fri Feb 15 15:18:16 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.552: +0 -5 lines
Diff to previous 1.552 (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.552 / (download) - annotate - [select for diffs], Mon Feb 11 15:43:51 2008 UTC (9 years, 8 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.551: +0 -20 lines
Diff to previous 1.551 (colored)

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

  Remove xfs_refcache.

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

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

  add __init/__exit mark to specific init/cleanup functions

Revision 1.550 / (download) - annotate - [select for diffs], Mon Jan 21 15:01:39 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.549: +0 -20 lines
Diff to previous 1.549 (colored)

kill xfs_root

The only caller (xfs_fs_fill_super) can simplify call igrab on the
root inode.


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

  kill xfs_root

Revision 1.549 / (download) - annotate - [select for diffs], Mon Dec 17 02:54:44 2007 UTC (9 years, 9 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.548: +0 -53 lines
Diff to previous 1.548 (colored)

Cleanup various fid related bits:

 - merge xfs_fid2 into it's only caller xfs_dm_inode_to_fh.
 - remove xfs_vget and opencode it in the two callers, simplifying
   both of them by avoiding the awkward calling convetion.
 - assign directly to the dm_fid_t members in various places in the
   dmapi code instead of casting them to xfs_fid_t first (which
   is identical to dm_fid_t)


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

  pv 974747, author Christoph Hellwig <hch@lst.de>, rv vapo - Cleanup various fid related bits

Revision 1.548 / (download) - annotate - [select for diffs], Mon Nov 5 05:10:46 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.547: +0 -430 lines
Diff to previous 1.547 (colored)

Move platform specific mount option parse out of core XFS code

Mount option parsing is platform specific. Move it out of core code into
the platform specific superblock operation file.
Merge of xfs-linux-melb:xfs-kern:30012a by kenmcd.

  move linux specific mount option parsing into linux specific code.

Revision 1.547 / (download) - annotate - [select for diffs], Fri Nov 2 03:10:46 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.546: +35 -35 lines
Diff to previous 1.546 (colored)

Show all mount args in /proc/mounts

There are several mount options that don't show up in /proc/mounts.
Add them in and clean up the showargs code at the same time.
Merge of xfs-linux-melb:xfs-kern:30004a by kenmcd.

  Show all mount args in /proc/mounts.

Revision 1.546 / (download) - annotate - [select for diffs], Fri Nov 2 03:09:06 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.545: +0 -11 lines
Diff to previous 1.545 (colored)

Fix up sparse warnings.

These are mostly locking annotations, marking things static,
casts where needed and declaring stuff in header files.
Merge of xfs-linux-melb:xfs-kern:30002a by kenmcd.

  Fix up sparse warnings.

Revision 1.545 / (download) - annotate - [select for diffs], Tue Oct 2 04:16:44 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.544: +1 -14 lines
Diff to previous 1.544 (colored)

kill xfs_freeze.

No need to have a wrapper just two call two more functions.

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

  kill xfs_freeze.

Revision 1.544 / (download) - annotate - [select for diffs], Fri Sep 28 15:59:52 2007 UTC (10 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.543: +0 -53 lines
Diff to previous 1.543 (colored)

Kill off xfs_statvfs.

We were already filling the Linux struct statfs anyway, and doing this
trivial task directly in xfs_fs_statfs makes the code quite a bit cleaner.
While I was at it I also moved copying attributes that don't change over
the lifetime of the filesystem outside the superblock lock.

xfs_fs_fill_super used to get the magic number and blocksize through
xfs_statvfs, but assigning them directly is a lot cleaner and will save
some stack space during mount.

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

  Kill off xfs_statvfs.

Revision 1.543 / (download) - annotate - [select for diffs], Fri Sep 21 16:09:12 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.542: +1 -1 lines
Diff to previous 1.542 (colored)

Remove spin.h

remove spinlock init abstraction macro in spin.h, remove the callers,
and  remove the file.  Move no-op spinlock_destroy to xfs_linux.h
Cleanup spinlock locals in xfs_mount.c

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

  Remove spin.h

Revision 1.542 / (download) - annotate - [select for diffs], Fri Sep 21 06:16:14 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.541: +2 -3 lines
Diff to previous 1.541 (colored)

Unwrap XFS_SB_LOCK.

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

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

  Unwrap XFS_SB_LOCK

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

Unwrap xfs_dabuf_global_lock

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

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

  Unwrap xfs_dabuf_global_lock

Revision 1.540 / (download) - annotate - [select for diffs], Fri Sep 21 04:08:28 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.539: +1 -3 lines
Diff to previous 1.539 (colored)

kill unnessecary ioops indirection

Currently there is an indirection called ioops in the XFS data I/O
path.  Various functions are called by functions pointers, but there
is no coherence in what this is for, and of course for XFS itself
it's entirely unused.  This patch removes it instead and significantly
reduces source and binary size of XFS while making maintaince easier.
Merge of xfs-linux-melb:xfs-kern:29737a by kenmcd.

  kill unnessecary ioops indirection

Revision 1.539 / (download) - annotate - [select for diffs], Thu Sep 13 16:22:42 2007 UTC (10 years, 1 month ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.538: +14 -12 lines
Diff to previous 1.538 (colored)

pv 970451, rv dgc - Fix for a regression caused by a recent patch that moved
the DMAPI mount option processing inside xfs_parseargs().
The DMAPI mount option used to be processed in the DMAPI module loaded before
xfs_parseargs() was invoked.
Merge of xfs-linux-melb:xfs-kern:29683a by kenmcd.

  pv 970451, rv dgc - Fix for a regression caused by a recent patch that moved
  the DMAPI mount option processing inside xfs_parseargs().
  The DMAPI mount option used to be processed in the DMAPI module loaded before
  xfs_parseargs() was invoked.

Revision 1.538 / (download) - annotate - [select for diffs], Tue Sep 11 06:12:43 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.537: +4 -5 lines
Diff to previous 1.537 (colored)

cleanup fid types mess

Currently XFs has three different fid types: struct fid, struct xfs_fid
and struct xfs_fid2 with hte latter two beeing identicaly and the first
one beeing the same size but an unstructured array with the same size.

This patch consolidates all this to alway uuse struct xfs_fid.

This patch is required for an upcoming patch series from me that revamps
the nfs exporting code and introduces a Linux-wide struct fid.


Note: the patch is ontop of Eric's inode/vnode tracing cleanup.

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

  cleanup fid types mess

Revision 1.537 / (download) - annotate - [select for diffs], Mon Sep 10 15:51:42 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.536: +23 -175 lines
Diff to previous 1.536 (colored)

remove dead SYNC_BDFLUSH case in xfs_sync_inodes

A large part of xfs_sync_inodes is conditional on the SYNC_BDFLUSH which
is never passed to it.  This patch removes it and adds an assert that
triggers in case some new code tries to pass SYNC_BDFLUSH to it.
Merge of xfs-linux-melb:xfs-kern:29630a by kenmcd.

  remove dead SYNC_BDFLUSH case in xfs_sync_inodes

Revision 1.536 / (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.535: +6 -10 lines
Diff to previous 1.535 (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.535 / (download) - annotate - [select for diffs], Fri Aug 24 16:16:26 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.534: +16 -20 lines
Diff to previous 1.534 (colored)

kill the vfs_flags member in struct bhv_vfs

All flags are added to xfs_mount's m_flag instead.  Note that the 32bit
inode flag was duplicated in both of them, but only cleared in the
mount when it was not nessecary due to the filesystem beeing small enough.
Two flags are still required here - one to indicate the mount option
setting, and one to indicate if it applies or not.

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

  move vfs_flags to xfs_mount.

Revision 1.534 / (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.533: +2 -7 lines
Diff to previous 1.533 (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.533 / (download) - annotate - [select for diffs], Fri Aug 24 16:13:42 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.532: +28 -60 lines
Diff to previous 1.532 (colored)

decontaminate vfs operations from behavior details

All vfs ops now take struct xfs_mount pointers and the behaviour
related glue is split out into methods of it's own.


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

  convert vfs ops to take xfs_mount pointers and split out
  the behaviour related glue.

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

remove dependency of the quota module on behaviors

Mount options are now parsed by the main XFS module and rejected if quota
support is not available, and there are some new quota operation for the
quotactl syscall and calls to quote in the mount, unmount and sync
callchains.


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

  remove dependency of the quota module on behaviors

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

remove dependency of the dmapi module on behaviors

Mount options are now parsed by the main XFS module and rejected if dmapi
support is not available, and there is a new dm operation to send the
mount event.


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

  remove dependency of the dmapi module on behaviors

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

move freeing the mount structure from xfs_mount_free into the callers

In the next patch we need to look at the mount structure until just before
it's freed, so we need to be able to free it as the very last thing in
xfs_unmount.


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

  call xfs_mount_free into the callers so that we can stack extra
  cleanup functions prior to freeing the structure.

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

move v_iocount from bhv_vnode to xfs_inode

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


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

  move v_iocount from bhv_vnode to xfs_inode

Revision 1.528 / (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.527: +7 -4 lines
Diff to previous 1.527 (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.527 / (download) - annotate - [select for diffs], Fri Aug 24 06:11:45 2007 UTC (10 years, 1 month ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.526: +12 -1 lines
Diff to previous 1.526 (colored)

XFS inodes are dynamically allocated on demand, rather than being allocated
at mkfs time. Chunks of 64 inodes are allocated at once, but they are
never freed. Over time, this can lead to filesystem fragmentation, clusters
of inodes and the btrees which point at them can be scattered around the
system.

By freeing clusters as they are emptied, we will reduce fragmentation of the
free space after removing files. This in turn will allow us to make better
placement decisions when repopulating a filesystem. The XFSMNT_IDELETE
mount option enables freeing clusters when they get empty.

Unfortunately a side effect of freeing inode clusters is that the inode
generation numbers of such inodes would be reset to zero when the cluster
is reclaimed. This is a problem in particular for a DMAPI enabled filesystem
as the the DMAPI handles need to be unique and persistent in time. An unique
DMAPI handle is built with the help of the inode generation number. When the
last one is prematurely reset by an inode cluster reclaim, there is
a high probability of different generation inodes to end up having identical
DMAPI handles.

To avoid the problem with identical DMAPI handles, the XFSMNT_IDELETE mount
option should be set as default, only if the filesystem is not mounted with
XFSMNT_DMAPI.
Merge of xfs-linux-melb:xfs-kern:29486a by kenmcd.

  pv 969192, rv dgc, markgw - Imply "ikeep" default mount option for DMAPI enabled filestems.

Revision 1.526 / (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.525: +7 -20 lines
Diff to previous 1.525 (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.525 / (download) - annotate - [select for diffs], Mon Aug 20 06:16:39 2007 UTC (10 years, 1 month ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.524: +2 -1 lines
Diff to previous 1.524 (colored)

optimize dmapi event tests w/o dmapi config
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:29444a by kenmcd.

  pv 969372, rv vapo - optimize dmapi event tests w/o dmapi config

Revision 1.524 / (download) - annotate - [select for diffs], Thu Aug 2 16:12:32 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.523: +8 -2 lines
Diff to previous 1.523 (colored)

Fix a potential NULL pointer deref in XFS on failed mount.

If we fail to open the the log device buftarg, we can fall through
to error handling code that fails to check for a NULL log device
buftarg before calling xfs_free_buftarg().

This patch fixes the issue by checking mp->m_logdev_targp against
NULL in xfs_unmountfs_close() and doing the proper
xfs_blkdev_put(logdev); and xfs_blkdev_put(rtdev); on
(!mp->m_rtdev_targp) in xfs_mount().

Discovered by the Coverity checker.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Merge of xfs-linux-melb:xfs-kern:29328a by kenmcd.

  Ensure we only ever attempt to free a log device buftarg if
  we allocated one in teh first place.

Revision 1.523 / (download) - annotate - [select for diffs], Thu Aug 2 16:11:46 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.522: +3 -5 lines
Diff to previous 1.522 (colored)

clean up xfs_start_flags

xfs_start_flags can make use of is_power_of_2 to
tidy up the test a little bit.

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

  use of is_power_of_2 rather than explicitly testing all the
  possible power of 2 log buffer sizes.

Revision 1.522 / (download) - annotate - [select for diffs], Mon Jul 9 06:12:03 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.521: +26 -0 lines
Diff to previous 1.521 (colored)

Concurrent Multi-File Data Streams

In media spaces, video is often stored in a frame-per-file format.
When dealing with uncompressed realtime HD video streams in this format,
it is crucial that files do not get fragmented and that multiple files
a placed contiguously on disk.

When multiple streams are being ingested and played out at the same
time, it is critical that the filesystem does not cross the streams
and interleave them together as this creates seek and readahead
cache miss latency and prevents both ingest and playout from meeting
frame rate targets.

This patch set creates a "stream of files" concept into the allocator
to place all the data from a single stream contiguously on disk so
that RAID array readahead can be used effectively. Each additional
stream gets placed in different allocation groups within the
filesystem, thereby ensuring that we don't cross any streams. When
an AG fills up, we select a new AG for the stream that is not in
use.

The core of the functionality is the stream tracking - each inode
that we create in a directory needs to be associated with the
directories' stream. Hence every time we create a file, we look up
the directories' stream object and associate the new file with that
object.

Once we have a stream object for a file, we use the AG that the
stream object point to for allocations. If we can't allocate in that
AG (e.g. it is full) we move the entire stream to another AG. Other
inodes in the same stream are moved to the new AG on their next
allocation (i.e. lazy update).

Stream objects are kept in a cache and hold a reference on the
inode. Hence the inode cannot be reclaimed while there is an
outstanding stream reference. This means that on unlink we need to
remove the stream association and we also need to flush all the
associations on certain events that want to reclaim all unreferenced
inodes (e.g.  filesystem freeze).
Merge of xfs-linux-melb:xfs-kern:29096a by kenmcd.

  Concurrent Multi-File Data Streams feature check in.

Revision 1.521 / (download) - annotate - [select for diffs], Fri Jun 8 16:05:36 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.520: +31 -22 lines
Diff to previous 1.520 (colored)

Fix remount,readonly path to flush everything correctly.

The remount readonly path can fail to writeback properly because we
still have active transactions after calling xfs_quiesce_fs().
Further investigation shows that this path is broken in the same
ways that the xfs freeze path was broken so fix it the same
way.
Merge of xfs-linux-melb:xfs-kern:28869a by kenmcd.

  Modify remount,ro path to use data and inode quiesce
  code. Factor common inode quiesce code.

Revision 1.520 / (download) - annotate - [select for diffs], Tue May 22 15:50:48 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.519: +11 -0 lines
Diff to previous 1.519 (colored)

Lazy Superblock Counters

When we have a couple of hundred transactions on the fly at once,
they all typically modify the on disk superblock in some way.
create/unclink/mkdir/rmdir modify inode counts, allocation/freeing
modify free block counts.

When these counts are modified in a transaction, the must eventually
lock the superblock buffer and apply the mods.  The buffer then
remains locked until the transaction is committed into the incore
log buffer. The result of this is that with enough transactions on
the fly the incore superblock buffer becomes a bottleneck.

The result of contention on the incore superblock buffer is that
transaction rates fall - the more pressure that is put on the
superblock buffer, the slower things go.

The key to removing the contention is to not require the superblock
fields in question to be locked. We do that by not marking the
superblock dirty in the transaction. IOWs, we modify the incore
superblock but do not modify the cached superblock buffer. In short,
we do not log superblock modifications to critical fields in the
superblock on every transaction. In fact we only do it just before
we write the superblock to disk every sync period or just before
unmount.

This creates an interesting problem - if we don't log or write out
the fields in every transaction, then how do the values get
recovered after a crash? the answer is simple - we keep enough
duplicate, logged information in other structures that we can
reconstruct the correct count  after log recovery has been
performed.

It is the AGF and AGI structures that contain the duplicate
information; after recovery, we walk every AGI and AGF and sum their
individual counters to get the correct value, and we do a
transaction into the log to correct them. An optimisation of this is
that if we have a clean unmount record, we know the value in the
superblock is correct, so we can avoid the summation walk under
normal conditions and so mount/recovery times do not change under
normal operation.

One wrinkle that was discovered during development was that the
blocks used in the freespace btrees are never accounted for in the
AGF counters. This was once a valid optimisation to make; when the
filesystem is full, the free space btrees are empty and consume no
space. Hence when it matters, the "accounting" is correct.  But that
means the when we do the AGF summations, we would not have a correct
count and xfs_check would complain.  Hence a new counter was added
to track the number of blocks used by the free space btrees. This is
an *on-disk format change*.

As a result of this, lazy superblock counters are a mkfs option
and at the moment on linux there is no way to convert an old
filesystem. This is possible - xfs_db can be used to twiddle the
right bits and then xfs_repair will do the format conversion
for you. Similarly, you can convert backwards as well. At some point
we'll add functionality to xfs_admin to do the bit twiddling
easily....
Merge of xfs-linux-melb:xfs-kern:28652a by kenmcd.

  Changes to support lazy superblock counters.

Revision 1.519 / (download) - annotate - [select for diffs], Fri May 11 06:06:10 2007 UTC (10 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.518: +28 -45 lines
Diff to previous 1.518 (colored)

Sleeping with the ilock waiting for I/O completion is Bad.

Recent fixes to the filesystem freezing code introduced a vn_iowait
call in the middle of the sync code. Unfortunately, at the point
where this call was added we are holding the ilock. The ilock is
needed by I/O completion for unwritten extent conversion and now
updating the file size. Hence I/o cannot complete if we hol dthe
ilock while waiting for I/O completion.

Fix up the bug and clean the code up around it.
Merge of xfs-linux-melb:xfs-kern:28566a by kenmcd.

  Drop the ilock before calling vn_iowait() when doing a SYNC_IOWAIT
  sync operation. Make the code easier to understand as well.

Revision 1.518 / (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.517: +1 -1 lines
Diff to previous 1.517 (colored)

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

  Add lockdep support for XFS

Revision 1.517 / (download) - annotate - [select for diffs], Sat Mar 10 02:56:10 2007 UTC (10 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.516: +1 -1 lines
Diff to previous 1.516 (colored)

propogate return codes from flush routines

This patch handles error return values in fs_flush_pages and fs_flushinval_pages.
It changes the prototype of fs_flushinval_pages so we can propogate the errors
and handle them at higher layers.  I also modified xfs_itruncate_start so that
it could propogate the error further.
Merge of xfs-linux-melb:xfs-kern:28231a by kenmcd.

  propogate return codes from flush routines

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

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

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

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

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

Make freeze code a little cleaner.

Fixes a few small issues (mostly cosmetic) that were picked up during
the review cycle for the last set of freeze path changes.
Merge of xfs-linux-melb:xfs-kern:28035a by kenmcd.

  Convert SYNC_DIO_WAIT to SYNC_IOWAIT as it really waits for
  all I/O, not just direct I/O.

Revision 1.514 / (download) - annotate - [select for diffs], Fri Feb 2 14:37:48 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.513: +22 -4 lines
Diff to previous 1.513 (colored)

Ensure a frozen filesystem has a clean log before writing the dummy record.

The current Linux XFS freeze code is a mess. We flush the metadata
buffers out while we are still allowing new transactions to start
and then fail to flush the dirty buffers back out before writing
the unmount and dummy records to the log.

This leads to problems when the frozen filesystem is used for
snapshots - we do log recovery on a readonly image and often
it appears that the log image in the snapshot is not correct.
Hence we end up with hangs, oops and mount failures when trying
to mount a snapshot image that has been created when the filesystem
has not been correctly frozen.

To fix this, we need to move th metadata flush to after we wait for all
current transactions to complete in teh second stage of the freeze.
This means that when we write the final log records, the log should
be clean and recovery should never occur on a snapshot image created
from a frozen filesystem.
Merge of xfs-linux-melb:xfs-kern:28010a by kenmcd.

  Push xfs_quiesce_fs() down into xfs_freeze() so it occurs
  after we've blocked new transactions and waited for all the
  currently running transactions to complete. hence we should
  have a clean log before we write the unmount and dummy records
  into the log.

Revision 1.513 / (download) - annotate - [select for diffs], Wed Jan 10 14:42:52 2007 UTC (10 years, 9 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.512: +1 -1 lines
Diff to previous 1.512 (colored)

Fix block reservation mechanism.

The block reservation mechanism has been broken since the per-cpu
superblock counters were introduced. Make the block reservation code
work with the per-cpu counters by syncing the counters, snapshotting
the amount of available space and then doing a modifcation of the
counter state according to the result. Continue in a loop until we
either have no space available or we reserve some space.
Merge of xfs-linux-melb:xfs-kern:27895a by kenmcd.

  Use the flags superblock counter sync function variant.

Revision 1.512 / (download) - annotate - [select for diffs], Wed Dec 13 02:56:14 2006 UTC (10 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.511: +5 -13 lines
Diff to previous 1.511 (colored)

remove unused xflags parameter from sync routines
Merge of xfs-linux-melb:xfs-kern:27710a by kenmcd.

  remove unused xflags parameter from sync routines

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

Fix kmem_zalloc_greedy warnings on 64 bit platforms.
Merge of xfs-linux-melb:xfs-kern:26907a by kenmcd.

Revision 1.510 / (download) - annotate - [select for diffs], Fri Sep 1 06:10:33 2006 UTC (11 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.509: +2 -1 lines
Diff to previous 1.509 (colored)

Prevent free space oversubscription and xfssyncd looping.

The fix for recent ENOSPC deadlocks introduced certain limitations
on allocations. The fix could cause xfssyncd to loop endlessly if
we did not leave some space free for the allocator to work
correctly. Basically, we needed to ensure that we had at least 4
blocks free for an AG free list and a block for the inode bmap btree
at all times.

However, this did not take into account the fact that each AG has a
free list that needs 4 blocks. Hence any filesystem with more than
one AG could cause oversubscription of free space and make xfssyncd
spin forever trying to allocate space needed for AG freelists that
was not available in the AG.

The following patch reserves space for the free lists in all AGs
plus the inode bmap btree which prevents oversubscription. It also
prevents those blocks from being reported as free space (as they can
never be used) and makes the SMP in-core superblock accounting code and
the reserved block ioctl respect this requirement.
Merge of xfs-linux-melb:xfs-kern:26894a by kenmcd.

  Don't report the space needed by the AG freelists as usable space.

Revision 1.509 / (download) - annotate - [select for diffs], Fri Aug 4 13:30:31 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.508: +1 -1 lines
Diff to previous 1.508 (colored)

Fix a barrier related forced shutdown on mounts with quota enabled.
Merge of xfs-linux-melb:xfs-kern:26622a by kenmcd.

Revision 1.508 / (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.507: +0 -8 lines
Diff to previous 1.507 (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.507 / (download) - annotate - [select for diffs], Thu Jun 8 03:55:04 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.506: +3 -3 lines
Diff to previous 1.506 (colored)

Fix broken const use inside local suffix_strtoul routine.
Merge of xfs-linux-melb:xfs-kern:26201a by kenmcd.

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

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

Revision 1.505 / (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.504: +11 -13 lines
Diff to previous 1.504 (colored)

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

Revision 1.504 / (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.503: +11 -12 lines
Diff to previous 1.503 (colored)

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

Revision 1.503 / (download) - annotate - [select for diffs], Tue May 30 15:53:25 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.502: +38 -21 lines
Diff to previous 1.502 (colored)

Portability changes: remove prdev, stick to one diagnostic interface.
Merge of xfs-linux-melb:xfs-kern:26103a by kenmcd.

Revision 1.502 / (download) - annotate - [select for diffs], Thu Apr 13 15:38:21 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.501: +9 -18 lines
Diff to previous 1.501 (colored)

Fix a possible forced shutdown due to mishandling write barriers with remount,ro.
Merge of xfs-linux-melb:xfs-kern:25742a by kenmcd.

Revision 1.501 / (download) - annotate - [select for diffs], Fri Mar 31 06:09:32 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.500: +2 -3 lines
Diff to previous 1.500 (colored)

Reenable write barriers by default.
Merge of xfs-linux-melb:xfs-kern:25634a by kenmcd.

Revision 1.500 / (download) - annotate - [select for diffs], Fri Mar 31 03:49:51 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.499: +4 -1 lines
Diff to previous 1.499 (colored)

Implement the silent parameter to fill_super, previously ignored.
Merge of xfs-linux-melb:xfs-kern:25632a by kenmcd.

Revision 1.499 / (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.498: +5 -5 lines
Diff to previous 1.498 (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.498 / (download) - annotate - [select for diffs], Wed Mar 22 02:49:44 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.497: +3 -5 lines
Diff to previous 1.497 (colored)

Reenable the noikeep (delete inode cluster space) option by default.
Merge of xfs-linux-melb:xfs-kern:25535a by kenmcd.

Revision 1.497 / (download) - annotate - [select for diffs], Wed Mar 22 02:48:15 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.496: +14 -14 lines
Diff to previous 1.496 (colored)

Fixup naming inconsistencies found by Pekka Enberg and one from Jan Engelhardt.
Merge of xfs-linux-melb:xfs-kern:25529a by kenmcd.

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

Fix an infinite loop issue in bulkstat when a corrupt inode is detected.  Thanks to Roger Willcocks.
Merge of xfs-linux-melb:xfs-kern:25477a by kenmcd.

Revision 1.495 / (download) - annotate - [select for diffs], Mon Feb 6 05:01:49 2006 UTC (11 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.494: +24 -10 lines
Diff to previous 1.494 (colored)

Cleanup the use of zones/slabs, more consistent and allows flags to be passed.
Merge of xfs-linux-melb:xfs-kern:25122a by kenmcd.

Revision 1.494 / (download) - annotate - [select for diffs], Fri Feb 3 14:17:46 2006 UTC (11 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.493: +2 -1 lines
Diff to previous 1.493 (colored)

On machines with more than 8 cpus, when running parallel
I/O threads, the incore superblock lock becomes the limiting
factor for buffered write throughput. Make the contended
fields in the incore superblock use per-cpu counters so
that there is no global lock to limit scalability.
Merge of xfs-linux-melb:xfs-kern:25106a by kenmcd.

  Aggregate per-cpu sb counters before reporting current state
  to userspace.

Revision 1.493 / (download) - annotate - [select for diffs], Thu Feb 2 05:00:23 2006 UTC (11 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.492: +0 -7 lines
Diff to previous 1.492 (colored)

XFS propagates MS_NOATIME through two levels internally but doesn't actually
use it.  Kill this dead code.

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

Revision 1.492 / (download) - annotate - [select for diffs], Fri Dec 9 05:03:45 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.491: +3 -2 lines
Diff to previous 1.491 (colored)

Fix v2 log bufsize reporting in /proc/mounts.
Merge of xfs-linux-melb:xfs-kern:24765a by kenmcd.

Revision 1.491 / (download) - annotate - [select for diffs], Wed Nov 30 03:46:11 2005 UTC (11 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.490: +3 -5 lines
Diff to previous 1.490 (colored)

Disable write barriers for now till intermittent IO errors are understood.

Revision 1.490 / (download) - annotate - [select for diffs], Wed Nov 30 03:28:58 2005 UTC (11 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.489: +8 -11 lines
Diff to previous 1.489 (colored)

Reverse the sense of COMPAT_ATTR and ATTR2, keeps it simple and consistent.

Revision 1.489 / (download) - annotate - [select for diffs], Mon Nov 21 14:42:36 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.488: +2 -0 lines
Diff to previous 1.488 (colored)

Write log dummy record when freezing filesystem

Revision 1.488 / (download) - annotate - [select for diffs], Tue Nov 15 20:39:18 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.487: +4 -3 lines
Diff to previous 1.487 (colored)

do barrier checks earlier.  quota initialization may write to the filesystem

Revision 1.487 / (download) - annotate - [select for diffs], Mon Nov 14 02:44:47 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.486: +2 -8 lines
Diff to previous 1.486 (colored)

Fix typo from when enabling write barriers by default, flags botch in showargs.
Merge of xfs-linux-melb:xfs-kern:24383a by kenmcd.

Revision 1.486 / (download) - annotate - [select for diffs], Thu Nov 10 09:51:31 2005 UTC (11 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.485: +14 -1 lines
Diff to previous 1.485 (colored)

enable write barriers by default
enable write barriers by default, add nobarrier mount option

Revision 1.485 / (download) - annotate - [select for diffs], Fri Nov 4 02:47:05 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.484: +2 -2 lines
Diff to previous 1.484 (colored)

Fix an inode32 regression - if no options are presented, must still set default flags.
Merge of xfs-linux-melb:xfs-kern:24292a by kenmcd.

Revision 1.484 / (download) - annotate - [select for diffs], Wed Oct 26 03:53:14 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.483: +4 -4 lines
Diff to previous 1.483 (colored)

Remove old, broken nolog-mode code - noone plans to ever fix it.
Merge of xfs-linux-melb:xfs-kern:24213a by kenmcd.

Revision 1.483 / (download) - annotate - [select for diffs], Wed Oct 26 03:52:28 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.482: +7 -4 lines
Diff to previous 1.482 (colored)

Rework fid encode/decode wrt 64 bit inums interacting with NFS.
Merge of xfs-linux-melb:xfs-kern:24201a by kenmcd.

Revision 1.482 / (download) - annotate - [select for diffs], Fri Oct 7 03:45:15 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.481: +8 -5 lines
Diff to previous 1.481 (colored)

Rework the final mount options flag bit to make room for more.
Merge of xfs-linux-melb:xfs-kern:24030a by kenmcd.

Revision 1.481 / (download) - annotate - [select for diffs], Tue Oct 4 06:01:22 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.480: +9 -1 lines
Diff to previous 1.480 (colored)

Disable attr2 by default, until a more appropriate time to enable it.
Merge of xfs-linux-melb:xfs-kern:24002a by kenmcd.

Revision 1.480 / (download) - annotate - [select for diffs], Mon Sep 26 15:01:37 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.479: +4 -0 lines
Diff to previous 1.479 (colored)

Show additional mount options in /proc/mounts, fix up some debug code.
Merge of xfs-linux-melb:xfs-kern:23926a by kenmcd.

Revision 1.479 / (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.478: +12 -26 lines
Diff to previous 1.478 (colored)

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

Revision 1.478 / (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.477: +13 -15 lines
Diff to previous 1.477 (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.477 / (download) - annotate - [select for diffs], Tue Sep 20 15:27:03 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.476: +13 -7 lines
Diff to previous 1.476 (colored)

Track external log/realtime device names for correct reporting in /proc/mounts.
Merge of xfs-linux-melb:xfs-kern:23862a by kenmcd.

Revision 1.476 / (download) - annotate - [select for diffs], Fri Sep 16 15:10:21 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.475: +9 -9 lines
Diff to previous 1.475 (colored)

Ondisk format extension for extended attributes (attr2).  Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward.  Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers.  It is self enabling, but can be forced on/off via the attr2/noattr2 mount options.
Merge of xfs-linux-melb:xfs-kern:23835a by kenmcd.

Revision 1.475 / (download) - annotate - [select for diffs], Fri Sep 16 15:09:30 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.474: +0 -0 lines
Diff to previous 1.474 (colored)

Ondisk format extension for extended attributes (attr2).  Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward.  Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers.  It is self enabling, but can be forced on/off via the attr2/noattr2 mount options.
Merge of xfs-linux-melb:xfs-kern:23834a by kenmcd.

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

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

  Introduce prefered I/O size mount option selection.

Revision 1.473 / (download) - annotate - [select for diffs], Fri Sep 16 03:52:03 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.472: +2 -2 lines
Diff to previous 1.472 (colored)

Provide a mechiansm for flushing delalloc before quota reporting.
Merge of xfs-linux-melb:xfs-kern:23829a by kenmcd.

Revision 1.472 / (download) - annotate - [select for diffs], Tue Sep 6 22:44:36 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.471: +25 -13 lines
Diff to previous 1.471 (colored)

write barrier support

Issue all log sync operations as ordered writes.  In addition flush the
disk cache on fsync if the sync cached operation didn't sync the log to
disk (this requires some additional bookeping in the transaction and log
code).
If the device doesn't claim to support barriers, the filesystem has an
extern log volume or the trial superblock write with barriers enabled
failed we disable barriers and print a warning.  We should probably fail
the mount completely, but that could lead to nasty boot failures for
the root filesystem.

Not enabled by default yet, needs more destructive testing first.

Revision 1.471 / (download) - annotate - [select for diffs], Mon Sep 5 03:48:30 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.470: +1 -2 lines
Diff to previous 1.470 (colored)

Sort out some cosmetic differences between XFS trees.
Merge of xfs-linux-melb:xfs-kern:23719a by kenmcd.

Revision 1.470 / (download) - annotate - [select for diffs], Wed Jul 13 05:59:27 2005 UTC (12 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.469: +15 -1 lines
Diff to previous 1.469 (colored)

Add in grpid/nogrpid mount option parsing, actual code was always there..
Merge of xfs-linux-melb:xfs-kern:23162a by kenmcd.

Revision 1.469 / (download) - annotate - [select for diffs], Wed Jun 22 13:56:22 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.468: +4 -32 lines
Diff to previous 1.468 (colored)

replace vn_get usage by ihold
replace vn_get usage by ihold

Revision 1.468 / (download) - annotate - [select for diffs], Wed Jun 8 10:10:57 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.467: +35 -25 lines
Diff to previous 1.467 (colored)

quiesce the filesystem proper when freezing
add a new xfs_quiesce_fs helper, used by remount read-only and freeze

Revision 1.467 / (download) - annotate - [select for diffs], Fri Jun 3 06:03:33 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.466: +0 -10 lines
Diff to previous 1.466 (colored)

Add support for project quota, based on Dan Knappes earlier work.
Merge of xfs-linux-melb:xfs-kern:22805a by kenmcd.

Revision 1.466 / (download) - annotate - [select for diffs], Wed May 18 09:29:33 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.465: +2 -2 lines
Diff to previous 1.465 (colored)

mark various symbols static

Patch from Adrian Bunk

Revision 1.465 / (download) - annotate - [select for diffs], Tue Apr 19 05:58:50 2005 UTC (12 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.464: +45 -22 lines
Diff to previous 1.464 (colored)

Allow initial XFS delayed allocation size to be increased beyond 64KB.
Merge of xfs-linux-melb:xfs-kern:22261a by kenmcd.

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

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

Revision 1.463 / (download) - annotate - [select for diffs], Wed Mar 16 02:57:07 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.462: +9 -6 lines
Diff to previous 1.462 (colored)

Provide a mechanism for reporting ihashsize defaults via /proc/mounts.
Merge of xfs-linux-melb:xfs-kern:21841a by kenmcd.

Revision 1.462 / (download) - annotate - [select for diffs], Wed Jan 12 22:38:29 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.461: +0 -0 lines
Diff to previous 1.461 (colored)

Stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere
stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere

Revision 1.461 / (download) - annotate - [select for diffs], Mon Jan 3 20:28:52 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.460: +2 -2 lines
Diff to previous 1.460 (colored)

Fix NFS inode data corruption
remove i_generation = 0 wildcard

Revision 1.460 / (download) - annotate - [select for diffs], Fri Dec 24 04:53:07 2004 UTC (12 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.459: +3 -3 lines
Diff to previous 1.459 (colored)

Move to per-device hash tables (scalability), and use Bill Irwins hash (quicker).
Merge of xfs-linux-melb:xfs-kern:20989a by kenmcd.

Revision 1.459 / (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.458: +9 -0 lines
Diff to previous 1.458 (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.458 / (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.457: +1 -1 lines
Diff to previous 1.457 (colored)

handle inode creating race
xfs_iget gained another parameter

Revision 1.457 / (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.456: +0 -0 lines
Diff to previous 1.456 (colored)

Handle inode creating race
xfs_iget gained another parameter

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

fix handling of bad inodes
keep bad inodes from beeing flushed to disk

Revision 1.455 / (download) - annotate - [select for diffs], Wed Sep 22 20:53:01 2004 UTC (13 years ago) by hch
Branch: MAIN
Changes since 1.454: +18 -14 lines
Diff to previous 1.454 (colored)

handle nfs requesting ino 0 gracefully
return ESTALE if we are asked for ino 0

Revision 1.454 / (download) - annotate - [select for diffs], Fri Jun 25 06:15:54 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.453: +48 -33 lines
Diff to previous 1.453 (colored)

Revert to using a separate inode for metadata buffers once more.  Prevents XFS from shutting down due to its view of the world being modified from below.  The BLKFLSBUF ioctl is another cause of this "corruption" and was the last straw.  Also fixes device initialisation failure handling.

Revision 1.453 / (download) - annotate - [select for diffs], Tue Jun 15 02:02:48 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.452: +2 -2 lines
Diff to previous 1.452 (colored)

Sanitise the ACL initialisation macros.

Revision 1.452 / (download) - annotate - [select for diffs], Wed Jun 9 09:33:17 2004 UTC (13 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.451: +19 -1 lines
Diff to previous 1.451 (colored)

Integrate freeze/unfrezze with Linux 2.6 VFS infrastructure
add VFS_FREEZE

Revision 1.451 / (download) - annotate - [select for diffs], Wed May 12 21:25:17 2004 UTC (13 years, 5 months ago) by jpk
Branch: MAIN
Changes since 1.450: +7 -0 lines
Diff to previous 1.450 (colored)

Add support for allocating additional file space in
stripe width sized chunks. A new fstab/mount option,
"swalloc" has been defined. If specified when mounting
a striped file system, allocation requests will be
rounded up to a stripe width if the file size is >= stripe
width, and the data is being appended to eof. The
'swalloc' option is "off" by default.
 Add support for the stripe width allocation option: swalloc.
 Define MNTOPT_SWALLOC.  (PV 783527)

Revision 1.450 / (download) - annotate - [select for diffs], Fri Apr 30 21:49:37 2004 UTC (13 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.449: +1 -1 lines
Diff to previous 1.449 (colored)

Dmapi preunmount event references null pointer
Call XFS_SEND_PREUMOUNT in xfs_unmount

Revision 1.449 / (download) - annotate - [select for diffs], Thu Apr 22 12:49:48 2004 UTC (13 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.448: +6 -3 lines
Diff to previous 1.448 (colored)

close external blockdevice after final flush
s/pagebuf_delwri_flush/xfs_flush_buftarg/g

Revision 1.448 / (download) - annotate - [select for diffs], Mon Mar 29 06:18:02 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.447: +4 -2 lines
Diff to previous 1.447 (colored)

Ensure sb not flushed async on a SYNC_WAIT sync.  Fixed by Bart Samwel.

Revision 1.447 / (download) - annotate - [select for diffs], Mon Mar 29 01:48:32 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.446: +5 -2 lines
Diff to previous 1.446 (colored)

Disallow logbufs=0 unless the correct compilation flags used, else we panic.

Revision 1.446 / (download) - annotate - [select for diffs], Thu Mar 25 03:54:00 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.445: +10 -10 lines
Diff to previous 1.445 (colored)

Fix delayed write buffer handling to use the correct list interfaces, add validity checks, remove unused code, and fix comments.

Revision 1.445 / (download) - annotate - [select for diffs], Fri Mar 5 02:35:26 2004 UTC (13 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.444: +3 -2 lines
Diff to previous 1.444 (colored)

Merge a statfs code tweak back from the bk trees, finally.

Revision 1.444 / (download) - annotate - [select for diffs], Mon Feb 9 02:04:38 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.443: +2 -2 lines
Diff to previous 1.443 (colored)

allow loadable behaviour modules in 2.6
rename dmapi and quota stub operations to avoid nameclash

Revision 1.443 / (download) - annotate - [select for diffs], Fri Jan 2 02:07:51 2004 UTC (13 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.442: +19 -0 lines
Diff to previous 1.442 (colored)

Small ktace fixes
make sure to free trace buffer on module unload

Revision 1.442 / (download) - annotate - [select for diffs], Mon Dec 8 21:43:16 2003 UTC (13 years, 10 months ago) by sandeen
Branch: MAIN
Changes since 1.441: +8 -1 lines
Diff to previous 1.441 (colored)

Update xfs_showargs to reflect all current mount options
Update xfs_showargs to reflect all current mount options

Revision 1.441 / (download) - annotate - [select for diffs], Sun Nov 30 23:18:10 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.440: +7 -2 lines
Diff to previous 1.440 (colored)

Add the noikeep mount option, make ikeep the default for now.

Revision 1.440 / (download) - annotate - [select for diffs], Sun Nov 23 21:55:17 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.439: +1 -1 lines
Diff to previous 1.439 (colored)

Use xfs_statfs type to statfs operation, to support multiple kernels more easily.

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

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

Revision 1.438 / (download) - annotate - [select for diffs], Fri Nov 21 03:39:35 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.437: +3 -9 lines
Diff to previous 1.437 (colored)

Trivial/whitespace changes to sync up different trees a bit.

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

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

Revision 1.436 / (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.435: +0 -13 lines
Diff to previous 1.435 (colored)

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

Revision 1.435 / (download) - annotate - [select for diffs], Fri Oct 17 03:29:52 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.434: +0 -11 lines
Diff to previous 1.434 (colored)

Fix ktrace code - dont build unilaterally, and do earlier init for pagebuf use.

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

Implement deletion of inode clusters in XFS.
mount option parsing for freeing inode clusters

Revision 1.433 / (download) - annotate - [select for diffs], Fri Oct 3 15:41:56 2003 UTC (14 years ago) by cattelan
Branch: MAIN
Changes since 1.432: +10 -1 lines
Diff to previous 1.432 (colored)

Fix remount,ro path
Add back in the loop counter that does at least 2 flushes for the remout,ro path

Revision 1.432 / (download) - annotate - [select for diffs], Mon Sep 15 04:36:29 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.431: +5 -5 lines
Diff to previous 1.431 (colored)

Separate the big filesystems macro out into separate big inums and blknos macros; fix the check for too-large filesystems in the process.

Revision 1.431 / (download) - annotate - [select for diffs], Mon Sep 8 05:46:42 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.430: +9 -1 lines
Diff to previous 1.430 (colored)

Add inode64 mount option; fix case where growfs can push 32 bit inodes into 64 bit space accidentally - both changes originally from IRIX

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

remove doubly-included header files

Revision 1.429 / (download) - annotate - [select for diffs], Fri Aug 29 04:39:48 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.428: +4 -3 lines
Diff to previous 1.428 (colored)

Automatically set logbsize for larger stripe units

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

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

Revision 1.427 / (download) - annotate - [select for diffs], Wed Aug 6 20:55:24 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.426: +1 -1 lines
Diff to previous 1.426 (colored)

clean up the flush logic some more, make the inode flush path less
lossy since we now depend on it. Add a sync_fs callout which waits
for flush to be done.
in the sync path, when forcing the log out to disk to cover
an old log, pay attention to the sync options used.

Revision 1.426 / (download) - annotate - [select for diffs], Tue Jul 15 15:46:39 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.425: +2 -2 lines
Diff to previous 1.425 (colored)

Scale default number of log buffers based on memory size
use new constants for bounds checking on logbuf parameters

Revision 1.425 / (download) - annotate - [select for diffs], Mon Jul 14 04:15:07 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.424: +1 -1 lines
Diff to previous 1.424 (colored)

Fix a typo in a comment

Revision 1.424 / (download) - annotate - [select for diffs], Wed Jul 2 02:35:27 2003 UTC (14 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.423: +0 -6 lines
Diff to previous 1.423 (colored)

rework sysctl initialization to avoid confusion

Revision 1.423 / (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.422: +1859 -0 lines
Diff to previous 1.422 (colored)

The Big Move
linux/fs/xfs/xfs_vfsops.c 1.421 Renamed to xfs_vfsops.c

Revision 1.422 / (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.421: +0 -1859 lines
Diff to previous 1.421 (colored)

Nuke

Revision 1.421 / (download) - annotate - [select for diffs], Wed Jun 18 02:53:59 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.420: +4 -2 lines
Diff to previous 1.420 (colored)

Fix remount readonly so it really wont write dummy log records

Revision 1.420 / (download) - annotate - [select for diffs], Mon Jun 2 15:34:46 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.419: +14 -14 lines
Diff to previous 1.419 (colored)

fix sign of error return in mount update and statfs operations,
mount update could have returned either sign, and statfs was
just wrong.
update parseargs code to return positive errors to be consistent
with other parts of xfs and so the callers can treat it consistently
with the other error values they can get.

Revision 1.419 / (download) - annotate - [select for diffs], Thu May 1 21:05:53 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.418: +72 -68 lines
Diff to previous 1.418 (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.
restructure xfs_syncsub so it is a little easier to
read. Move the inode flush component used from various places into
its own function. In the SYNC_BDFLUSH no longer walk the inode
chain, just the deleted inode list. Control refcache purging
with a different flag. When writing a dummy record into an
idle log, start it off to disk right away rather than waiting
for the next sync to come along and find it.

Revision 1.418 / (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.417: +38 -1 lines
Diff to previous 1.417 (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.417 / (download) - annotate - [select for diffs], Fri Apr 18 12:21:13 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.416: +1 -0 lines
Diff to previous 1.416 (colored)

remove dependency on flush daemons on the remount readonly path.
before reclaiming inodes, flush out dirty metadata, this
prevents the inode flush from blocking waiting for a 
previous flush in a dirty inode buffer.

Revision 1.416 / (download) - annotate - [select for diffs], Wed Apr 16 02:21:42 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.415: +0 -2 lines
Diff to previous 1.415 (colored)

UUID cleanup - remove unused functions, create a decent table abstraction
and make the mount code simpler in the process.
Remove uuid mutex initialization, done elsewhere now.

Revision 1.415 / (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.414: +36 -36 lines
Diff to previous 1.414 (colored)

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

Revision 1.414 / (download) - annotate - [select for diffs], Tue Apr 15 03:22:39 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.413: +4 -4 lines
Diff to previous 1.413 (colored)

We accidentally dropped sync'ing of dquots during the mntupdate changes,
add that back in (use vfs_sync rather than xfs_sync directly).

Revision 1.413 / (download) - annotate - [select for diffs], Thu Apr 10 16:02:05 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.412: +273 -0 lines
Diff to previous 1.412 (colored)

change remount code so that it calls a vfs operation within
XFS. reorganize the code underneath it. This better separates
the linux vfs code and the xfs specific code and will let
us enable more options on remount.
create xfs_mntupdate and move showargs and parseargs here

Revision 1.412 / (download) - annotate - [select for diffs], Fri Mar 28 23:57:48 2003 UTC (14 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.411: +1 -1 lines
Diff to previous 1.411 (colored)

Set correct block size for realtime device

Revision 1.411 / (download) - annotate - [select for diffs], Wed Mar 26 20:52:11 2003 UTC (14 years, 6 months ago) by hch
Branch: MAIN
Changes since 1.410: +0 -65 lines
Diff to previous 1.410 (colored)

remove busy inode check in the umount path - Linux checked it for us before calling into the filesystem.  We're beyond the point of no return for umount anyway

Revision 1.410 / (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.409: +26 -14 lines
Diff to previous 1.409 (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.409 / (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.408: +1 -0 lines
Diff to previous 1.408 (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.408 / (download) - annotate - [select for diffs], Wed Mar 12 03:33:01 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.407: +28 -58 lines
Diff to previous 1.407 (colored)

Next step in bhv code cleanup - this is a start on moving quota and dmapi
into behavior layers, purging several points where these sit slap bang in
the middle of XFS code (esp. read_super).  Also removes numerous #ifdef's
and a bunch of unused #define's from all over the place.  More to come.

Revision 1.407 / (download) - annotate - [select for diffs], Tue Mar 4 16:58:38 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.406: +0 -1 lines
Diff to previous 1.406 (colored)

remove VFS_DOUNMOUNT
Merge of 2.5.x-xfs:slinx:140841a by hch.

Revision 1.406 / (download) - annotate - [select for diffs], Wed Jan 29 11:16:55 2003 UTC (14 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.405: +2 -9 lines
Diff to previous 1.405 (colored)

remove a dead codepath in xfs_syncsub
in XFS/Linux VOP_SYNC is not used to periodically flush delalloc space

Revision 1.405 / (download) - annotate - [select for diffs], Tue Jan 14 18:31:21 2003 UTC (14 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.404: +2 -2 lines
Diff to previous 1.404 (colored)

fix namespace pullution
Merge of 2.5.x-xfs:slinx:136827a by hch.

  use XFS_PREEMPT_MASK instead of PREEMPT_MASK

Revision 1.404 / (download) - annotate - [select for diffs], Wed Dec 18 03:51:45 2002 UTC (14 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.403: +8 -7 lines
Diff to previous 1.403 (colored)

Fix up setting up of sector size for the superblock buffer after the
very first read on mount.  Make some of the surrounding code dealing
with buffers consistent.

Revision 1.403 / (download) - annotate - [select for diffs], Mon Dec 9 19:55:07 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.402: +16 -12 lines
Diff to previous 1.402 (colored)

add a new xfs_mount parameter to xfs_blkdev_get
allocate struct xfs_mount early, pass it down to xfs_blkdev_get

Revision 1.402 / (download) - annotate - [select for diffs], Tue Dec 3 23:02:40 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.401: +1 -1 lines
Diff to previous 1.401 (colored)

fix small typo in rtdev mount code
fix small typo in rtdev mount code

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

small syncups with 2.5
remove useless initialization

Revision 1.400 / (download) - annotate - [select for diffs], Mon Dec 2 05:53:26 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.399: +7 -3 lines
Diff to previous 1.399 (colored)

Sector size updates - macros for calculating address/size of sector-sized
data structures (sb,agf,agi,agfl) are now sector size aware.  Cleaned up
the early mount code dealing with log devices and logsectsize.
Cleaned up the early mount code dealing with log devices and logsectsize.

Revision 1.399 / (download) - annotate - [select for diffs], Wed Nov 13 07:49:10 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.398: +14 -20 lines
Diff to previous 1.398 (colored)

pagebuf can now take a configurable sector size (512 -> 32K).
Set the device sector size based on the (existing) superblock field value
(currently this is always 512), rather than hardcoding the value to 512.

Revision 1.398 / (download) - annotate - [select for diffs], Mon Nov 4 18:13:18 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.397: +1 -4 lines
Diff to previous 1.397 (colored)

remove excess vn_remove from the unmount path
remove excess vn_remove of the root inode of the filesystem
from the unmount path.

Revision 1.397 / (download) - annotate - [select for diffs], Thu Oct 31 15:59:08 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.396: +0 -1 lines
Diff to previous 1.396 (colored)

remove VPURGE

Revision 1.396 / (download) - annotate - [select for diffs], Wed Oct 30 15:02:08 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.395: +1 -1 lines
Diff to previous 1.395 (colored)

fix loop termination logic in xfs_sync
fix loop termination logic in xfs_sync

Revision 1.395 / (download) - annotate - [select for diffs], Tue Oct 29 21:29:24 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.394: +0 -4 lines
Diff to previous 1.394 (colored)

more dead code removal
remove getting the linux inode from xfs_vget

Revision 1.394 / (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.393: +12 -12 lines
Diff to previous 1.393 (colored)

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

Revision 1.393 / (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.392: +12 -12 lines
Diff to previous 1.392 (colored)

Replace STATIC with static in xfs code

Revision 1.392 / (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.391: +0 -34 lines
Diff to previous 1.391 (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.391 / (download) - annotate - [select for diffs], Mon Oct 21 05:01:58 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.390: +1 -1 lines
Diff to previous 1.390 (colored)

Minor header reorg to get xfs_lrw.h back into line with the other linux
headers.  Allows us to not repeat the xfs_stratcb declaration in several
places.  Also rename linvfs_set_inode_ops to xfs_set_inodeops since its
an auxillary routine not a linvfs method.
Rename linvfs_set_inode_ops to xfs_set_inodeops since its an auxillary routine
not a linvfs method.

Revision 1.390 / (download) - annotate - [select for diffs], Mon Oct 14 16:58:53 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.389: +1 -1 lines
Diff to previous 1.389 (colored)

Revert VMAP() to the old IRIX prototype.  Vnode and Linux inode are closely
tied together nowdays so that we don't have to pass in the Linux inode
separately.
Adjust for new old VMAP() calling convention.

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

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

Revision 1.388 / (download) - annotate - [select for diffs], Tue Oct 8 00:08:03 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.387: +0 -3 lines
Diff to previous 1.387 (colored)

Symlinks are created by default with mode 777 now, old behavior is still
accessible through sysctl through.  irixsgid mount option deprecated and
it too is still accessible through sysctl.
Deprecate the irixsgid mount option.

Revision 1.387 / (download) - annotate - [select for diffs], Wed Oct 2 17:25:30 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.386: +34 -5 lines
Diff to previous 1.386 (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.
Add in the vnode initialization operation.

Revision 1.386 / (download) - annotate - [select for diffs], Sun Sep 29 20:41:49 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.385: +1 -2 lines
Diff to previous 1.385 (colored)

bring the 32 bit inode flag back into line with the Irix version.
Change the bit used for the flag, and pass it in from the mount
arguments rather than setting it at a lower level.
turn on 32 bit inode behavior from the mount arguments

Revision 1.385 / (download) - annotate - [select for diffs], Fri Sep 27 15:16:21 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.384: +64 -94 lines
Diff to previous 1.384 (colored)

More mount cleanups
Merge xfs_mount and xfs_cmountfs, cleanup the new xfs_mount.

Revision 1.384 / (download) - annotate - [select for diffs], Mon Sep 23 17:47:17 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.383: +23 -26 lines
Diff to previous 1.383 (colored)

Fix the mount-cleanup for single-subvolume filesystems.
Remove bogus checks for non-null and separate logvolume

Revision 1.383 / (download) - annotate - [select for diffs], Mon Sep 23 13:30:20 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.382: +85 -103 lines
Diff to previous 1.382 (colored)

More mount code cleanups
- move setting the blocksize on rt and log subvolume back into xfs_cmountfs
- make xfs_start_flags/xfs_finish_flags static and sanitize agruments
- on Linux the ap pointer can't be NULL as there is no mountroot VFSOP.

Revision 1.382 / (download) - annotate - [select for diffs], Fri Sep 20 03:36:14 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.381: +135 -105 lines
Diff to previous 1.381 (colored)

Cleanup mount argument manipulation, sanitize xfs_cmountfs and move the
check for a mount with IRIX project quota enabled much earlier on in the
piece.
Split xfs_cmountfs into manageable chunks - separating out the arguments
we can validate before reading the superblock from those which happen only
afterward.  The IRIX project quota mount check moves in here too (earlier
on in the pieces now).

Revision 1.381 / (download) - annotate - [select for diffs], Thu Sep 5 16:43:35 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.380: +1 -2 lines
Diff to previous 1.380 (colored)

Remove mrquota/QUOTAMAYBE mount option

Revision 1.380 / (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.379: +0 -1 lines
Diff to previous 1.379 (colored)

remove an unneeded #include file.

Revision 1.379 / (download) - annotate - [select for diffs], Wed Sep 4 20:54:02 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.378: +7 -29 lines
Diff to previous 1.378 (colored)

merge xfs_get_vfsmount into it's only caller

Revision 1.378 / (download) - annotate - [select for diffs], Wed Sep 4 18:43:38 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.377: +0 -2 lines
Diff to previous 1.377 (colored)

remove dead members of struct vfs

Revision 1.377 / (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.376: +2 -1 lines
Diff to previous 1.376 (colored)

pass flush mode into xfs_finish_reclaim instead of a flag

Revision 1.376 / (download) - annotate - [select for diffs], Thu Aug 29 15:33:16 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.375: +1 -1 lines
Diff to previous 1.375 (colored)

cleanup stats/sysctl

Revision 1.375 / (download) - annotate - [select for diffs], Mon Aug 26 14:58:54 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.374: +1 -14 lines
Diff to previous 1.374 (colored)

remove vfs_fstype

Revision 1.374 / (download) - annotate - [select for diffs], Sat Aug 24 12:57:57 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.373: +0 -1 lines
Diff to previous 1.373 (colored)

remove unused flags

Revision 1.373 / (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.372: +1 -1 lines
Diff to previous 1.372 (colored)

Remove unused argument from vn_get

Revision 1.372 / (download) - annotate - [select for diffs], Tue Aug 20 16:23:26 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.371: +3 -3 lines
Diff to previous 1.371 (colored)

Whoops, remove the sb arg from pagebuf_lock_enable() callers as well

Revision 1.371 / (download) - annotate - [select for diffs], Fri Aug 16 16:32:00 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.370: +11 -9 lines
Diff to previous 1.370 (colored)

Add do_blkdev_get/do_blkdev_put arguments to pagebuf_lock_enable
and pagebuf_lock_disable, so that we don't get/put a second time
for the data device - the vfs does this for us.  We still need to
do it ourselves for the logdev and rtdev, though.
This also means that the blkdev_get for the data device is now read-only
for read-only mounts.

Revision 1.370 / (download) - annotate - [select for diffs], Thu Aug 15 18:47:01 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.369: +7 -3 lines
Diff to previous 1.369 (colored)

Handle ERR_PTR returns from pagebuf_lock_enable

Revision 1.369 / (download) - annotate - [select for diffs], Wed Aug 14 18:49:40 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.368: +1 -1 lines
Diff to previous 1.368 (colored)

fix unchecked pointer dereferences

Revision 1.368 / (download) - annotate - [select for diffs], Tue Aug 13 16:09:38 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.367: +31 -30 lines
Diff to previous 1.367 (colored)

rationalize xfs <-> pagebuf interface

Revision 1.367 / (download) - annotate - [select for diffs], Fri Aug 9 16:27:40 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.366: +0 -3 lines
Diff to previous 1.366 (colored)

remove unneeded vfs locking code

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

move from xfs_zone back to kmem_zone

Revision 1.365 / (download) - annotate - [select for diffs], Wed Jul 31 15:57:04 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.364: +2 -23 lines
Diff to previous 1.364 (colored)

remove more cell capable code

Revision 1.364 / (download) - annotate - [select for diffs], Mon Jul 29 18:59:37 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.363: +19 -3 lines
Diff to previous 1.363 (colored)

Make mount failure messages a little more informative, like they
were in xfs_parseargs before those got removed.

Revision 1.363 / (download) - annotate - [select for diffs], Sat Jul 27 14:25:06 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.362: +2 -12 lines
Diff to previous 1.362 (colored)

no need for vfs_flags option in unmount path, initialize
vfs_force_shutdown vfs op.

Revision 1.362 / (download) - annotate - [select for diffs], Tue Jul 23 20:54:30 2002 UTC (15 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.361: +2 -0 lines
Diff to previous 1.361 (colored)

From Chris Hellwig:

* CONFIG_XFS_DMAPI is now a dep_mbool on CONFIG_XFS_FS, fs/xfs_dmapi/
  is entered based on CONFIG_XFS_FS if CONFIG_XFS_DMAPI is set to keep
  the old behaviour.
* CONFIG_HAVE_XFS_DMAPI is gone, as CONFIG_XFS_DMAPI has the same
  meaning now.
* we refuse to mount with dmapi/xdsm options now if we can't support it.
* this way the dmapi_mount vfs method can't be called without dmapi
  support anymore.  declare the two dmapi-related vfs methods only if
  we build with dmapi support.
* fs/xfs/xfsdmapistubs.c is gone, all stubs for XFS-own
  dmapi-related functions are inlines in xfs_dmapi.h now.
* xfs_dmapi_mmap_event is renamed to xfs_dm_send_mmap_event to match the
  other xfs_dm_send_* functions
No Message Supplied

Revision 1.361 / (download) - annotate - [select for diffs], Mon Jul 22 18:34:31 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.360: +23 -23 lines
Diff to previous 1.360 (colored)

remove kdev_t abuse from XFS

Revision 1.360 / (download) - annotate - [select for diffs], Thu Jul 18 17:35:16 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.359: +9 -9 lines
Diff to previous 1.359 (colored)

update Designated initializer format

Revision 1.359 / (download) - annotate - [select for diffs], Tue Jul 16 21:17:45 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.358: +4 -4 lines
Diff to previous 1.358 (colored)

rename xfs_args to xfs_mount_args

Revision 1.358 / (download) - annotate - [select for diffs], Thu Jul 11 16:43:58 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.357: +6 -27 lines
Diff to previous 1.357 (colored)

rationalize mount arguments

Revision 1.357 / (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.356: +96 -96 lines
Diff to previous 1.356 (colored)

whitespace cleanup

Revision 1.356 / (download) - annotate - [select for diffs], Mon Jun 24 18:25:14 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.355: +2 -1 lines
Diff to previous 1.355 (colored)

Don't look for 32BITINODES in args; just set it directly

Revision 1.355 / (download) - annotate - [select for diffs], Thu Jun 20 11:37:23 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.354: +1 -1 lines
Diff to previous 1.354 (colored)

fix types in MIN macro

Revision 1.354 / (download) - annotate - [select for diffs], Thu Jun 20 05:33:04 2002 UTC (15 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.353: +8 -12 lines
Diff to previous 1.353 (colored)

fix quota manager data structure so that kdb module can get at it correctly.
fix a couple of compiler warnings Keith pointed out.

Revision 1.353 / (download) - annotate - [select for diffs], Tue Jun 18 20:32:24 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.352: +17 -1 lines
Diff to previous 1.352 (colored)

Checks for new logbuf sizes

Revision 1.352 / (download) - annotate - [select for diffs], Tue Jun 18 14:45:50 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.351: +0 -3 lines
Diff to previous 1.351 (colored)

remove unneeded check for a directory

Revision 1.351 / (download) - annotate - [select for diffs], Fri Jun 14 21:03:09 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.350: +7 -9 lines
Diff to previous 1.350 (colored)

more small cleanups

Revision 1.350 / (download) - annotate - [select for diffs], Fri Jun 14 05:04:15 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.349: +3 -1 lines
Diff to previous 1.349 (colored)

Take xfs_acl_t off the stack - allocate it from an xfs_acl zone instead;
wrap up use of acls in macros such that an alternate implementation could
be plugged in potentially - for the guys investigating large ACE counts &
extended permission bits.

Revision 1.349 / (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.348: +1 -1 lines
Diff to previous 1.348 (colored)

Update copyright dates

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

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

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

Remove checks for VISSWAP, it's never set.

Revision 1.346 / (download) - annotate - [select for diffs], Fri May 24 19:37:51 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.345: +0 -37 lines
Diff to previous 1.345 (colored)

kill an unused vfs operation

Revision 1.345 / (download) - annotate - [select for diffs], Fri May 24 14:30:21 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.344: +2 -0 lines
Diff to previous 1.344 (colored)

NOLOGFLUSH option processing

Revision 1.344 / (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.343: +1 -1 lines
Diff to previous 1.343 (colored)

Use xfs_iput_new for new inodes that are still locked

Revision 1.343 / (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.342: +0 -1 lines
Diff to previous 1.342 (colored)

Remove call to linvfs_set_inode_ops, done elsewhere now

Revision 1.342 / (download) - annotate - [select for diffs], Tue Apr 30 09:41:04 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.341: +1 -1 lines
Diff to previous 1.341 (colored)

more irq changes to unsigned long

Revision 1.341 / (download) - annotate - [select for diffs], Fri Apr 19 18:22:52 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.340: +3 -0 lines
Diff to previous 1.340 (colored)

set mount struct flag for irixsgid

Revision 1.340 / (download) - annotate - [select for diffs], Sun Apr 7 14:12:07 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.339: +2 -1 lines
Diff to previous 1.339 (colored)

delete sbdirty timer on unmount

Revision 1.339 / (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.338: +3 -3 lines
Diff to previous 1.338 (colored)

access i_pincount via function now, it is an atomic_t

Revision 1.338 / (download) - annotate - [select for diffs], Wed Feb 27 23:11:09 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.337: +1 -1 lines
Diff to previous 1.337 (colored)

Use the inode_data_buffers functions instead of the inode_buffers
functions.

Revision 1.337 / (download) - annotate - [select for diffs], Mon Feb 25 23:42:16 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.336: +0 -1 lines
Diff to previous 1.336 (colored)

Merge of 2.4.18-xfs:slinx:111144a by nathans.

  Kernel changes to transition us to the new extended attribute and ACL
  interfaces.  Some minor code rearranging (files moved, some deleted,
  some new ones from ext2/ext3 ACL project) too.

Revision 1.336 / (download) - annotate - [select for diffs], Fri Feb 15 22:48:36 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.335: +2 -2 lines
Diff to previous 1.335 (colored)

replace XFSMNT_OSYNCISDSYNC handling with XFSMNT_OSYNCISOSYNC

Revision 1.335 / (download) - annotate - [select for diffs], Fri Feb 15 19:37:58 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.334: +2 -2 lines
Diff to previous 1.334 (colored)

Use XFS_EFI_MAX_FAST_EXTENTS and XFS_EFD_MAX_FAST_EXTENTS rather than a
hard coded constant.

Revision 1.334 / (download) - annotate - [select for diffs], Tue Feb 12 20:20:29 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.333: +2 -1 lines
Diff to previous 1.333 (colored)

use defined constants for iclog counts

Revision 1.333 / (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.332: +1 -1 lines
Diff to previous 1.332 (colored)

remove KM_SLEEP_IO flag

Revision 1.332 / (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.331: +1 -1 lines
Diff to previous 1.331 (colored)

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

  vnode/inode layout and allocation changed

Revision 1.331 / (download) - annotate - [select for diffs], Wed Jan 9 05:15:08 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.330: +6 -0 lines
Diff to previous 1.330 (colored)

add some code to allow blocksize to be passed down to pagebuf.

Revision 1.330 / (download) - annotate - [select for diffs], Mon Dec 17 18:57:20 2001 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.329: +1 -1 lines
Diff to previous 1.329 (colored)

Allow a special case in the vget code for a caller who cannot specify
a generation number on an inode.

Revision 1.329 / (download) - annotate - [select for diffs], Tue Dec 4 17:34:40 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.328: +2 -1 lines
Diff to previous 1.328 (colored)

Add xfs_dm_get_fsys_vector to xfs_vfsops.

Revision 1.328 / (download) - annotate - [select for diffs], Mon Dec 3 17:52:09 2001 UTC (15 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.327: +3 -0 lines
Diff to previous 1.327 (colored)

Add in XFS_MOUNT_32BITINODES mount option

Revision 1.327 / (download) - annotate - [select for diffs], Tue Oct 2 22:23:13 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.326: +9 -3 lines
Diff to previous 1.326 (colored)

Fix the full filesystem delwri flush code to avoid mmap data.

Revision 1.326 / (download) - annotate - [select for diffs], Wed Sep 26 19:08:38 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.325: +4 -2 lines
Diff to previous 1.325 (colored)

Register and unregister sysctl interface

Revision 1.325 / (download) - annotate - [select for diffs], Tue Sep 25 19:28:31 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.324: +6 -0 lines
Diff to previous 1.324 (colored)

Free nfs refcache on module unload

Revision 1.324 / (download) - annotate - [select for diffs], Tue Sep 18 20:56:42 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.323: +1 -1 lines
Diff to previous 1.323 (colored)

call xfs_refcache_purge_some with mp argument

Revision 1.323 / (download) - annotate - [select for diffs], Mon Aug 20 07:39:46 2001 UTC (16 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.322: +82 -373 lines
Diff to previous 1.322 (colored)

fixups related to external log/realtime volume device ref counting.
remove a bunch of dead code dealing with mounting root on IRIX, and
the mount ABI on IRIX.

Revision 1.322 / (download) - annotate - [select for diffs], Mon Aug 13 12:12:07 2001 UTC (16 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.321: +2 -2 lines
Diff to previous 1.321 (colored)

merge upto 2.4.8

Revision 1.321 / (download) - annotate - [select for diffs], Fri Aug 10 21:26:49 2001 UTC (16 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.320: +16 -16 lines
Diff to previous 1.320 (colored)

The current invisible I/O tests have been cheating.  They do helpful things
like calling path_to_handle() before doing the invisible I/O.  This means
there is always a connected dentry for the file.

If the tests are modified to not cheat, then they show that xfs_vget has been
coming up short.  In my case, I either end up with a null pointer reference
somewhere in kupdate or I have a filesystem that I can umount and but cannot
remount.  When the filesystem cannot be remounted I see this from mount:

mount: wrong fs type, bad option, bad superblock on /dev/hda12,
       or too many mounted file systems

By finishing xfs_vget, and getting the inode properly setup, the problems go
away.
Fix xfs_vget.

Revision 1.320 / (download) - annotate - [select for diffs], Mon Jul 2 22:36:00 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.319: +1 -1 lines
Diff to previous 1.319 (colored)

Use a different allocation mode for the pointer buffer, minor tweak.

Revision 1.319 / (download) - annotate - [select for diffs], Fri Jun 29 22:29:47 2001 UTC (16 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.318: +3 -0 lines
Diff to previous 1.318 (colored)

Add nouuid mount option

Revision 1.318 / (download) - annotate - [select for diffs], Fri Jun 8 20:55:16 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.317: +1 -1 lines
Diff to previous 1.317 (colored)

change xfs_finish_reclaim call from sync

Revision 1.317 / (download) - annotate - [select for diffs], Thu May 24 03:34:41 2001 UTC (16 years, 4 months ago) by nathans
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.316: +6 -0 lines
Diff to previous 1.316 (colored)

rework the way we intitialize and tear down the quota-related kmem zones.
this fixes a problem with (multiple) use of xfs as a module, found by qa.

Revision 1.316 / (download) - annotate - [select for diffs], Thu May 10 14:44:32 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.315: +4 -4 lines
Diff to previous 1.315 (colored)

Change names of functions used to release caches during failed mount.

Revision 1.315 / (download) - annotate - [select for diffs], Fri Apr 20 14:51:29 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.314: +0 -4 lines
Diff to previous 1.314 (colored)

remove setup and teardown for the gap zone, not used on linux

Revision 1.314 / (download) - annotate - [select for diffs], Wed Apr 11 16:27:03 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.313: +4 -72 lines
Diff to previous 1.313 (colored)

Kill gratuitous prototypes

Revision 1.313 / (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.312: +11 -17 lines
Diff to previous 1.312 (colored)

Get rid of the last compiler warning OFF flags

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

Add member labels to ops vector initializations for clarity.

Revision 1.311 / (download) - annotate - [select for diffs], Tue Apr 3 02:52:38 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.310: +3 -3 lines
Diff to previous 1.310 (colored)

support group quotas in Linux/XFS.

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

purge nfs reference cache on unmount, and prune some entries during
sync activity.

Revision 1.309 / (download) - annotate - [select for diffs], Mon Mar 5 20:19:59 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.308: +1 -1 lines
Diff to previous 1.308 (colored)

Add back VN_DIRTY since it is easy to work this out now

Revision 1.308 / (download) - annotate - [select for diffs], Mon Mar 5 18:53:08 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.307: +0 -11 lines
Diff to previous 1.307 (colored)

No need to verify a device is not already mounted during the mount code,
linux has already done this.

Revision 1.307 / (download) - annotate - [select for diffs], Wed Feb 21 00:50:22 2001 UTC (16 years, 7 months ago) by mann
Branch: MAIN
Changes since 1.306: +4 -0 lines
Diff to previous 1.306 (colored)

intialize the error test

Revision 1.306 / (download) - annotate - [select for diffs], Fri Jan 19 06:50:04 2001 UTC (16 years, 8 months ago) by tes
Branch: MAIN
Changes since 1.305: +0 -5 lines
Diff to previous 1.305 (colored)

Make ACLs compile configurable

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

Add XFS/ACL support

Revision 1.304 / (download) - annotate - [select for diffs], Wed Dec 13 06:02:07 2000 UTC (16 years, 10 months ago) by ivanr
Branch: MAIN
Changes since 1.303: +5 -5 lines
Diff to previous 1.303 (colored)

add parameter to VOP_TOSS_PAGES VOP_FLUSH_PAGES and VOP_FLUSHINVAL_PAGES for irix compatibility

Revision 1.303 / (download) - annotate - [select for diffs], Tue Dec 12 00:27:26 2000 UTC (16 years, 10 months ago) by ivanr
Branch: MAIN
Changes since 1.302: +3 -3 lines
Diff to previous 1.302 (colored)

undo mod 80332a: we will solve the problem a different way
Undoes mod:     2.4.x-xfs:slinx:80332a

Revision 1.302 / (download) - annotate - [select for diffs], Sun Dec 10 23:21:19 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
Changes since 1.301: +3 -3 lines
Diff to previous 1.301 (colored)

rename fs_* to xfs_fs_* 

Revision 1.301 / (download) - annotate - [select for diffs], Thu Nov 16 01:57:15 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
Changes since 1.300: +15 -30 lines
Diff to previous 1.300 (colored)

use kmem_init & kmem_uninit

Revision 1.300 / (download) - annotate - [select for diffs], Fri Nov 3 03:19:17 2000 UTC (16 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.299: +1 -0 lines
Diff to previous 1.299 (colored)

rework heuristics which caused problems with a module build.

Revision 1.299 / (download) - annotate - [select for diffs], Thu Nov 2 21:49:48 2000 UTC (16 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.298: +0 -1 lines
Diff to previous 1.298 (colored)

remove definition of ndquot, move to xfs_qm.c.

Revision 1.298 / (download) - annotate - [select for diffs], Thu Nov 2 01:35:08 2000 UTC (16 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.297: +1 -1 lines
Diff to previous 1.297 (colored)

remove a TODO, fixed.

Revision 1.297 / (download) - annotate - [select for diffs], Fri Oct 20 06:02:14 2000 UTC (16 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.296: +1 -1 lines
Diff to previous 1.296 (colored)

use XFS_NAME in place of "xfs".

Revision 1.296 / (download) - annotate - [select for diffs], Tue Oct 10 20:58:19 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.295: +1 -41 lines
Diff to previous 1.295 (colored)

dmapi mounts are handled by do_mount via a callback.
Take DMAPI stuff out of xfs_mount().

Revision 1.295 / (download) - annotate - [select for diffs], Thu Sep 28 04:26:20 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.294: +0 -6 lines
Diff to previous 1.294 (colored)

move xfs_fstype to globals.

Revision 1.294 / (download) - annotate - [select for diffs], Thu Sep 28 04:14:43 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.293: +0 -14 lines
Diff to previous 1.293 (colored)

remove explicit externs - get these from headers.

Revision 1.293 / (download) - annotate - [select for diffs], Tue Sep 26 18:17:40 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.292: +1 -1 lines
Diff to previous 1.292 (colored)

check for mounted-on-dir before attempting dmapi mount
add extra check for dmapi mount

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

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

Revision 1.291 / (download) - annotate - [select for diffs], Fri Sep 22 19:30:29 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.290: +5 -0 lines
Diff to previous 1.290 (colored)

Remove the cleanup code that is executed when dm_send_umount_event fails.
This stuff is already handled by linvfs_read_super.
remove some dm_send_umount_event error code

Revision 1.290 / (download) - annotate - [select for diffs], Fri Sep 22 19:20:49 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.289: +74 -1 lines
Diff to previous 1.289 (colored)

add xfs_vget for dmapi
add xfs_vget

Revision 1.289 / (download) - annotate - [select for diffs], Fri Sep 22 18:50:28 2000 UTC (17 years ago) by roehrich
Branch: MAIN
Changes since 1.288: +9 -2 lines
Diff to previous 1.288 (colored)

add mount flags for dmapi
add mount flags for dmapi

Revision 1.288 / (download) - annotate - [select for diffs], Thu Sep 14 05:14:56 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.287: +5 -2 lines
Diff to previous 1.287 (colored)

put back reference to qm mutex which really is needed, add ndquot init.

Revision 1.287 / (download) - annotate - [select for diffs], Thu Sep 7 14:06:59 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.286: +1 -2 lines
Diff to previous 1.286 (colored)

Remove last reference to xfsd_lock missed on previous checkin.

Revision 1.286 / (download) - annotate - [select for diffs], Thu Sep 7 06:52:23 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.285: +1 -6 lines
Diff to previous 1.285 (colored)

cleanse sim remnants, minor tidying, remove dead code/types/#defines.

Revision 1.285 / (download) - annotate - [select for diffs], Fri Aug 18 22:54:04 2000 UTC (17 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.284: +1 -12 lines
Diff to previous 1.284 (colored)

revert the sync code back to orginal, read only remount handled in
 XFS_log_write_unmount_ro

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

Remove some sync code paths which do not mean aything on Linux

Revision 1.283 / (download) - annotate - [select for diffs], Fri Aug 11 21:36:02 2000 UTC (17 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.282: +12 -1 lines
Diff to previous 1.282 (colored)

Initial changes to allow remounting a file system from read write to
read only. Not fully correct yet, but working in general cases.

Revision 1.282 / (download) - annotate - [select for diffs], Wed Jul 26 07:00:20 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.281: +1 -1 lines
Diff to previous 1.281 (colored)

fix warning

Revision 1.281 / (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.280: +3 -19 lines
Diff to previous 1.280 (colored)

pv 797297 tidy handling of IRIX device numbers

Revision 1.280 / (download) - annotate - [select for diffs], Mon Jul 24 21:37:42 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.279: +14 -11 lines
Diff to previous 1.279 (colored)

Cleanup the code for inode flushing of deleted inodes, it is
still broken, but now it is faster and broken!

Revision 1.279 / (download) - annotate - [select for diffs], Sat Jul 22 04:20:01 2000 UTC (17 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.278: +2 -2 lines
Diff to previous 1.278 (colored)

merge cred, mac, & cap headers to facilitate sharing between user and
kernel tools cleanly.  remove some unused headers, definitions, typedefs,
etc where found also.

Revision 1.278 / (download) - annotate - [select for diffs], Tue Jul 18 14:55:43 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.277: +12 -11 lines
Diff to previous 1.277 (colored)

do not call finish_reclaim if there is a pincount on the inode

Revision 1.277 / (download) - annotate - [select for diffs], Mon Jul 17 22:15:21 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.276: +8 -7 lines
Diff to previous 1.276 (colored)

Add the I_RECLAIM flag to an inode going into finish_reclaim from sync,
also make sync safe against a null vnode pointer.

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

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

Revision 1.275 / (download) - annotate - [select for diffs], Fri Jul 14 20:43:43 2000 UTC (17 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.274: +3 -1 lines
Diff to previous 1.274 (colored)

add vget and fid2 to ops vectors
add vget to vfsops vector

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

Remove initialization of "xfs_ancestormon".

Revision 1.273 / (download) - annotate - [select for diffs], Fri Jul 7 18:36:17 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.272: +11 -2 lines
Diff to previous 1.272 (colored)

At sync time, when we discover a vnode in need of
reclaimation, use conditional locking, and skip it
if necessary (don't wait on it).

Revision 1.272 / (download) - annotate - [select for diffs], Fri Jun 30 18:54:07 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.271: +2 -2 lines
Diff to previous 1.271 (colored)

pass extra state into xfs_finish_reclaim

Revision 1.271 / (download) - annotate - [select for diffs], Fri Jun 16 20:57:56 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.270: +1 -1 lines
Diff to previous 1.270 (colored)

*** empty log message ***

Revision 1.270 / (download) - annotate - [select for diffs], Fri Jun 16 14:46:27 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.269: +2 -2 lines
Diff to previous 1.269 (colored)

Add extra check to sync to look for delayed blocks on an inode since VN_DIRTY
does not work.

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

Pull the IRIX specific "refcache" code.

Revision 1.268 / (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.267: +134 -120 lines
Diff to previous 1.267 (colored)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Use 'vn_count()' to check the reference count.

Merge of 2.3.99pre2-xfs:slinx:62967a originally by jtk on 05/27/00
  Don't destroy buf_zone if it wasn't allocated.

Merge of 2.3.99pre2-xfs:slinx:63004a originally by lord on 05/30/00
  Remove page buf metadata as an option - it is always on now

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

Merge of 2.3.99pre2-xfs:slinx:63085a originally by jtk on 05/31/00
  Inintialize & cleanup the 'xfs_stats' /proc interface.

Merge of 2.3.99pre2-xfs:slinx:63161a originally by lord on 06/01/00
  p_integrate: Info: Locking file linux/fs/xfs/xfs_vfsops.cRemove some debug messages from console output

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
  Add code to sync path to complete reclaim of inodes which have been
  deleted.

Merge of 2.3.99pre2-xfs:slinx:63636a originally by nathans on 06/07/00
  more housekeeping - remove unused headers & dead code.

Merge of 2.3.99pre2-xfs:slinx:63664a originally by nathans on 06/08/00
  more housekeeping - remove unused headers & dead code.

Revision 1.267 / (download) - annotate - [select for diffs], Fri Jun 9 04:35:55 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.266: +7 -1 lines
Diff to previous 1.266 (colored)

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

  Correct compile error when DEBUG is on & VNODE_TRACING is off.

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

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

  Change the 'ktrace' mechanism to use 'zones'.

Revision 1.265 / (download) - annotate - [select for diffs], Fri Jun 9 04:23:14 2000 UTC (17 years, 4 months ago) by nn100003
Branch: MAIN
Changes since 1.264: +10 -10 lines
Diff to previous 1.264 (colored)

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

  Fixed Daniel Moore's bug report about not cleaning up in xfs_cmountfs
  after an error.  Instead of setting local variables to indicate whether
  the inodes are allocated, free them under the same conditions that they
  were allocated.

Revision 1.264 / (download) - annotate - [select for diffs], Fri Jun 9 04:18:21 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.263: +21 -8 lines
Diff to previous 1.263 (colored)

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

  Add a specific KM_SLEEP flag to the ktrace_alloc()
  invocations.
  Return the 'rbufs' zone at module unload time.

Revision 1.263 / (download) - annotate - [select for diffs], Fri Jun 9 03:28:16 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.262: +0 -1 lines
Diff to previous 1.262 (colored)

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

  Remove unused include

Revision 1.262 / (download) - annotate - [select for diffs], Fri Jun 9 03:24:37 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.261: +5 -11 lines
Diff to previous 1.261 (colored)

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

  Change calls to VOP_FLUSH_PAGES VOP_FLUSHINVAL_PAGES and VOP_TOSS_PAGES to
  not take an end offset.

Revision 1.261 / (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.260: +25 -11 lines
Diff to previous 1.260 (colored)

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

Revision 1.260 / (download) - annotate - [select for diffs], Fri Jun 9 02:44:35 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.259: +4 -149 lines
Diff to previous 1.259 (colored)

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

  Clean up argument import into xfs - the format translation
  stuff is not needed in linux as we do parsing in the kernel.

Revision 1.259 / (download) - annotate - [select for diffs], Fri Jun 9 02:29:42 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.258: +14 -6 lines
Diff to previous 1.258 (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.258 / (download) - annotate - [select for diffs], Fri Jun 9 02:16:41 2000 UTC (17 years, 4 months ago) by nn100003
Branch: MAIN
Changes since 1.257: +0 -1 lines
Diff to previous 1.257 (colored)

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

  Merge of 2.3.42-xfs:slinx:46754a by ananth.
  Stop including xfs_fs_bio.h

Revision 1.257 / (download) - annotate - [select for diffs], Fri Jun 9 02:15:58 2000 UTC (17 years, 4 months ago) by nn100003
Branch: MAIN
Changes since 1.256: +38 -5 lines
Diff to previous 1.256 (colored)

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

  Merge of 2.3.42-xfs:slinx:46735a by ananth.
  Modified spectodevs() call to add new argument
  Modified xfs_cmountfs(): buftargs are now filled properly for ddev, logdev, and
  rtdev.  logdev and rtdev, if valid, are checked to make sure that they're not
  already mounted; if ok, I set the blocksize to 512 bytes.  Added a number of
  warning messages to the failure cases in xfs_cmountfs().

Revision 1.256 / (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.255: +1 -1 lines
Diff to previous 1.255 (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.255 / (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.254: +8 -14 lines
Diff to previous 1.254 (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.254 / (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.253: +2 -9 lines
Diff to previous 1.253 (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.253 / (download) - annotate - [select for diffs], Fri Jun 9 01:13:26 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.252: +0 -2 lines
Diff to previous 1.252 (colored)

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

  Merge of 2.3.42-xfs:slinx:46296a by ananth.
  remove remaining unused fields.

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

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

  Merge of 2.3.42-xfs:slinx:46266a by ananth.
  remove all use of vf_to_stf function.

Revision 1.251 / (download) - annotate - [select for diffs], Fri Jun 9 01:06:41 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.250: +0 -170 lines
Diff to previous 1.250 (colored)

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

  Merge of 2.3.42-xfs:slinx:45877a by ananth.
  remove unused xfs_mntupdate, xfs_vget, & xfs_force_pinned routines, rework
  initialization of xfs_vfsops global to match header file changes.

Revision 1.250 / (download) - annotate - [select for diffs], Fri Jun 9 01:05:15 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.249: +35 -0 lines
Diff to previous 1.249 (colored)

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

  Merge of 2.3.42-xfs:slinx:45806a by ananth.
  Reinstate xfs_cleanup, this is needed for modules.

Revision 1.249 / (download) - annotate - [select for diffs], Fri Jun 9 01:04:53 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.248: +5 -499 lines
Diff to previous 1.248 (colored)

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

  Merge of 2.3.42-xfs:slinx:45756a by ananth.
  Fix an oops in mount if device isn't XFS by initializing devs in xfs_cmountfs().
  Also, delete lots of non-Linux code and remove all ifdef/ifndefs that are __linux__.
  xfs_cleanup also removed as it isn't used on Linux.
  remove setting global clock if mount root. This isn't done on linux.

Revision 1.248 / (download) - annotate - [select for diffs], Fri Jun 9 01:00:53 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.247: +41 -2 lines
Diff to previous 1.247 (colored)

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

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

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

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

  Merge of 2.3.42-xfs:slinx:44783a by ananth.
  we know our vfs name is xfs
  also remove unused vfs fields

Revision 1.246 / (download) - annotate - [select for diffs], Fri Jun 9 00:46:36 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.245: +1 -1 lines
Diff to previous 1.245 (colored)

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

  Merge of 2.3.42-xfs:slinx:44267a by ananth.
  fix prototype for linvfs_release_inode

Revision 1.245 / (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.244: +12 -4 lines
Diff to previous 1.244 (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.244 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
Changes since 1.243: +12 -17 lines
Diff to previous 1.243 (colored)

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

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

Revision 1.243 / (download) - annotate - [select for diffs], Thu Jan 13 00:29:10 2000 UTC (17 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.242: +11 -6 lines
Diff to previous 1.242 (colored)

XFS_* macro additions

Revision 1.242 / (download) - annotate - [select for diffs], Tue Jan 11 20:52:49 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.241: +2 -2 lines
Diff to previous 1.241 (colored)

Change bread to read_buf call - we do not have a bread
in xfs, this was linking with bread from the rest of linux

Revision 1.241 / (download) - annotate - [select for diffs], Tue Dec 21 10:01:54 1999 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.240: +21 -15 lines
Diff to previous 1.240 (colored)

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

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

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

Revision 1.239 / (download) - annotate - [select for diffs], Fri Dec 10 15:10:45 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.238: +17 -5 lines
Diff to previous 1.238 (colored)

Define linux specific xfs_fill_buftarg which fills
in buftarg contents required by pagebuf.

Revision 1.238 / (download) - annotate - [select for diffs], Sat Dec 4 01:19:15 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.237: +6 -1 lines
Diff to previous 1.237 (colored)

More macros.... <x>SEMA 

Revision 1.237 / (download) - annotate - [select for diffs], Fri Dec 3 23:09:06 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.236: +2 -2 lines
Diff to previous 1.236 (colored)

hide BUF_TRYLOCK

Revision 1.236 / (download) - annotate - [select for diffs], Thu Dec 2 21:00:29 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.235: +4 -4 lines
Diff to previous 1.235 (colored)

abstract b_pincount

Revision 1.235 / (download) - annotate - [select for diffs], Thu Dec 2 00:05:09 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.234: +2 -2 lines
Diff to previous 1.234 (colored)

renamed B_<x> to XFS_B_<x> move final defines into xfs_buf.h

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

Last of the b_flags abstraction.

Revision 1.233 / (download) - annotate - [select for diffs], Wed Nov 24 21:48:45 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.232: +1 -2 lines
Diff to previous 1.232 (colored)

hide read_buf and get_buf calls

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

make all xfs buffer access be buftarg_t based

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

virtualize brelse() call

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

virtualize interface to buffer data

Revision 1.229 / (download) - annotate - [select for diffs], Fri Nov 19 20:34:54 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.228: +17 -1 lines
Diff to previous 1.228 (colored)

Reinsert stripe alignment code missing from linux version

Revision 1.228 / (download) - annotate - [select for diffs], Thu Nov 18 22:45:37 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.227: +1 -1 lines
Diff to previous 1.227 (colored)

Add macros to virtualize iodone and fsprivate fields.

Revision 1.227 / (download) - annotate - [select for diffs], Wed Nov 17 19:22:23 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.226: +7 -7 lines
Diff to previous 1.226 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

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

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:31327a created by overby on 10/21/99
  fix xfs_sync to insure that metadata in the log is flushed out.
  - flush the iclogs synchronously when the SYNC_WAIT flag is set
  - aggressively flush the buffer cache when xfs_sync is called with
  SYNC_CLOSE | SYNC_WAIT

Revision 1.225 / (download) - annotate - [select for diffs], Thu Oct 28 10:44:39 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.224: +3 -1 lines
Diff to previous 1.224 (colored)

- initialize lock to coordinate updates to xfs_Gqm in xfs_init().

Revision 1.224 / (download) - annotate - [select for diffs], Wed Oct 20 22:05:26 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.223: +6 -1 lines
Diff to previous 1.223 (colored)

Make the busy vnode message come out during unmount

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

remove uuid_init call

Revision 1.222 / (download) - annotate - [select for diffs], Thu Oct 7 19:37:14 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.221: +2 -1 lines
Diff to previous 1.221 (colored)

Add call to uuid_init so that the mutex in the uuid code
is initialized and we can use it.

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

Changed on function from K&R to ansi

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

Initialize m_fsname field correctly.

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

Mount does not use spec vnodes on linux

Revision 1.218 / (download) - annotate - [select for diffs], Wed Sep 29 15:39:48 1999 UTC (18 years ago) by cattelan
Branch: MAIN
Changes since 1.217: +9 -1 lines
Diff to previous 1.217 (colored)

Added #define FSID_T
avoid compiler warnings     

Revision 1.217 / (download) - annotate - [select for diffs], Thu Aug 26 19:43:29 1999 UTC (18 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.216: +49 -1 lines
Diff to previous 1.216 (colored)

Set this so it compiles. Stub out routines not on Linux (THESE NEED
TO BE WRITTEN.).

Revision 1.216 / (download) - annotate - [select for diffs], Wed Aug 25 05:04:44 1999 UTC (18 years, 1 month ago) by kpreslan
Branch: MAIN
Changes since 1.215: +33 -1 lines
Diff to previous 1.215 (colored)

created xfs_get_vnode()

Revision 1.215 / (download) - annotate - [select for diffs], Wed Aug 18 22:56:59 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.214: +1 -1 lines
Diff to previous 1.214 (colored)

Minor compile fixes... fix some alignment problems

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

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

Revision 1.213 / (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.212: +375 -217 lines
Diff to previous 1.212 (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.212 / (download) - annotate - [select for diffs], Tue Apr 27 18:11:47 1999 UTC (18 years, 5 months ago) by ethan
Branch: MAIN
Changes since 1.211: +3 -3 lines
Diff to previous 1.211 (colored)

bring stop offsets into sync between buffer and page caches
bring stop offsets into sync between buffer and page caches

Revision 1.211 / (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.210: +3 -0 lines
Diff to previous 1.210 (colored)

Allocate a zone for the inode cluster hash list

Revision 1.210 / (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.209: +17 -2 lines
Diff to previous 1.209 (colored)

Change includes for v2 directory support.
Add a zone for dabufs.  Add a dir2 ktrace buffer.

Revision 1.209 / (download) - annotate - [select for diffs], Thu Jun 4 15:16:28 1998 UTC (19 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.208: +8 -4 lines
Diff to previous 1.208 (colored)

Add some sanity checking so that we do not pass a non file
vnode into pdflush.

Revision 1.208 / (download) - annotate - [select for diffs], Wed May 27 21:22:17 1998 UTC (19 years, 4 months ago) by rcc
Branch: MAIN
Changes since 1.207: +7 -2 lines
Diff to previous 1.207 (colored)

502802 - add tunable to allow reference cache size to
be set to a percentage of ncsize

Revision 1.207 / (download) - annotate - [select for diffs], Wed May 13 23:36:55 1998 UTC (19 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.206: +22 -10 lines
Diff to previous 1.206 (colored)

Add mount-time check that logbufs and logbufsize are ok values.
These checks duplicate those in the mount command.
Also fix some error code return values to be wrapped by XFS_ERROR
for DEBUG kernels.
pv: 585696 rv: rcc@engr

Revision 1.206 / (download) - annotate - [select for diffs], Mon Apr 27 18:44:28 1998 UTC (19 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.205: +2 -1 lines
Diff to previous 1.205 (colored)

Fix build error in xfs commands due to missing dummy line in the
simulation vfsops table.  The last fix uncovered this.
pv: 588688 rv: rcc@engr

Revision 1.205 / (download) - annotate - [select for diffs], Fri Apr 24 15:11:03 1998 UTC (19 years, 5 months ago) by dnoveck
Branch: MAIN
Changes since 1.204: +10 -1 lines
Diff to previous 1.204 (colored)

Put in vfsops version numbers for vfsops/vnodeops extensibility
so interfaces can be extended without breaking 3rd-party fs's.
pv: 588688
rv: rcc@engr

Revision 1.204 / (download) - annotate - [select for diffs], Fri Apr 10 16:42:40 1998 UTC (19 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.203: +3 -3 lines
Diff to previous 1.203 (colored)

Use cap_able_cred instead of checking against uid 0, also instead of
macro _CAP_CRABLE.
pv: 586451 rv: bitbug@engr

Revision 1.203 / (download) - annotate - [select for diffs], Wed Feb 25 21:17:28 1998 UTC (19 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.202: +28 -12 lines
Diff to previous 1.202 (colored)

rv: doucette@engr,rcc@engr
pv: 571728
Fix the memory corruption problems caused by xfs_sync(), the macro
to remove a marker from the m_inodes list was broken for the case
where there was only one true inode on the list. Also change the
ASSERT_ALWAYS macros back to regular ASSERTS again.

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

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

Revision 1.201 / (download) - annotate - [select for diffs], Tue Feb 17 21:43:14 1998 UTC (19 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.200: +50 -18 lines
Diff to previous 1.200 (colored)

rv: none@engr
pv: 571728
Add some ASSERT_ALWAYS macros to xfs_sync to verify that the marker
record is always removed from the list before the function returns.
Also adds better commenting to explain what is going on in xfs_sync.

Revision 1.200 / (download) - annotate - [select for diffs], Sun Jan 18 09:06:03 1998 UTC (19 years, 8 months ago) by rcc
Branch: MAIN
Changes since 1.199: +2 -2 lines
Diff to previous 1.199 (colored)

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

Revision 1.199 / (download) - annotate - [select for diffs], Thu Jan 15 21:41:59 1998 UTC (19 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.198: +30 -2 lines
Diff to previous 1.198 (colored)

rv: lord@cray.com, mac@cray.com pv: 496799 -- change xfs_sync to check if
it need to "cover" the log and if true, log a dummy transaction.

Revision 1.198 / (download) - annotate - [select for diffs], Thu Jan 15 20:46:35 1998 UTC (19 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.197: +114 -122 lines
Diff to previous 1.197 (colored)

Changed xfs_sync algorithm to leave a marker in the list of inodes
it is traversing rather than restarting from the beginning every
time it detects a change in the list.
pv: 261537
rv: mostek@cray.com

Revision 1.197 / (download) - annotate - [select for diffs], Fri Dec 19 03:40:24 1997 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.196: +54 -6 lines
Diff to previous 1.196 (colored)

added biosize mount option processing.  pv: 553288, rv: doucette@engr

Revision 1.196 / (download) - annotate - [select for diffs], Sat Dec 13 22:41:58 1997 UTC (19 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.195: +3 -3 lines
Diff to previous 1.195 (colored)

547913 - change VFS_SYNC flag parameter from short to an int.
pv: 547913, rv: doucette@engr

Revision 1.195 / (download) - annotate - [select for diffs], Fri Oct 17 21:18:31 1997 UTC (19 years, 11 months ago) by nowicki
Branch: MAIN
Changes since 1.194: +10 -3 lines
Diff to previous 1.194 (colored)

xfs_vget can use 48 bits of inode number now, to support file systems
larger than 1 Terabyte with NFS.
pv: 304136 rv: rcc

Revision 1.194 / (download) - annotate - [select for diffs], Fri Oct 17 18:29:37 1997 UTC (19 years, 11 months ago) by kcm
Branch: MAIN
Changes since 1.193: +2 -2 lines
Diff to previous 1.193 (colored)

Use correct behavior pointer rather than first.
rv:	kfr@sdiv.cray.com
pv:	534608

Revision 1.193 / (download) - annotate - [select for diffs], Thu Oct 9 18:20:06 1997 UTC (20 years ago) by lord
Branch: MAIN
Changes since 1.192: +20 -4 lines
Diff to previous 1.192 (colored)

Cater for case where device is a mounted filesystem, but is not xfs,
call spec_mounted to set the spec vnode flag indicating a mounted
filesystem is present on a device.

Revision 1.192 / (download) - annotate - [select for diffs], Fri Sep 19 09:37:12 1997 UTC (20 years ago) by rcc
Branch: MAIN
Changes since 1.191: +71 -4 lines
Diff to previous 1.191 (colored)

522678,189005 - add support for shared-readonly mounts and
norecovery mounts

Revision 1.191 / (download) - annotate - [select for diffs], Fri Sep 12 17:52:00 1997 UTC (20 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.190: +26 -10 lines
Diff to previous 1.190 (colored)

Initialize the buftarg_t structures in the xfs_mount structure.

Revision 1.190 / (download) - annotate - [select for diffs], Thu Sep 11 21:16:51 1997 UTC (20 years, 1 month ago) by kcm
Branch: MAIN
Changes since 1.189: +21 -8 lines
Diff to previous 1.189 (colored)

Rearrange code so that dm_send_unmount_event() is called before
xfs_unmountfs().  Previously dm_send_unmount_event() was called
after xfs_unmountfs() and was using a field in the freed
xfs_mount_t structure.

Revision 1.189 / (download) - annotate - [select for diffs], Wed Sep 10 15:12:46 1997 UTC (20 years, 1 month ago) by kcm
Branch: MAIN
Changes since 1.188: +3 -3 lines
Diff to previous 1.188 (colored)

Replace two erroneous bhv_lookup_unlocked calls with corrected
vn_bhv_lookup_unlocked calls.

Revision 1.188 / (download) - annotate - [select for diffs], Tue Sep 9 14:28:56 1997 UTC (20 years, 1 month ago) by kcm
Branch: MAIN
Changes since 1.187: +38 -19 lines
Diff to previous 1.187 (colored)

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

Revision 1.187 / (download) - annotate - [select for diffs], Wed Sep 3 22:43:54 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.186: +3 -3 lines
Diff to previous 1.186 (colored)

521721 - merge b_flags and b_flags2 in buffer structure

Revision 1.186 / (download) - annotate - [select for diffs], Wed Aug 27 20:30:49 1997 UTC (20 years, 1 month ago) by rm
Branch: MAIN
Changes since 1.185: +15 -1 lines
Diff to previous 1.185 (colored)

Add a vfsop to force pinned buffers, given a behavior descriptor.

Revision 1.185 / (download) - annotate - [select for diffs], Tue Aug 26 18:15:39 1997 UTC (20 years, 1 month ago) by dnoveck
Branch: MAIN
Changes since 1.184: +114 -6 lines
Diff to previous 1.184 (colored)

Enterprise mount support (under CELL for now).

Revision 1.184 / (download) - annotate - [select for diffs], Wed Aug 20 01:12:57 1997 UTC (20 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.183: +2 -1 lines
Diff to previous 1.183 (colored)

Add bflush in unmount before waiting to get the flush lock on
the root inode.  If the root inode was previously bdwrite'd then
this will push it out, releasing the lock for us to get it.

Revision 1.183 / (download) - annotate - [select for diffs], Wed Aug 13 00:17:29 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.182: +4 -3 lines
Diff to previous 1.182 (colored)

Use NODEV to mark the case for m_rtdev where there's no realtime device.
Binval on m_rtdev not m_dev in ROOT_UNMOUNT.

Revision 1.182 / (download) - annotate - [select for diffs], Tue Aug 12 23:34:33 1997 UTC (20 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.181: +43 -19 lines
Diff to previous 1.181 (colored)

cope with EFSCORRUPT return codes from xfs_iflush.  change xfs_vget
to get inode lock in shared mode instead of exclusive since it only
reads the inode core fields.  misc. code cleanup.

Revision 1.181 / (download) - annotate - [select for diffs], Wed Aug 6 17:33:53 1997 UTC (20 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.180: +2 -2 lines
Diff to previous 1.180 (colored)

Replace call to ngeteblk with ngeteblkdev for buffer device hashing

Revision 1.180 / (download) - annotate - [select for diffs], Wed Aug 6 02:23:01 1997 UTC (20 years, 2 months ago) by kayuri
Branch: MAIN
Changes since 1.179: +7 -0 lines
Diff to previous 1.179 (colored)

Changed xfs_vget to return a null vp when the di_mode == 0. Without this
change we were incorrectly verifying a file handle. (bug 472090).

Revision 1.179 / (download) - annotate - [select for diffs], Fri Jul 18 23:23:41 1997 UTC (20 years, 2 months ago) by kayuri
Branch: MAIN
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (colored)

xfs_statvfs() is called by cachefs and nfs server with a null vp pointer.
Previous take to this file did not take this into account. Fixed.

Revision 1.178 / (download) - annotate - [select for diffs], Fri Jul 18 00:46:42 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.177: +4 -2 lines
Diff to previous 1.177 (colored)

In statvfs, turn off ST_LOCAL for VREG VISSWAP files.

Revision 1.177 / (download) - annotate - [select for diffs], Tue Jun 24 07:01:37 1997 UTC (20 years, 3 months ago) by sup
Branch: MAIN
Changes since 1.176: +4 -3 lines
Diff to previous 1.176 (colored)

500173 474195 Signatures of vfs_devsearch and vfs_devbusy changed. They take a filesystem type arg now.

Revision 1.176 / (download) - annotate - [select for diffs], Wed Jun 11 14:01:21 1997 UTC (20 years, 4 months ago) by steiner
Branch: MAIN
Changes since 1.175: +6 -9 lines
Diff to previous 1.175 (colored)

Add vnode pcache VOPs required for CELLs.

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

Delete UNIKERNEL

Revision 1.174 / (download) - annotate - [select for diffs], Thu May 29 21:35:07 1997 UTC (20 years, 4 months ago) by cp
Branch: MAIN
Changes since 1.173: +3 -3 lines
Diff to previous 1.173 (colored)

Behavior position becomes behavior identity

Revision 1.173 / (download) - annotate - [select for diffs], Wed Apr 30 22:44:44 1997 UTC (20 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.172: +14 -3 lines
Diff to previous 1.172 (colored)

xfs_sync and other error handling changes.

Revision 1.172 / (download) - annotate - [select for diffs], Fri Apr 18 01:31:02 1997 UTC (20 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.171: +1 -1 lines
Diff to previous 1.171 (colored)

Fix the length of the m_fsname string buffer for mounts
without the argument structure, it was wrong and could cause
memory corruption (480655).

Revision 1.171 / (download) - annotate - [select for diffs], Fri Apr 18 01:25:33 1997 UTC (20 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored)

Include spec_lsnode.h from sys/fs instead of fs/specfs so -I can
point to $ROOT.

Revision 1.170 / (download) - annotate - [select for diffs], Thu Apr 17 13:44:54 1997 UTC (20 years, 6 months ago) by jtk
Branch: MAIN
Changes since 1.169: +2 -30 lines
Diff to previous 1.169 (colored)

Remove unused code associated with "#ifdef OLDSPECFS".

Revision 1.169 / (download) - annotate - [select for diffs], Sun Apr 6 03:15:22 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.168: +13 -18 lines
Diff to previous 1.168 (colored)

When umount calls xfs_sync(SYNC_CLOSE) when shutting down a filesystem
forcibly, do ptossvp instead of pflushinvalvp. Otherwise, we end up
keeping P_BAD pfdats attached to vnode's dirty page list.

Revision 1.168 / (download) - annotate - [select for diffs], Fri Apr 4 08:00:17 1997 UTC (20 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.167: +3 -2 lines
Diff to previous 1.167 (colored)

474302 - add initial range (0) to pflushvp call

Revision 1.167 / (download) - annotate - [select for diffs], Mon Mar 31 23:52:02 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.166: +22 -2 lines
Diff to previous 1.166 (colored)

If we're forcing a shutdown, typically because of a media error,
we want to make sure we invalidate dirty pages that belong to
referenced vnodes as well. This is the reason why we ended up with
vnodes in vn_reclaim with pgcnt > 0.

Revision 1.166 / (download) - annotate - [select for diffs], Tue Mar 11 19:15:00 1997 UTC (20 years, 7 months ago) by kayuri
Branch: MAIN
Changes since 1.165: +8 -2 lines
Diff to previous 1.165 (colored)

Added changes to turn off alignment of data and inode allocations at stripe
unit boundaries. (bug 397746).

Revision 1.165 / (download) - annotate - [select for diffs], Fri Feb 14 18:44:47 1997 UTC (20 years, 8 months ago) by dnoveck
Branch: MAIN
Changes since 1.164: +8 -2 lines
Diff to previous 1.164 (colored)

Mark file system as cellular.
Add some UNIKERNEL mount hacks.

Revision 1.164 / (download) - annotate - [select for diffs], Fri Feb 7 21:50:54 1997 UTC (20 years, 8 months ago) by rcc
Branch: MAIN
Changes since 1.163: +3 -1 lines
Diff to previous 1.163 (colored)

274388 - teach xfs_cmountfs() about noatime mounts

Revision 1.163 / (download) - annotate - [select for diffs], Tue Feb 4 22:49:03 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.162: +3 -1 lines
Diff to previous 1.162 (colored)

quotactl added to vfsops

Revision 1.162 / (download) - annotate - [select for diffs], Mon Feb 3 16:25:38 1997 UTC (20 years, 8 months ago) by jtk
Branch: MAIN
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored)

Move spec_asnode.h to spec_lsnode.h

Revision 1.161 / (download) - annotate - [select for diffs], Mon Jan 27 23:05:18 1997 UTC (20 years, 8 months ago) by sp
Branch: MAIN
Changes since 1.160: +1 -7 lines
Diff to previous 1.160 (colored)

Add support for process migration

Revision 1.160 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:53 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.159: +17 -12 lines
Diff to previous 1.159 (colored)

First cut of XFS I/O error handling changes.

Revision 1.159 / (download) - annotate - [select for diffs], Tue Jan 14 21:31:33 1997 UTC (20 years, 9 months ago) by dnoveck
Branch: MAIN
Changes since 1.158: +7 -1 lines
Diff to previous 1.158 (colored)

Hacks for cross-cell mount until VHOST_VFS_{ADD,SEARCH,DELETE} are done.

Revision 1.158 / (download) - annotate - [select for diffs], Tue Jan 14 02:19:04 1997 UTC (20 years, 9 months ago) by beck
Branch: MAIN
Changes since 1.157: +2 -2 lines
Diff to previous 1.157 (colored)

436778 move file ckpt parent fid info to vnode, do away with uopenfp and
p_curmap side effect hacks...add parameter to lookuppn and lookupname

Revision 1.157 / (download) - annotate - [select for diffs], Thu Jan 9 17:41:22 1997 UTC (20 years, 9 months ago) by montep
Branch: MAIN
Changes since 1.156: +6 -3 lines
Diff to previous 1.156 (colored)

merge ficus into kudzu (1.139.1.7 ... 1.139.1.9)
> ----------------------------
> revision 1.139.1.9
> date: 1996/12/14 01:45:52;  author: rcc;  state: Exp;  lines: +5 -1
> 446511 - choke off all disk I/O for read-only mounts of cleanly
> unmounted filesystems
> ----------------------------
> revision 1.139.1.8
> date: 1996/12/12 21:44:55;  author: lguo;  state: Exp;  lines: +6 -1
> Use #ifdef DATAPIPE to comment out datapipe stuff.
> =============================================================================

Revision 1.156 / (download) - annotate - [select for diffs], Mon Dec 23 19:58:40 1996 UTC (20 years, 9 months ago) by jtk
Branch: MAIN
Changes since 1.155: +31 -7 lines
Diff to previous 1.155 (colored)

Minor changes to use newer specfs include & routine names.
Use subroutine interfaces rather than direct data structure
access when using the new specfs.

Revision 1.155 / (download) - annotate - [select for diffs], Fri Dec 20 15:39:43 1996 UTC (20 years, 9 months ago) by pjr
Branch: MAIN
Changes since 1.154: +5 -5 lines
Diff to previous 1.154 (colored)

remove now unused flid arg to VOP_CLOSE

Revision 1.154 / (download) - annotate - [select for diffs], Sat Dec 14 01:45:55 1996 UTC (20 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.153: +5 -1 lines
Diff to previous 1.153 (colored)

446511 - choke off all disk I/O for read-only mounts of cleanly
unmounted filesystems

Revision 1.139.1.9 / (download) - annotate - [select for diffs], Sat Dec 14 01:45:52 1996 UTC (20 years, 10 months ago) by rcc
CVS Tags: DELETE-2
Changes since 1.139.1.8: +5 -1 lines
Diff to previous 1.139.1.8 (colored) next main 1.140 (colored)

446511 - choke off all disk I/O for read-only mounts of cleanly
unmounted filesystems

Revision 1.139.1.8 / (download) - annotate - [select for diffs], Thu Dec 12 21:44:55 1996 UTC (20 years, 10 months ago) by lguo
Changes since 1.139.1.7: +6 -1 lines
Diff to previous 1.139.1.7 (colored)

Use #ifdef DATAPIPE to comment out datapipe stuff.

Revision 1.153 / (download) - annotate - [select for diffs], Tue Nov 26 19:21:19 1996 UTC (20 years, 10 months ago) by kayuri
Branch: MAIN
Changes since 1.152: +2 -2 lines
Diff to previous 1.152 (colored)

Included sys/kmem.h under #define SIM to correct compilation errors for
cmd/xfs/sim/src.

Revision 1.152 / (download) - annotate - [select for diffs], Fri Nov 15 01:56:41 1996 UTC (20 years, 11 months ago) by sp
Branch: MAIN
Changes since 1.151: +0 -1 lines
Diff to previous 1.151 (colored)

reinstate get_current_abi as a function

Revision 1.151 / (download) - annotate - [select for diffs], Tue Nov 12 04:43:02 1996 UTC (20 years, 11 months ago) by sp
Branch: MAIN
Changes since 1.150: +2 -1 lines
Diff to previous 1.150 (colored)

Move abi into the uthread

Revision 1.150 / (download) - annotate - [select for diffs], Tue Oct 29 18:08:05 1996 UTC (20 years, 11 months ago) by dnoveck
Branch: MAIN
Changes since 1.149: +2 -2 lines
Diff to previous 1.149 (colored)

Get rid of vfs_swapvp and add vfs_import.

Revision 1.149 / (download) - annotate - [select for diffs], Sun Oct 27 20:40:24 1996 UTC (20 years, 11 months ago) by montep
Branch: MAIN
Changes since 1.148: +3 -1 lines
Diff to previous 1.148 (colored)

added #ifdef TO_FIX_LATER where needed

Revision 1.148 / (download) - annotate - [select for diffs], Wed Oct 9 04:59:13 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.147: +5 -5 lines
Diff to previous 1.147 (colored)

remove unused offset arg to VOP_CLOSE

Revision 1.147 / (download) - annotate - [select for diffs], Mon Sep 30 23:50:08 1996 UTC (21 years ago) by kayuri
Branch: MAIN
Changes since 1.146: +65 -10 lines
Diff to previous 1.146 (colored)

stripe alignment changes - bug 397746.

Revision 1.146 / (download) - annotate - [select for diffs], Tue Sep 17 16:00:26 1996 UTC (21 years ago) by henseler
Branch: MAIN
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (colored)

vfile restructure

Revision 1.145 / (download) - annotate - [select for diffs], Fri Aug 23 07:51:10 1996 UTC (21 years, 1 month ago) by livesey
Branch: MAIN
Changes since 1.144: +6 -1 lines
Diff to previous 1.144 (colored)

merge ficus into kudzu (1.139.1.5 ... 1.139.1.7)
> ----------------------------
> revision 1.139.1.7
> date: 1996/08/21 00:53:42;  author: rcc;  state: Exp;  lines: +4 -2
> turn off callout to fspeinit in simulation mode
> ----------------------------
> revision 1.139.1.6
> date: 1996/08/20 23:44:41;  author: lguo;  state: Exp;  lines: +4 -1
> added support for file system data pipe.
> =============================================================================

Revision 1.139.1.7 / (download) - annotate - [select for diffs], Wed Aug 21 00:53:42 1996 UTC (21 years, 1 month ago) by rcc
Changes since 1.139.1.6: +4 -2 lines
Diff to previous 1.139.1.6 (colored)

turn off callout to fspeinit in simulation mode

Revision 1.139.1.6 / (download) - annotate - [select for diffs], Tue Aug 20 23:44:41 1996 UTC (21 years, 1 month ago) by lguo
Changes since 1.139.1.5: +4 -1 lines
Diff to previous 1.139.1.5 (colored)

added support for file system data pipe.

Revision 1.144 / (download) - annotate - [select for diffs], Fri Aug 2 22:11:47 1996 UTC (21 years, 2 months ago) by montep
Branch: MAIN
Changes since 1.143: +11 -7 lines
Diff to previous 1.143 (colored)

merge ficus into kudzu (1.139.1.3 ... 1.139.1.5)
> ----------------------------
> revision 1.139.1.5
> date: 1996/08/02 20:41:11;  author: sup;  state: Exp;  lines: +10 -6
> Dettach all dquots from _all_ inodes before
> calling dqpurge_all to purge them out of the system.
> ----------------------------
> revision 1.139.1.4
> date: 1996/08/01 21:20:05;  author: jeffs;  state: Exp;  lines: +2 -2
> Use new %V option to print dev_t correctly on root mount failure.
> =============================================================================

Revision 1.139.1.5 / (download) - annotate - [select for diffs], Fri Aug 2 20:41:11 1996 UTC (21 years, 2 months ago) by sup
Changes since 1.139.1.4: +10 -6 lines
Diff to previous 1.139.1.4 (colored)

Dettach all dquots from _all_ inodes before
calling dqpurge_all to purge them out of the system.

Revision 1.139.1.4 / (download) - annotate - [select for diffs], Thu Aug 1 21:20:05 1996 UTC (21 years, 2 months ago) by jeffs
Changes since 1.139.1.3: +2 -2 lines
Diff to previous 1.139.1.3 (colored)

Use new %V option to print dev_t correctly on root mount failure.

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

merge ficus into kudzu (1.139.1.2 ... 1.139.1.3)
> ----------------------------
> revision 1.139.1.3
> date: 1996/07/24 20:28:39;  author: sup;  state: Exp;  lines: +3 -2
> Take the new mount option XFSMNT_QUOTAMAYBE into account.
> =============================================================================

Revision 1.139.1.3 / (download) - annotate - [select for diffs], Wed Jul 24 20:28:39 1996 UTC (21 years, 2 months ago) by sup
Changes since 1.139.1.2: +3 -2 lines
Diff to previous 1.139.1.2 (colored)

Take the new mount option XFSMNT_QUOTAMAYBE into account.

Revision 1.142 / (download) - annotate - [select for diffs], Sat Jul 13 22:36:38 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.141: +15 -2 lines
Diff to previous 1.141 (colored)

merge ficus into kudzu (1.139.1.1 ... 1.139.1.2)

Revision 1.139.1.2 / (download) - annotate - [select for diffs], Mon Jul 8 23:20:15 1996 UTC (21 years, 3 months ago) by ajs
Changes since 1.139.1.1: +15 -2 lines
Diff to previous 1.139.1.1 (colored)

Declare the vfsops with a valid behavior position
even in the simulation.

Revision 1.141 / (download) - annotate - [select for diffs], Sat Jul 6 00:24:57 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.140: +7 -1 lines
Diff to previous 1.140 (colored)

merge ficus into kudzu (1.139 ... 1.139.1.1)

Revision 1.139.1.1 / (download) - annotate - [select for diffs], Tue Jul 2 22:09:54 1996 UTC (21 years, 3 months ago) by ajs
CVS Tags: DELETE-1
Changes since 1.139: +7 -1 lines
Diff to previous 1.139 (colored)

Add comment about why we don't need to use VREMAPPING in xfs_sync().

Revision 1.140 / (download) - annotate - [select for diffs], Sun Jun 30 02:46:03 1996 UTC (21 years, 3 months ago) by huy
Branch: MAIN
Changes since 1.139: +5 -1 lines
Diff to previous 1.139 (colored)

- add vfs_realvfsops, called in fs_mount() to figure out whether the file
system being mounted is remote or local. If the cell serving the file system is
 remote then replace the base vfsops with cfs_vfsops.

Revision 1.139 / (download) - annotate - [select for diffs], Tue Jun 4 21:42:07 1996 UTC (21 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.138: +3 -3 lines
Diff to previous 1.138 (colored)

Use new superblock versioning macros (bug 385316).

Revision 1.138 / (download) - annotate - [select for diffs], Wed May 22 00:39:53 1996 UTC (21 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.137: +11 -6 lines
Diff to previous 1.137 (colored)

382554 Make sure not to clobber the value of the error
variable in cleaning up at the end of xfs_cmountfs().

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

disk quota changes.
handles non-root mounts with quotas on, and unmounting when quotaon.
Also added a hook in xfs_sync to call xfs_qm_sync to flush dquots.

Revision 1.136 / (download) - annotate - [select for diffs], Wed May 8 23:51:04 1996 UTC (21 years, 5 months ago) by olson
Branch: MAIN
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored)

change all #if _K64U64 => #if _MIPS_SIM == _ABI64 and equivalent.
The original meaning/intent of the _K64* and _K32* stuff has been getting more
and more ignored, and now it is just confusing.  #if _K32U32 and equivalent
is just gone, we have no machines like that since 5.3.  #if _K32U64||_K64U64
have the ifdefs removed, and code remaining, since it is always true.
#if _K32U64||_K32U32 usually changed to != _ABI64.  Some files have the
older longer _MIPS_SIM_ABI64 and similar shorted to _ABI64 and equivalent;
the compiler folks tell me this is preferred now and in the future, and
is what cc -show prints, so it is less confusing.

Revision 1.135 / (download) - annotate - [select for diffs], Thu May 2 01:16:20 1996 UTC (21 years, 5 months ago) by huy
Branch: MAIN
Changes since 1.134: +1 -0 lines
Diff to previous 1.134 (colored)

adding hook for VFS_DOUNMOUNT, for base file system this is fs_dounmount()

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

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

Revision 1.133 / (download) - annotate - [select for diffs], Fri Apr 19 18:27:09 1996 UTC (21 years, 5 months ago) by pjr
Branch: MAIN
Changes since 1.132: +8 -8 lines
Diff to previous 1.132 (colored)

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

Revision 1.132 / (download) - annotate - [select for diffs], Wed Apr 17 05:21:11 1996 UTC (21 years, 6 months ago) by nigel
Branch: MAIN
Changes since 1.131: +1 -2 lines
Diff to previous 1.131 (colored)

Turn kernel preemption on unconditionally, removing p_kpreempting,
preemptchk, PREEMPT and chkpreempt.

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

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

Revision 1.130 / (download) - annotate - [select for diffs], Thu Apr 4 19:30:42 1996 UTC (21 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.129: +3 -1 lines
Diff to previous 1.129 (colored)

Initialize xfs_uuidtabmon for mount-time uuid checking.

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

Changes for vnodes with behaviors.

Revision 1.128 / (download) - annotate - [select for diffs], Wed Mar 13 05:29:40 1996 UTC (21 years, 7 months ago) by ack
Branch: MAIN
Changes since 1.127: +24 -2 lines
Diff to previous 1.127 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.128
> date: 1996/03/08 00:36:46;  author: ajs;  state: Exp;  lines: +24 -2
> 355764 - Fix one more restart case in xfs_sync()
> to check whether the restart limit has been hit
> and to break out of the loop if it has.
> =============================================================================

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

fix some compiler messages

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

Use XFS_ERROR macro where it was missing in several places.

Revision 1.125 / (download) - annotate - [select for diffs], Fri Feb 9 22:41:04 1996 UTC (21 years, 8 months ago) by len
Branch: MAIN
Changes since 1.124: +2 -1 lines
Diff to previous 1.124 (colored)

include cred.h

Revision 1.124 / (download) - annotate - [select for diffs], Sat Feb 3 00:28:08 1996 UTC (21 years, 8 months ago) by huy
Branch: MAIN
Changes since 1.123: +19 -9 lines
Diff to previous 1.123 (colored)

variable used to hold the open vnode needs to be different from
the one used to hold the return vnode. This needs to be enforced so
that the locking on the open vnode interposition chain doesn't get messed up
when the return vnode is different from the original opened vnode.

Revision 1.123 / (download) - annotate - [select for diffs], Tue Jan 23 09:19:35 1996 UTC (21 years, 8 months ago) by ack
Branch: MAIN
Changes since 1.122: +2 -11 lines
Diff to previous 1.122 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.127
> date: 1996/01/20 01:37:23;  author: orosz;  state: Exp;  lines: +2 -2
> Pass the to-be-mounted vfsp instead of a vnode when calling
> dm_namesp_event for the MOUNT event.  Bug #339571.
> ----------------------------
> revision 1.126
> date: 1996/01/20 00:51:44;  author: doucette;  state: Exp;  lines: +1 -10
> Remove unused zone structures (xfs_strat_write_zone, xfs_bmap_zone,
> xfs_irec_zone) (bug 318607).
> =============================================================================

Revision 1.122 / (download) - annotate - [select for diffs], Thu Dec 21 02:11:20 1995 UTC (21 years, 9 months ago) by huy
Branch: MAIN
Changes since 1.121: +11 -10 lines
Diff to previous 1.121 (colored)

convert to make VOP calls with new syntax.

Revision 1.121 / (download) - annotate - [select for diffs], Mon Dec 4 02:10:36 1995 UTC (21 years, 10 months ago) by jwag
Branch: MAIN
Changes since 1.120: +5 -1 lines
Diff to previous 1.120 (colored)

xfs_init now starts xfsd's

Revision 1.120 / (download) - annotate - [select for diffs], Wed Nov 29 12:15:29 1995 UTC (21 years, 10 months ago) by ack
Branch: MAIN
Changes since 1.119: +14 -8 lines
Diff to previous 1.119 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.125
> date: 1995/11/28 22:18:00;  author: doucette;  state: Exp;  lines: +14 -8
> Make forms of mount() other than the 6-argument form (i.e. with no
> args structure given) work for xfs.  We invent a name for the filesystem
> which is the dev_t (in hex), and default the other fields.
> =============================================================================

Revision 1.119 / (download) - annotate - [select for diffs], Thu Nov 9 04:17:10 1995 UTC (21 years, 11 months ago) by jwag
Branch: MAIN
Changes since 1.118: +5 -5 lines
Diff to previous 1.118 (colored)

changes for new VOP_CLOSE interface - pass flid.

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.124
> date: 1995/10/18 18:30:07;  author: kompella;  state: Exp;  lines: +18 -60
> Replaced code that directly accessed XLV structures with XLV function
> xlv_get_subvolumes() that returns the same information (in two places).
> ----------------------------
> revision 1.123
> date: 1995/10/13 16:11:36;  author: ajs;  state: Exp;  lines: +12 -2
> Put XFS tracing under ifdefs separate from DEBUG
> ----------------------------
> revision 1.122
> date: 1995/10/13 00:28:47;  author: doucette;  state: Exp;  lines: +1 -1
> Include sys/uuid.h earlier since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.123
> date: 1995/10/13 16:11:36;  author: ajs;  state: Exp;  lines: +12 -2
> Put XFS tracing under ifdefs separate from DEBUG
> ----------------------------
> revision 1.122
> date: 1995/10/13 00:28:47;  author: doucette;  state: Exp;  lines: +1 -1
> Include sys/uuid.h earlier since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

Revision 1.116 / (download) - annotate - [select for diffs], Tue Oct 10 10:45:50 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.115: +6 -1 lines
Diff to previous 1.115 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.121
> date: 1995/10/10 00:58:34;  author: doucette;  state: Exp;  lines: +6 -1
> Add check for m_maxicount in use, in xfs_statvfs calculation of
> total inodes.
> =============================================================================

Revision 1.115 / (download) - annotate - [select for diffs], Thu Oct 5 20:24:01 1995 UTC (22 years ago) by jwag
Branch: MAIN
Changes since 1.114: +8 -9 lines
Diff to previous 1.114 (colored)

remove unused headers - proc/user.
use passed cred.
use new get_current_abi() interface rather than referencing curprocp.

Revision 1.114 / (download) - annotate - [select for diffs], Tue Oct 3 04:19:42 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.113: +2 -0 lines
Diff to previous 1.113 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.120
> date: 1995/09/30 03:18:52;  author: curtis;  state: Exp;  lines: +3 -1
> Add call to initialize attribute operations tracing buffer.
> =============================================================================

Revision 1.113 / (download) - annotate - [select for diffs], Fri Sep 22 09:47:48 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.112: +10 -3 lines
Diff to previous 1.112 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.119
> date: 1995/09/22 02:24:26;  author: doucette;  state: Exp;  lines: +11 -4
> Rework ino64 offset support for better performance.
> =============================================================================

Revision 1.112 / (download) - annotate - [select for diffs], Thu Sep 14 07:09:03 1995 UTC (22 years, 1 month ago) by ack
Branch: MAIN
Changes since 1.111: +31 -27 lines
Diff to previous 1.111 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.118
> date: 1995/09/10 05:25:07;  author: orosz;  state: Exp;  lines: +20 -23
> Change xfs_vget to accept both xfs_fids and xfs_fid2s.
> ----------------------------
> revision 1.117
> date: 1995/09/09 03:40:28;  author: ajs;  state: Exp;  lines: +13 -6
> 253058  Use binval rather than bflush in the unmount code
> so that we'll wait for in progress buffers.
> =============================================================================

Revision 1.111 / (download) - annotate - [select for diffs], Thu Sep 7 07:30:10 1995 UTC (22 years, 1 month ago) by ack
Branch: MAIN
Changes since 1.110: +23 -9 lines
Diff to previous 1.110 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.116
> date: 1995/09/05 00:45:57;  author: doucette;  state: Exp;  lines: +4 -4
> Use curprocp instead of u.u_procp, curprocp->p_cred instead of
> u.u_cred, since kthreads don't have a u.
> ----------------------------
> revision 1.115
> date: 1995/09/04 23:49:11;  author: doucette;  state: Exp;  lines: +18 -6
> Add ino64 mount option, for easier testing of big inode numbers.
> ----------------------------
> revision 1.114
> date: 1995/09/04 02:10:20;  author: curtis;  state: Exp;  lines: +3 -1
> Added hooks to initialize the new ktrace-based directory tracing code.
> =============================================================================

Revision 1.110 / (download) - annotate - [select for diffs], Mon Aug 28 06:50:32 1995 UTC (22 years, 1 month ago) by ack
Branch: MAIN
Changes since 1.109: +5 -5 lines
Diff to previous 1.109 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.113
> date: 1995/08/25 21:53:25;  author: yohn;  state: Exp;  lines: +5 -5
> converted mutex_t to lock_t; changed mutex_init calls to spinlock_init
> ----------------------------
> revision 1.112
> date: 1995/08/22 01:03:49;  author: doucette;  state: Exp;  lines: +2 -2
> Use XFS_MAXINUMBER not 2^32-1 for fakeino calculation in statvfs.
> =============================================================================

Revision 1.109 / (download) - annotate - [select for diffs], Wed Aug 16 23:21:20 1995 UTC (22 years, 2 months ago) by nawaf
Branch: MAIN
Changes since 1.108: +2 -1 lines
Diff to previous 1.108 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.111
> date: 1995/08/16 05:46:42;  author: doucette;  state: Exp;  lines: +3 -2
> Add include of xfs_macros.h.
> =============================================================================

Revision 1.108 / (download) - annotate - [select for diffs], Thu Aug 10 06:20:19 1995 UTC (22 years, 2 months ago) by sshong
Branch: MAIN
Changes since 1.107: +25 -19 lines
Diff to previous 1.107 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.110
> date: 1995/08/08 01:26:43;  author: ajs;  state: Exp;  lines: +17 -7
> 270839 Use only the memory needed to hold the mount
> path.  Also, use xfs_itobp instead of xfs_inotobp in
> xfs_sync(), since we always know the location of the
> inode on disk at this point.
> ----------------------------
> revision 1.109
> date: 1995/08/08 01:15:03;  author: rcc;  state: Exp;  lines: +1 -8
> 284911 - for 8K inode clusters, buf64 log items no longer exists
> so remove kmem zone allocator initialization for them.
> ----------------------------
> revision 1.108
> date: 1995/08/07 18:29:13;  author: doucette;  state: Exp;  lines: +9 -6
> Inode space reduction: move inode items out of line.
> =============================================================================

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jul 28 14:19:09 1995 UTC (22 years, 2 months ago) by len
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored)

Reflect interface change to bdvalid

Revision 1.106 / (download) - annotate - [select for diffs], Tue Jul 25 06:22:49 1995 UTC (22 years, 2 months ago) by sshong
Branch: MAIN
Changes since 1.105: +15 -3 lines
Diff to previous 1.105 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_vfsops.c,v
> ----------------------------
> revision 1.107
> date: 1995/07/20 21:42:36;  author: ajs;  state: Exp;  lines: +1 -2
> Remove the include of strings.h.  It was
> unnecessary, and now that strings.h includes
> types.h it was messing up the sizes of things
> in the simulation.
> ----------------------------
> revision 1.106
> date: 1995/07/18 21:33:47;  author: ajs;  state: Exp;  lines: +14 -1
> 285600 Make sure to check whether the superblock buffer
> is pinned before calling bwrite() in xfs_sync().  If it
> is then we need to flush the log before proceeding.
> ----------------------------
> revision 1.105
> date: 1995/07/15 00:52:09;  author: mwang;  state: Exp;  lines: +2 -2
> convert the lowercase copyin_xlate and xlate_copyout macros to uppercase.
> =============================================================================

Revision 1.105 / (download) - annotate - [select for diffs], Mon Jul 10 17:13:50 1995 UTC (22 years, 3 months ago) by len
Branch: MAIN
Changes since 1.104: +5 -2 lines
Diff to previous 1.104 (colored)

Reflect changes in [bc]devsw handling.

Revision 1.104 / (download) - annotate - [select for diffs], Sat Jul 1 00:32:05 1995 UTC (22 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.103: +4 -2 lines
Diff to previous 1.103 (colored)

Check for valid block device for root mount so diskless won't fail
(with a trap).

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

Add btree block and inode readahead for bulkstat.

Revision 1.102 / (download) - annotate - [select for diffs], Wed Jun 7 21:41:14 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.101: +11 -1 lines
Diff to previous 1.101 (colored)

Initialize the new zone for buf log items with 64 bit blkno
fields.

Revision 1.101 / (download) - annotate - [select for diffs], Fri May 26 00:57:14 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.100: +2 -1 lines
Diff to previous 1.100 (colored)

Put the attribute fork info (i_af) into a zone-allocated structure
pointed to by i_afp, to save memory for inodes that don't use attributes.

Revision 1.100 / (download) - annotate - [select for diffs], Mon May 22 23:49:30 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

261926 - Use new VOP_RWLOCK locking op codes.

Revision 1.99 / (download) - annotate - [select for diffs], Thu May 11 01:23:35 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored)

272139 - Change xFS to XFS

Revision 1.98 / (download) - annotate - [select for diffs], Tue May 9 21:21:57 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (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.97 / (download) - annotate - [select for diffs], Mon May 8 20:02:15 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.96: +7 -6 lines
Diff to previous 1.96 (colored)

Change include sequence and directory zone info as a result of the
directory/attribute code restructuring.

Revision 1.96 / (download) - annotate - [select for diffs], Tue May 2 00:34:32 1995 UTC (22 years, 5 months ago) by yohn
Branch: MAIN
Changes since 1.95: +5 -8 lines
Diff to previous 1.95 (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.95 / (download) - annotate - [select for diffs], Mon May 1 17:54:58 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.94: +31 -2 lines
Diff to previous 1.94 (colored)

Add call to flush the write reference cache at unmount
time.

Revision 1.94 / (download) - annotate - [select for diffs], Fri Apr 28 21:37:54 1995 UTC (22 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.93: +4 -5 lines
Diff to previous 1.93 (colored)

Fix bug 274345: For XFS, don't create vfs_fsid from dev_t and fstype.
Instead, use uuid from superblock.  This will allow fsids to remain
persistent across filesystem type additions and movements of filesystems
within a machine (when a dev_t could change).  The main beneficiary of
this is NFS which uses vfs_fsid to fill in fh_fsid.

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

First cut at disk error handling

Revision 1.92 / (download) - annotate - [select for diffs], Sat Apr 1 06:05:17 1995 UTC (22 years, 6 months ago) by yohn
Branch: MAIN
Changes since 1.91: +5 -5 lines
Diff to previous 1.91 (colored)

xfsd_lock changed to a (spinning) mutex; xfsd_wait changed to sync-variable

Revision 1.91 / (download) - annotate - [select for diffs], Sat Apr 1 01:02:23 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.90: +2 -1 lines
Diff to previous 1.90 (colored)

Include sys/dmi.h and sys/dmi_kern.h instead of io/dmi/dmi_kern.h.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Mar 31 20:06:04 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.89: +9 -21 lines
Diff to previous 1.89 (colored)

Clean up some of the SIM #define _KERNEL 1 includes.
Use new directory structure typedefs.
Include xfs_dir.h before xfs_dinode.h since it now has a dependency.
Include fs/specfs/snode.h from $ROOT instead of the source tree.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Mar 21 19:42:55 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.88: +35 -3 lines
Diff to previous 1.88 (colored)

268106 - Fix race in the new xfs_sync code.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Mar 9 04:15:29 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.87: +22 -0 lines
Diff to previous 1.87 (colored)

Initialize the new zones.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Mar 2 02:02:49 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.86: +3 -7 lines
Diff to previous 1.86 (colored)

Use new xfs_file_last_byte() to calculate the byte up to
which to flush a file.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Feb 28 02:50:51 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.85: +3 -2 lines
Diff to previous 1.85 (colored)

Change suser, crsuser calls to _CAP_ABLE macro references.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Feb 23 00:57:24 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.84: +1 -12 lines
Diff to previous 1.84 (colored)

Put the argument structures for xfs_bmap_alloc and xfs_alloc_vextent
on the stack instead of in the heap.  Move locals for xfs_bmapi and
xfs_bmbt_* routines from the heap to the stack.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Feb 17 22:55:55 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.83: +9 -4 lines
Diff to previous 1.83 (colored)

261228 - fix bug in new xfs_sync() code that could cause
inodes to be left locked accidentally.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Feb 12 22:57:54 1995 UTC (22 years, 8 months ago) by orosz
Branch: MAIN
Changes since 1.82: +41 -7 lines
Diff to previous 1.82 (colored)

Add DMI mount and unmount event callouts.

Revision 1.82 / (download) - annotate - [select for diffs], Wed Feb 8 03:36:19 1995 UTC (22 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.81: +60 -9 lines
Diff to previous 1.81 (colored)

261228 - Change xfs_sync() so that we don't hold the inode lock
while going for an inode's buffer.  This keeps sync from blocking
out file reads while waiting to read the disk block where the inode
needs to be written back.

Revision 1.81 / (download) - annotate - [select for diffs], Tue Jan 31 19:00:15 1995 UTC (22 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.80: +6 -4 lines
Diff to previous 1.80 (colored)

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

Revision 1.80 / (download) - annotate - [select for diffs], Tue Jan 31 00:09:56 1995 UTC (22 years, 8 months ago) by tap
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

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

Revision 1.79 / (download) - annotate - [select for diffs], Sat Dec 24 00:17:47 1994 UTC (22 years, 9 months ago) by tap
Branch: MAIN
Changes since 1.78: +3 -1 lines
Diff to previous 1.78 (colored)

add #if _K64U64 around irix5_to_xfs_args() so that 32 bit kernels will
compile.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Dec 23 23:44:16 1994 UTC (22 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.77: +27 -2 lines
Diff to previous 1.77 (colored)

Use copyin_xlate() when copying in the mount args structure.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Dec 22 00:43:52 1994 UTC (22 years, 9 months ago) by tap
Branch: MAIN
Changes since 1.76: +8 -15 lines
Diff to previous 1.76 (colored)

change third argument of VOP_CLOSE() call from 1 to L_TRUE, add type casts,
cleanup code, so that file will compile without warnings.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Dec 16 19:43:04 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.75: +13 -6 lines
Diff to previous 1.75 (colored)

253559 - In a normal sync, don't bother to wait for the
inode flush lock if it is already locked.  The inode was
probably synced delayed write, so it could be a while before
the lock is released.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Nov 26 23:43:38 1994 UTC (22 years, 10 months ago) by miken
Branch: MAIN
Changes since 1.74: +18 -5 lines
Diff to previous 1.74 (colored)

Copy in the mount point if passed in.  Otherwise, we assume xfs_mountroot()
called us => use "/" as mount point.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Nov 18 00:31:58 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.73: +18 -6 lines
Diff to previous 1.73 (colored)

Look for the 'wsync' option in xfs_cmountfs().

Revision 1.73 / (download) - annotate - [select for diffs], Wed Nov 16 22:22:20 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.72: +7 -4 lines
Diff to previous 1.72 (colored)

Check sb_inprogress field when looking for valid filesystems.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Nov 15 18:04:15 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.71: +9 -8 lines
Diff to previous 1.71 (colored)

Modify the file data flushing code to account for overallocated
blocks.  Also modify the calls to xfs_iflush() from the xfs_sync()
routine to always flush the inode delwri.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Nov 10 00:26:44 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Fix the statvfs/statfs changes put in recently, the free block count shouldn't
have had the log size removed from it!

Revision 1.70 / (download) - annotate - [select for diffs], Wed Nov 9 05:22:50 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.69: +6 -2 lines
Diff to previous 1.69 (colored)

Set VFS_DMI after xfs_cmountfs so that events are not sent during recovery.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Nov 7 04:19:13 1994 UTC (22 years, 11 months ago) by orosz
Branch: MAIN
Changes since 1.68: +3 -1 lines
Diff to previous 1.68 (colored)

Set VFS_DMI flag if "dmi" mount option flag is set.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Nov 1 03:23:29 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.67: +11 -6 lines
Diff to previous 1.67 (colored)

Fix xfs_cmountfs() to deal properly with the null arguments
pointer passed in from xfs_mountroot().

Revision 1.67 / (download) - annotate - [select for diffs], Sat Oct 29 02:01:05 1994 UTC (22 years, 11 months ago) by miken
Branch: MAIN
Changes since 1.66: +8 -1 lines
Diff to previous 1.66 (colored)

Deal with new fields passed in my mount command.  Store them in the mount
structure.  Also reject old mount commands.
Return EINVAL.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Oct 28 22:45:29 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.65: +13 -7 lines
Diff to previous 1.65 (colored)

Patch for bug 246428.  For statvfs (and statfs), return values for
xfs inode total and free counts that reflect the number of inodes
we COULD allocate instead of the number we've already allocated.
Unfortunately this number is too high, since it doesn't take
fragmentation into account.  This should make cachefs happier.
Also, fill in the f_favail and f_bavail fields, forgot to do them before.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Oct 27 17:53:20 1994 UTC (22 years, 11 months ago) by wei_hu
Branch: MAIN
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

Tighten up check for invalid XLV subvolume entries.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Oct 26 21:59:34 1994 UTC (22 years, 11 months ago) by wei_hu
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored)

Include <sys/xlv_lock.h>; this was split out from <sys/xlv_tab.h>.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Oct 25 17:59:23 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Fix bug 246114 found by posix tests - pathconf was returning 256 not 255
as the max pathname component length.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Oct 21 22:08:32 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.61: +9 -7 lines
Diff to previous 1.61 (colored)

Remove the log size from the filesystem size for purposes of statfs.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Oct 13 18:21:08 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.60: +95 -59 lines
Diff to previous 1.60 (colored)

Try much harder to sync things out in the unmount root case.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Oct 2 00:48:45 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.59: +16 -5 lines
Diff to previous 1.59 (colored)

Improve the inode flushing scheme to allow delwri flushes
for inodes which are not in the AIL.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Sep 28 23:28:43 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.58: +4 -1 lines
Diff to previous 1.58 (colored)

Add a call to remapf() in the SYNC_CLOSE case of
xfs_sync() before calling pflushinvalvp().

Revision 1.58 / (download) - annotate - [select for diffs], Tue Sep 27 02:53:15 1994 UTC (23 years ago) by miken
Branch: MAIN
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored)

When we unmount root, we also need to unmount the log.  Otherwise, it
will never be marked clean; and we end up recovering with each boot.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Sep 20 23:02:27 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.56: +3 -2 lines
Diff to previous 1.56 (colored)

Fixed bug introduced in xfs_sync() where
ili_flags was accidentally used in place of ili_fields.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Sep 20 15:59:06 1994 UTC (23 years ago) by tap
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

moved the ASSERT( mp->m_inodes == NULL); statement from xfs_unmount() to
xfs_unmountfs(). The mp structure is free in xfs_unmountfs().

Revision 1.55 / (download) - annotate - [select for diffs], Thu Sep 15 21:55:29 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.54: +85 -8 lines
Diff to previous 1.54 (colored)

Change xfs_sync() to match the new inode list scheme.
Changed xfs_sync() to not spend all day trying to see the
entire inode list when everything is changing anyway.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Sep 9 22:04:43 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.53: +8 -2 lines
Diff to previous 1.53 (colored)

Make flushing calls more accurate.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Sep 7 22:09:25 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.52: +79 -53 lines
Diff to previous 1.52 (colored)

Update xfs_sync() to match new sync paradigm.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Sep 3 21:55:49 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.51: +3 -1 lines
Diff to previous 1.51 (colored)

Allocate global strat write trace buffer in xfs_init().

Revision 1.51 / (download) - annotate - [select for diffs], Thu Sep 1 23:37:40 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.50: +23 -31 lines
Diff to previous 1.50 (colored)

Remove stuff that's only needed in real kernels or real filesystem
simulation to make the library (and mkfs) smaller.

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

Fix a few deadlocks involving file truncation.
Change xfs_reclaim() to return EAGAIN if there is dirty
data associated with the inode.  This prevents deadlocks
when flushing that data and we've been called from the
middle of some other transaction.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Aug 30 21:06:06 1994 UTC (23 years, 1 month ago) by tap
Branch: MAIN
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored)

remove reference to vfs structure field vfs_syncnt. this field is nolonger
defined in vfs.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jul 29 04:09:47 1994 UTC (23 years, 2 months ago) by miken
Branch: MAIN
Changes since 1.47: +2 -6 lines
Diff to previous 1.47 (colored)

free mount structure & its fields(locks) when errors occur

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jul 27 05:24:06 1994 UTC (23 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.46: +2 -3 lines
Diff to previous 1.46 (colored)

Remove one printf from xfs_mountroot, change another to a CE_WARN.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jul 26 23:07:12 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Use ip->i_d.di_gen for the file handle generation number,
not ip->i_gen.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jul 22 01:14:12 1994 UTC (23 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.44: +6 -0 lines
Diff to previous 1.44 (colored)

Add bmalloca_zone and bmapi_locals_zone initializations.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jul 20 23:27:12 1994 UTC (23 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.43: +17 -12 lines
Diff to previous 1.43 (colored)

This bug would cause statfs() and the setmnt program to claim that
/dev/swap contained an xfs filesystem.  I noticed it when I added
xfs support and statfs claimed that everything was an xfs filesystem.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jul 20 00:30:15 1994 UTC (23 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.42: +94 -8 lines
Diff to previous 1.42 (colored)

Change global variable xfs_type to xfs_fstype for consistency.

Add xfs_statdevvp routine to be called by statfs, as is done for efs.
Otherwise setmnt won't work.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jun 27 17:08:05 1994 UTC (23 years, 3 months ago) by tap
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

change call to clkset in mount root code. Instead of using the global "time"
as an argument set the current time by calling rtodc(). On some platforms,
(ie. IP9) time is not set when root is mounted.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jun 15 22:06:00 1994 UTC (23 years, 4 months ago) by tap
Branch: MAIN
Changes since 1.40: +22 -6 lines
Diff to previous 1.40 (colored)

fix xfs_mountroot() so that it will work for file systems built on top
of XLV volumes.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jun 12 01:22:57 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

Add second parameter to ktrace_alloc() calls.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jun 10 17:39:49 1994 UTC (23 years, 4 months ago) by tap
Branch: MAIN
Changes since 1.38: +53 -2 lines
Diff to previous 1.38 (colored)

add code to allow booting from an XFS file system. The system will boot
from an XFS file system on a block device but will NOT boot from an XLV volume.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Jun 9 19:39:20 1994 UTC (23 years, 4 months ago) by wei_hu
Branch: MAIN
Changes since 1.37: +1 -3 lines
Diff to previous 1.37 (colored)

Eliminate include of <sys/uuid.h>.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jun 8 01:36:37 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.36: +61 -27 lines
Diff to previous 1.36 (colored)

Change xfs_sync() so that bdflush now syncs out inodes.

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

Add printf to print addresses of busy vnodes at unmount time.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jun 2 17:27:51 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

Cast the xfid->fid_ino field to an xfs_ino_t before
passing it to xfs_iget in xfs_vget.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 25 23:39:15 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

Initialize the xfs_bli_reflock in xfs_init().

Revision 1.33 / (download) - annotate - [select for diffs], Tue May 24 02:42:25 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.32: +3 -0 lines
Diff to previous 1.32 (colored)

Change locals for some xfs_bmbt routines to use a structure allocated
from the heap, instead of using stack space.

Revision 1.32 / (download) - annotate - [select for diffs], Mon May 23 23:10:19 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.31: +11 -2 lines
Diff to previous 1.31 (colored)

Initialize zone allocation for xfs_dir_state and xfs_alloc_arg structs.

Revision 1.31 / (download) - annotate - [select for diffs], Mon May 23 21:52:19 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.30: +40 -1 lines
Diff to previous 1.30 (colored)

Add initialization of zone allocators and ktrace buffers
to xfs_init().

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 19 18:45:16 1994 UTC (23 years, 4 months ago) by jleong
Branch: MAIN
Changes since 1.29: +8 -1 lines
Diff to previous 1.29 (colored)

xfs_vfsmount checks that the xlv table exists before using it.

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

Fix the xfs_iunlock() calls to have their lock_modes
match those of the corresponding xfs_ilock() calls.

Revision 1.28 / (download) - annotate - [select for diffs], Thu May 12 23:36:14 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.27: +5 -12 lines
Diff to previous 1.27 (colored)

Remove flags arg from xfs_log_mount()

Revision 1.27 / (download) - annotate - [select for diffs], Thu May 12 18:59:12 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.26: +1 -17 lines
Diff to previous 1.26 (colored)

move code to mount log into xfs_mountfs

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

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

Revision 1.25 / (download) - annotate - [select for diffs], Thu Apr 28 23:59:21 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.24: +16 -2 lines
Diff to previous 1.24 (colored)

Make the first call to flush the log asynchronous
and make a second call at the end if the caller
is not bdflush().  This is in xfs_sync(), of course.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 28 05:08:57 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.23: +7 -8 lines
Diff to previous 1.23 (colored)

Call log flush routine early in xfs_sync

Revision 1.23 / (download) - annotate - [select for diffs], Wed Apr 27 21:39:44 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.22: +57 -17 lines
Diff to previous 1.22 (colored)

Pass right device to xfs_log_mount.  Pass logdev through xfs_cmountfs
and _xfs_get_vfsmount.  Setup m_logdevp vnode for log device.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 26 00:38:27 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.21: +16 -15 lines
Diff to previous 1.21 (colored)

Use XFS_ERROR to return error values.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Apr 17 23:34:30 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

Change "functional" macros' names from lower to uppercase, for consistency
with everything else.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Apr 15 15:05:50 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

add "sys/uuid.h" include file.

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

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

Revision 1.18 / (download) - annotate - [select for diffs], Fri Apr 8 00:42:41 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (colored)

Initialize the xfsd lock.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Apr 7 17:06:35 1994 UTC (23 years, 6 months ago) by wei_hu
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

Change xlv locking.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 6 21:28:44 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Add argument to xfs_iflush_all so it's like iflush.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 31 01:10:12 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.14: +224 -58 lines
Diff to previous 1.14 (colored)

Implement xfs_sync() for real.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 30 17:41:31 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.13: +60 -6 lines
Diff to previous 1.13 (colored)

changed xfs_cmountfs() to open the rt and data devices and store the
vnodes in the mount structure.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 30 01:07:48 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.12: +31 -2 lines
Diff to previous 1.12 (colored)

when unmounting an XFS file system, need to flush to disk and release the
inodes associated with the real time partition.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Mar 29 02:20:56 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Fix xfs_statvfs to include the realtime blocks in its output.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 25 23:47:07 1994 UTC (23 years, 6 months ago) by jleong
Branch: MAIN
Changes since 1.10: +188 -74 lines
Diff to previous 1.10 (colored)

(1) Moved root inode retrieval from xfs_cmountfs() to xfs_mount$xfs_mountfs().
(2) Check for active vnodes before unmounting.
(3) Make xfs_mountroot() real. When mounting rootdev, check that the device
holds a XFS superblock. No go if XFS superblock isn't found.
(4) Implement xfs_sync().

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 25 00:12:45 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

change xfs_vfsmount() to get the external major of the device when checking
for XLV_MAJOR.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Mar 23 22:10:38 1994 UTC (23 years, 6 months ago) by jleong
Branch: MAIN
Changes since 1.8: +99 -91 lines
Diff to previous 1.8 (colored)

More xfs_cmountfs() work. Use new xfs_mount_t field m_rootip.
Filled in xfs_vget().

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 22 03:01:09 1994 UTC (23 years, 6 months ago) by jleong
Branch: MAIN
Changes since 1.7: +489 -51 lines
Diff to previous 1.7 (colored)

Implemented some stub functions - enough to get mount a xfs file system.

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

Initialize the semaphore used to do ancestor checks for directory renames.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 18 23:55:00 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Changing stubs to return errors so that we can boot
with xfs built into the kernel.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 16 23:24:58 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.4: +4 -0 lines
Diff to previous 1.4 (colored)

Change xfs_init() to initialize the xfs_strat_lock.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 28 17:44:28 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

Moved include of vfs.h to within the _KERNEL define so that
the prototype for vf_to_stf() would be picked up.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 28 01:56:07 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.2: +37 -10 lines
Diff to previous 1.2 (colored)

Implemented xfs_statvfs().

Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 31 01:55:39 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (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.1 / (download) - annotate - [select for diffs], Mon Dec 20 19:31:36 1993 UTC (23 years, 9 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>