CVS log for xfs-linux/xfs_mount.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.284 / (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.283: +2 -2 lines
Diff to previous 1.283 (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.283 / (download) - annotate - [select for diffs], Thu Oct 16 05:23:50 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.282: +0 -1 lines
Diff to previous 1.282 (colored)

Move the AIL lock into the struct xfs_ail

Bring the ail lock inside the struct xfs_ail. This means
the AIL can be entirely manipulated via the struct xfs_ail rather
than needing both the struct xfs_mount and the struct xfs_ail.

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

  Move the AIL lock into the struct xfs_ail

Revision 1.282 / (download) - annotate - [select for diffs], Thu Oct 16 05:20:00 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.281: +2 -8 lines
Diff to previous 1.281 (colored)

Allocate the struct xfs_ail

Rather than embedding the struct xfs_ail in the struct xfs_mount,
allocate it during AIL initialisation. Add a back pointer to
the struct xfs_ail so that we can pass around the xfs_ail
and still be able to access the xfs_mount if need be. This
is th first step involved in isolating the AIL implementation
from the surrounding filesystem code.

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

  Allocate the struct xfs_ail

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

kill deleted inodes list

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

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

  kill deleted inodes list

Revision 1.280 / (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.279: +0 -2 lines
Diff to previous 1.279 (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.279 / (download) - annotate - [select for diffs], Fri Oct 10 15:22:32 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.278: +0 -1 lines
Diff to previous 1.278 (colored)

remove the mount inode list

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

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

  remove the mount inode list

Revision 1.278 / (download) - annotate - [select for diffs], Fri Oct 10 15:21:38 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.277: +6 -6 lines
Diff to previous 1.277 (colored)

Cleanup maxrecs calculation.

Clean up the way the maximum and minimum records for the btree blocks are
calculated.  For the alloc and inobt btrees all the values are pre-calculated
in xfs_mount_common, and we switch the current loop around the ugly generic
macros that use cpp token pasting to generate type names to two small helpers
in normal C code.  For the bmbt and bmdr trees these helpers also exist,
but can be called during runtime, too.  Here we also kill various macros
dealing with them and inline the logic into the get_minrecs / get_maxrecs /
get_dmaxrecs methods in xfs_bmap_btree.c.

Note that all these new helpers take an xfs_mount * argument which will
be needed to determine the size of a btree block once we add support for
extended btree blocks with CRCs and other RAS information.


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

  Cleanup maxrecs calculation.

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

move xfssyncd code to xfs_sync.c

Move all the xfssyncd code to the new xfs_sync.c file.
This places it closer to the actual code that it interacts
with, rather than just being associated with high level
VFS code.

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

  move xfssyncd code to xfs_sync.c

Revision 1.276 / (download) - annotate - [select for diffs], Wed Oct 1 04:30:30 2008 UTC (9 years ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.275: +9 -8 lines
Diff to previous 1.275 (colored)

Sync up kernel and user-space headers
Merge of xfs-linux-melb:xfs-kern:32231a by kenmcd.

  Sync up kernel and user-space headers

Revision 1.275 / (download) - annotate - [select for diffs], Fri Aug 29 16:01:46 2008 UTC (9 years, 1 month ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.274: +0 -1 lines
Diff to previous 1.274 (colored)

Remove final remnants of dirv1 macros and other stuff
Merge of xfs-linux-melb:xfs-kern:32002a by kenmcd.

  Remove final remnants of dirv1 macros and related stuff

Revision 1.274 / (download) - annotate - [select for diffs], Wed Aug 6 06:16:06 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.273: +1 -1 lines
Diff to previous 1.273 (colored)

xfs_unmountfs should return void

xfs_unmounts can't and shouldn't return errors so declare it as
returning void.


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

  xfs_unmountfs should return void

Revision 1.273 / (download) - annotate - [select for diffs], Wed Aug 6 06:15:15 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.272: +4 -11 lines
Diff to previous 1.272 (colored)

cleanup xfs_mountfs

Remove all the useless flags and code keyed off it in xfs_mountfs.


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

  cleanup xfs_mountfs

Revision 1.272 / (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.271: +0 -3 lines
Diff to previous 1.271 (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.271 / (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.270: +3 -0 lines
Diff to previous 1.270 (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.270 / (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.269: +0 -3 lines
Diff to previous 1.269 (colored)

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

Revision 1.269 / (download) - annotate - [select for diffs], Wed May 21 04:22:46 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.268: +2 -0 lines
Diff to previous 1.268 (colored)

Name operation vector for hash and compare

Adds two pieces of functionality for the basis of case-insensitive
support in XFS:

1.  A comparison result enumerated type: xfs_dacmp. It represents an
    exact match, case-insensitive match or no match at all. This patch
    only implements different and exact results.

2.  xfs_nameops vector for specifying how to perform the hash generation
    of filenames and comparision methods. In this patch the hash vector
    points to the existing xfs_da_hashname function and the comparison
    method does a length compare, and if the same, does a memcmp and
    return the xfs_dacmp result.

All filename functions that use the hash (create, lookup remove, rename,
etc) now use the xfs_nameops.hashname function and all directory lookup
functions also use the xfs_nameops.compname function.

The lookup functions also handle case-insensitive results even though
the default comparison function cannot return that. And important
aspect of the lookup functions is that an exact match always has
precedence over a case-insensitive. So while a case-insensitive match
is found, we have to keep looking just in case there is an exact
match. In the meantime, the info for the first case-insensitive match
is retained if no exact match is found.

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

  Add nameops vector to mount structure

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

kill xfs_mount_init

xfs_mount_init is inlined into xfs_fs_fill_super and allocation switched
to kzalloc.  Plug a leak of the mount structure for most early mount
failures.  Move xfs_icsb_init_counters to as late as possible in the
mount path and make sure to undo it so that no stale hotplug cpu
notifiers are left around on mount failures.


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

  kill xfs_mount_init.

Revision 1.267 / (download) - annotate - [select for diffs], Tue May 20 04:32:40 2008 UTC (9 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.266: +1 -2 lines
Diff to previous 1.266 (colored)

sort out opening and closing of the block devices

Currently closing the rt/log block device is done in the wrong spot, and
far too early.  So revampt it:

 - xfs_blkdev_put moved out of xfs_free_buftarg into the caller so that
   it is done after tearing down the buftarg completely.
 - call to xfs_unmountfs_close moved from xfs_mountfs into caller so
   that it's done after tearing down the filesystem completely.
 - xfs_unmountfs_close is renamed to xfs_close_devices and made static
   in xfs_super.c
 - opening of the block devices is split into a helper xfs_open_devices
   that is symetric in use to xfs_close_devices
 - xfs_unmountfs can now lose struct cred
 - error handling around device opening sanitized in xfs_fs_fill_super


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

  sort out opening and closing of the block devices

Revision 1.266 / (download) - annotate - [select for diffs], Fri May 16 06:24:52 2008 UTC (9 years, 4 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.265: +1 -0 lines
Diff to previous 1.265 (colored)

xfs_dm_rdwr() needs to pass a vfsmount to dentry_open()

We need a vfsmount pointer in xfs_dm_rdwr() but we are not
provided with one and there's no way to get to it.  So add
a m_vfsmount field to the xfs_mount structure and set it
up at mount time.  We can then access it through the xfs
inode.
Merge of xfs-linux-melb:xfs-kern:31176a by kenmcd.

  Set up a vfsmount pointer in the xfs mount structure.

Revision 1.265 / (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.264: +1 -0 lines
Diff to previous 1.264 (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.

  define XFS_MOUNT_NOATTR2

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

fix non-smp xfs build

xfs_reserve_blocks() calls xfs_icsb_sync_counters_locked(),
which is not defined if !CONFIG_SMP/!HAVE_PERCPU_SB

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

  fix non-smp xfs build

Revision 1.263 / (download) - annotate - [select for diffs], Tue Apr 22 04:01:18 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.262: +0 -1 lines
Diff to previous 1.262 (colored)

kill XFS_ICSB_SB_LOCKED

With the last two patches XFS_ICSB_SB_LOCKED is never checked and
only superflously passed to xfs_icsb_count, so kill it.


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

  kill XFS_ICSB_SB_LOCKED.

Revision 1.262 / (download) - annotate - [select for diffs], Tue Apr 22 03:59:31 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.261: +3 -2 lines
Diff to previous 1.261 (colored)

Add a new xfs_icsb_sync_counters_locked for the case where m_sb_lock
is already taken and add a flags argument to xfs_icsb_sync_counters so
that xfs_icsb_sync_counters_flags is not needed.


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

  Add xfs_icsb_sync_counters_locked().

Revision 1.261 / (download) - annotate - [select for diffs], Wed Apr 9 16:35:28 2008 UTC (9 years, 6 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.260: +2 -2 lines
Diff to previous 1.260 (colored)

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

  remove bhv_vname_t and xfs_rename code

Revision 1.260 / (download) - annotate - [select for diffs], Tue Mar 11 15:02:32 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.259: +1 -1 lines
Diff to previous 1.259 (colored)

Replace custom AIL linked-list code with struct list_head

Replace the xfs_ail_entry_t with a struct list_head and clean
the surrounding code up. Also fixes a livelock in
xfs_trans_first_push_ail() by terminating the loop at the
head of the list correctly.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Merge of xfs-linux-melb:xfs-kern:30636a by kenmcd.

  Replace custom AIL linked-list code with struct list_head

Revision 1.259 / (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.258: +1 -1 lines
Diff to previous 1.258 (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.258 / (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.257: +11 -11 lines
Diff to previous 1.257 (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.257 / (download) - annotate - [select for diffs], Fri Feb 22 03:09:12 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.256: +1 -1 lines
Diff to previous 1.256 (colored)

kill xfs_rwlock/xfs_rwunlock

We can just use xfs_ilock/xfs_iunlock instead and get rid of the ugly
bhv_vrwlock_t.


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

  kill xfs_rwlock/xfs_rwunlock

Revision 1.256 / (download) - annotate - [select for diffs], Fri Jan 18 15:06:09 2008 UTC (9 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.255: +8 -2 lines
Diff to previous 1.255 (colored)

Move AIL pushing into it's own thread

When many hundreds to thousands of threads all try to do simultaneous
transactions and the log is in a tail-pushing situation (i.e. full),
we can get multiple threads walking the AIL list and contending on
the AIL lock.

The AIL push is, in effect, a simple I/O dispatch algorithm complicated
by the ordering constraints placed on it by the transaction subsystem.
It really does not need multiple threads to push on it - even when
only a single CPU is pushing the AIL, it can push the I/O out far faster
that pretty much any disk subsystem can handle.

So, to avoid contention problems stemming from multiple list walkers,
move the list walk off into another thread and simply provide a "target"
to push to. When a thread requires a push, it sets the target and wakes
the push thread, then goes to sleep waiting for the required amount
of space to become available in the log.

This mechanism should also be a lot fairer under heavy load as the
waiters will queue in arrival order, rather than queuing in "who completed
a push first" order.

Also, by moving the pushing to a separate thread we can do more effectively
overload detection and prevention as we can keep context from loop iteration
to loop iteration. That is, we can push only part of the list each loop and not
have to loop back to the start of the list every time we run. This should
also help by reducing the number of items we try to lock and/or push items
that we cannot move.

Note that this patch is not intended to solve the inefficiencies in the
AIL structure and the associated issues with extremely large list contents.
That needs to be addresses separately; parallel access would cause problems
to any new structure as well, so I'm only aiming to isolate the structure
from unbounded parallelism here.
Merge of xfs-linux-melb:xfs-kern:30371a by kenmcd.

  Define new AIL subsystems structures for abstraction of the
  internals of the implementation out of the xfs_mount structure.

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

kill xfs_iocore_t

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


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

  kill xfs_iocore_t

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

Cleanup lock goop.

Switch last couple lock_t's to spinlock_t's.
Remove now-unused spinlock-related macros & types.

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

  Cleanup lock goop

Revision 1.253 / (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.252: +1 -3 lines
Diff to previous 1.252 (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.252 / (download) - annotate - [select for diffs], Fri Sep 21 04:09:25 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.251: +1 -8 lines
Diff to previous 1.251 (colored)

Unwrap AIL_LOCK
Merge of xfs-linux-melb:xfs-kern:29739a by kenmcd.

Revision 1.251 / (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.250: +0 -101 lines
Diff to previous 1.250 (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.250 / (download) - annotate - [select for diffs], Fri Aug 24 16:20:33 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.249: +1 -1 lines
Diff to previous 1.249 (colored)

growlock should be a mutex

m_growlock only needs plain binary mutex semantics, so use a struct
mutex instead of a semaphore for it.


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

  convert m_growlock to a mutex.

Revision 1.249 / (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.248: +15 -32 lines
Diff to previous 1.248 (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.248 / (download) - annotate - [select for diffs], Fri Aug 24 16:17:15 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.247: +6 -0 lines
Diff to previous 1.247 (colored)

move syncing related members from struct bhv_vfs to struct xfs_mount

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

  move sync-related members of bhv_vfs to xfs_mount.

Revision 1.247 / (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.246: +4 -4 lines
Diff to previous 1.246 (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.246 / (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.245: +7 -14 lines
Diff to previous 1.245 (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.245 / (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.244: +0 -1 lines
Diff to previous 1.244 (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.244 / (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.243: +28 -15 lines
Diff to previous 1.243 (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.243 / (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.242: +16 -8 lines
Diff to previous 1.242 (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.242 / (download) - annotate - [select for diffs], Fri Aug 24 16:10:21 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.241: +5 -6 lines
Diff to previous 1.241 (colored)

kill struct bhv_vnode

Now that struct bhv_vnode is empty we can just kill it.  Retain bhv_vnode_t
as a typedef for struct inode for the time beeing until all the fallout is
cleaned up.


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

  struct bhv_vnode is empty so just retain it as a typedef to a
  struct inode to minimise cosmetic change.

Revision 1.241 / (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.240: +0 -1 lines
Diff to previous 1.240 (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.240 / (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.239: +16 -6 lines
Diff to previous 1.239 (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.239 / (download) - annotate - [select for diffs], Thu Aug 23 15:57:06 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.238: +2 -1 lines
Diff to previous 1.238 (colored)

superblock endianess annotations

Creates a new xfs_dsb_t that is __be annotated and keeps xfs_sb_t for
the incore one.  xfs_xlatesb is renamed to xfs_sb_to_disk and only
handles the incore -> disk conversion.  A new helper xfs_sb_from_disk
handles the other direction and doesn't need the slightly hacky
table-driven approach because we only ever read the full sb from disk.

The handling of shared r/o filesystems has been buggy on little endian
system and fixing this required shuffling around of some code in that
area.


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

  Add superblock endian notations.

Revision 1.238 / (download) - annotate - [select for diffs], Thu Aug 2 16:07:51 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.237: +0 -1 lines
Diff to previous 1.237 (colored)

Remove m_nreadaheads

m_nreadaheads in the mount struct is never used; remove it
and the various macros assigned to it. Also remove a couple
other unused macros in the same areas.

Removes one user of xfs_physmem.

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

  remove unused m_nreadaheads and associated macros.

Revision 1.237 / (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.236: +4 -0 lines
Diff to previous 1.236 (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.236 / (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.235: +7 -3 lines
Diff to previous 1.235 (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.235 / (download) - annotate - [select for diffs], Fri May 11 06:05:23 2007 UTC (10 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.234: +1 -0 lines
Diff to previous 1.234 (colored)

Don't grow filesystems past the size they can index.

When growing a filesystem we don't check to see if the new size
overflows the page cache index range, so we can do silly things
like grow a filesystem page 16TB on a 32bit. Check new filesystem
sizes against the limits the kernel can support.

Signed-Off-By: Nathan Scott <nscott@aconex.com>
Merge of xfs-linux-melb:xfs-kern:28563a by kenmcd.

  Factor maximum supported filesystem size checks to allow other
  callers to use it.

Revision 1.234 / (download) - annotate - [select for diffs], Tue Jan 30 02:56:18 2007 UTC (10 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.233: +2 -0 lines
Diff to previous 1.233 (colored)

Re-initialize the per-cpu superblock counters after recovery.

After filesystem recovery the superblock is re-read to bring in
any changes.  If the per-cpu superblock counters are not re-initialized
from the superblock then the next time the per-cpu counters are
disabled they might overwrite the global counter with a bogus value.
Merge of xfs-linux-melb:xfs-kern:27999a by kenmcd.

  Re-initialize the per-cpu superblock counters after recovery.

Revision 1.233 / (download) - annotate - [select for diffs], Tue Jan 16 14:48:39 2007 UTC (10 years, 8 months ago) by chatz.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.232: +1 -1 lines
Diff to previous 1.232 (colored)

Fix block reservation changes for non-SMP systems.

Signed-off-by: Kevin Jamieson <kjamieson@bycast.com>
Merge of xfs-linux-melb:xfs-kern:27940a by kenmcd.

  No-op xfs_icsb_sync_counters_flags on non-SMP builds.

Revision 1.232 / (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.231: +1 -1 lines
Diff to previous 1.231 (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.

  Change the per-cpu counter sync interface to export a flags variant
  rather than specific, similar functions.

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

Make growfs work for amounts greater than 2TB

The free block modification code has a 32bit interface, limiting
the size the filesystem can be grown even on 64 bit machines.
On 32 bit machines, there are other 32bit variables in transaction
structures and interfaces that need to be expanded to allow this
to work.
Merge of xfs-linux-melb:xfs-kern:27894a by kenmcd.

  Update xfs_mod_sb_t to 64bit deltas.

Revision 1.230 / (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.229: +2 -2 lines
Diff to previous 1.229 (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.229 / (download) - annotate - [select for diffs], Mon Dec 11 14:47:25 2006 UTC (10 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.228: +21 -0 lines
Diff to previous 1.228 (colored)

Fix UP build breakage due to undefined m_icsb_mutex.
Merge of xfs-linux-melb:xfs-kern:27692a by kenmcd.

  Abstract m_icsb_mutex references into HAVE_PERCPU_SB dependent functions.

Revision 1.228 / (download) - annotate - [select for diffs], Mon Dec 4 02:51:48 2006 UTC (10 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.227: +1 -0 lines
Diff to previous 1.227 (colored)

Reduction global superblock lock contention near ENOSPC.

The existing per-cpu superblock counter code uses the global
superblock spin lock when we approach ENOSPC for global
synchronisation. On larger machines than this code was originally
tested on this can still get catastrophic spinlock contention due
increasing rebalance frequency near ENOSPC.

By introducing a sleeping lock that is used to serialise balances
and modifications near ENOSPC we prevent contention from needlessly
from wasting the CPU time of potentially hundreds of CPUs.

To reduce the number of balances occuring, we separate the need
rebalance case from the slow allocate case.  Now, a counter
running dry will trigger a rebalance during which counters are
disabled. Any thread that sees a disabled counter enters a different
path where it waits on the new mutex. When it gets the new mutex, it
checks if the counter is disabled.  If the counter is disabled, then
we _know_ that we have to use the global counter and lock and it is
safe to do so immediately.  Otherwise, we drop the mutex and go back
to trying the per-cpu counters which we know were re-enabled.
Merge of xfs-linux-melb:xfs-kern:27612a by kenmcd.

  Add a new per-cpu counter synchronisation mutex.

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

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

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

remove bhv_lookup, _range version works aswell and has more useful semantics.

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

  remove bhv_lookup, _range version works aswell and has more useful semantics.

Revision 1.225 / (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.224: +0 -2 lines
Diff to previous 1.224 (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.224 / (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.223: +1 -1 lines
Diff to previous 1.223 (colored)

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

Revision 1.223 / (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.222: +7 -7 lines
Diff to previous 1.222 (colored)

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

Revision 1.222 / (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.221: +11 -11 lines
Diff to previous 1.221 (colored)

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

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

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

Revision 1.220 / (download) - annotate - [select for diffs], Thu Apr 13 10:13:05 2006 UTC (11 years, 6 months ago) by olaf
Branch: MAIN
Changes since 1.219: +20 -3 lines
Diff to previous 1.219 (colored)

Add parameters to xfs_bmapi() and xfs_bunmapi() to have them
report the range spanned by modifications to the in-core extent
map.  Add XFS_BUNMAPI() and XFS_SWAP_EXTENTS() macros that call
xfs_bunmapi() and xfs_swap_extents() via the ioops vector.
Change all calls that may modify the in-core extent map for the
data fork to go through the ioops vector.  This allows a cache
of extent map data to be kept in sync.
Add .xfs_bunmapi_func and .xfs_swap_extents_func to xfs_ioops_t.
Add XFS_BUNMAPI() and XFS_SWAP_EXTENTS() macros to call these functions.
Add parameter to XFS_BMAPI() macro.

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

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

Revision 1.218 / (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.217: +1 -1 lines
Diff to previous 1.217 (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.217 / (download) - annotate - [select for diffs], Mon Mar 6 14:18:30 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.216: +0 -5 lines
Diff to previous 1.216 (colored)

Remove a couple of no-longer-used macros/types from XFS.
Merge of xfs-linux-melb:xfs-kern:25377a by kenmcd.

Revision 1.216 / (download) - annotate - [select for diffs], Thu Mar 2 02:45:27 2006 UTC (11 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.215: +3 -1 lines
Diff to previous 1.215 (colored)

using a spinlock per cpu for superblock counter exclusion results in
a preēmpt counter overflow at 256p and above. Change the exclusion mechanism
to use atomic bit operations and busy wait loops to emulate the spin
lock exclusion mechanism but without the preempt count issues.
Merge of xfs-linux-melb:xfs-kern:25338a by kenmcd.

  Use a flag bit for per-cpu counter exclusion rather than a spin lock
  to prevent preempt count overflows.

Revision 1.215 / (download) - annotate - [select for diffs], Thu Feb 16 05:04:23 2006 UTC (11 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.214: +1 -0 lines
Diff to previous 1.214 (colored)

Add support for hotplug CPUs to the per-CPU superblock
counters by registering a notifier callback that listens
to CPU up/down events to modify the counters appropriately.
Merge of xfs-linux-melb:xfs-kern:25214a by kenmcd.

  Add cpu notifier chain handling for hot plug cpus
  for the per-cpu superblock counters.

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

  Introduce per-cpu superblock counters.

Revision 1.213 / (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.212: +0 -2 lines
Diff to previous 1.212 (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.212 / (download) - annotate - [select for diffs], Wed Jan 25 00:34:27 2006 UTC (11 years, 8 months ago) by cattelan
Branch: MAIN
Changes since 1.211: +1 -1 lines
Diff to previous 1.211 (colored)

Bring the XFS code in sync with the changed from 2.6.16-rc1

Revision 1.211 / (download) - annotate - [select for diffs], Sat Dec 17 11:31:50 2005 UTC (11 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.210: +0 -1 lines
Diff to previous 1.210 (colored)

Complete the pagebuf -> xfs_buf naming convention transition, finally.
Merge of xfs-linux-melb:xfs-kern:24866a by kenmcd.

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

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

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

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

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

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

Revision 1.206 / (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.205: +26 -42 lines
Diff to previous 1.205 (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.205 / (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.204: +2 -0 lines
Diff to previous 1.204 (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.204 / (download) - annotate - [select for diffs], Fri Sep 16 15:11:49 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.203: +1 -1 lines
Diff to previous 1.203 (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:23837a by kenmcd.

Revision 1.203 / (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.202: +27 -0 lines
Diff to previous 1.202 (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
  and calculation.

Revision 1.202 / (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.201: +1 -0 lines
Diff to previous 1.201 (colored)

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

Revision 1.201 / (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.200: +2 -1 lines
Diff to previous 1.200 (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.200 / (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.199: +3 -3 lines
Diff to previous 1.199 (colored)

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

Revision 1.199 / (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.198: +0 -1 lines
Diff to previous 1.198 (colored)

mark various symbols static

Patch from Adrian Bunk

Revision 1.198 / (download) - annotate - [select for diffs], Fri Apr 29 15:10:40 2005 UTC (12 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.197: +4 -4 lines
Diff to previous 1.197 (colored)

Cleanup use of loff_t vs xfs_off_t in the core code.
Merge of xfs-linux-melb:xfs-kern:22378a by kenmcd.

Revision 1.197 / (download) - annotate - [select for diffs], Fri Apr 29 15:09:58 2005 UTC (12 years, 5 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.196: +4 -3 lines
Diff to previous 1.196 (colored)

Use the right offset when ensuring a delayed allocate conversion has covered the offset originally requested.  Can cause data corruption when multiple processes are performing writeout on different areas of the same file.  Quite difficult to hit though.
Merge of xfs-linux-melb:xfs-kern:22377a by kenmcd.

Revision 1.196 / (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.195: +3 -3 lines
Diff to previous 1.195 (colored)

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

Revision 1.195 / (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.194: +1 -0 lines
Diff to previous 1.194 (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.194 / (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.193: +2 -1 lines
Diff to previous 1.193 (colored)

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

Revision 1.193 / (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.192: +1 -2 lines
Diff to previous 1.192 (colored)

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

Revision 1.192 / (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.191: +2 -2 lines
Diff to previous 1.191 (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.191 / (download) - annotate - [select for diffs], Fri Nov 12 03:18:17 2004 UTC (12 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.190: +1 -0 lines
Diff to previous 1.190 (colored)

Wait for all async buffers to complete before tearing down
the filesystem at umount time
prototype for xfs_unmountfs_wait

Revision 1.190 / (download) - annotate - [select for diffs], Fri Oct 22 19:33:10 2004 UTC (12 years, 11 months ago) by jpk
Branch: MAIN
Changes since 1.189: +4 -3 lines
Diff to previous 1.189 (colored)

Allow the option of skipping quotacheck processing.
Define XFS_MFS_NO_QUOTACHECK. Used to skip quotacheck processing.

Revision 1.189 / (download) - annotate - [select for diffs], Wed Aug 25 10:12:20 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.188: +1 -1 lines
Diff to previous 1.188 (colored)

Ensure maxagi not updated early during growfs, conflicts with concurrent inode allocations.  Fix from ASANO Masahiro.

Revision 1.188 / (download) - annotate - [select for diffs], Tue Jun 15 02:19:38 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.187: +1 -5 lines
Diff to previous 1.187 (colored)

Remove the one remaining, broken use of XFS_WRITEIO_LOG and sanitize direct IO map blocks call.

Revision 1.187 / (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.186: +0 -14 lines
Diff to previous 1.186 (colored)

Integrate freeze/unfrezze with Linux 2.6 VFS infrastructure
remove most of the freeze code from here

Revision 1.186 / (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.185: +2 -0 lines
Diff to previous 1.185 (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 XFS_MOUNT_SWALLOC.  (PV 783527)

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

Dmapi preunmount event references null pointer
Add XFS_SEND_PREUMOUNT.
Add arg to xfs_send_namesp_t.

Revision 1.184 / (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.183: +2 -2 lines
Diff to previous 1.183 (colored)

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

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

Implement deletion of inode clusters in XFS.
define for mount option control of inode cluster freeing

Revision 1.182 / (download) - annotate - [select for diffs], Tue Sep 23 21:43:35 2003 UTC (14 years ago) by roehrich
Branch: MAIN
Changes since 1.181: +3 -3 lines
Diff to previous 1.181 (colored)

Make dm_send_data_event use vp rather than bhv
Merge of 2.4.x-xfs-kern:slinx:158840a by roehrich.

  Make dm_send_data_event use vp rather than bhv

Revision 1.181 / (download) - annotate - [select for diffs], Mon Sep 22 17:46:12 2003 UTC (14 years ago) by roehrich
Branch: MAIN
Changes since 1.180: +3 -3 lines
Diff to previous 1.180 (colored)

Change dm_send_destroy_event to use vnode ptrs rather than bhv ptrs

Revision 1.180 / (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.179: +1 -3 lines
Diff to previous 1.179 (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.179 / (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.178: +4 -3 lines
Diff to previous 1.178 (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.178 / (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.177: +2 -2 lines
Diff to previous 1.177 (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.177 / (download) - annotate - [select for diffs], Thu Jul 10 02:21:36 2003 UTC (14 years, 3 months ago) by dxm
Branch: MAIN
Changes since 1.176: +0 -1 lines
Diff to previous 1.176 (colored)

move process flag manipulations to linux specific code and
save/set/restore instead of set/clear for good form
Merge of 2.4.x-xfs-kern:slinx:152830a by nathans.

  move process flag manipulations to linux specific code and
  save/set/restore instead of set/clear for good form

Revision 1.176 / (download) - annotate - [select for diffs], Thu Jul 10 01:54:38 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.175: +4 -2 lines
Diff to previous 1.175 (colored)

Correct the maxbytes sb value for non-pagesize filesystem block sizes, and all uses of max file size constant within XFS

Revision 1.175 / (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.174: +582 -0 lines
Diff to previous 1.174 (colored)

The Big Move
linux/fs/xfs/xfs_mount.h 1.173 Renamed to xfs_mount.h

Revision 1.174 / (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.173: +0 -582 lines
Diff to previous 1.173 (colored)

Nuke

Revision 1.173 / (download) - annotate - [select for diffs], Mon Jun 16 14:22:52 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.172: +1 -1 lines
Diff to previous 1.172 (colored)

Remove a dead code path from mount, noticed by Al Viro.
drop dev arg from xfs_mountfs

Revision 1.172 / (download) - annotate - [select for diffs], Sun May 18 23:48:15 2003 UTC (14 years, 4 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.171: +2 -2 lines
Diff to previous 1.171 (colored)

Remove a void* from the xfs_mount structure, move the log stripe mask
field from the xfs_mount structure to the log structure (saves a couple
of pointer dereferences when writing to the log, with v2 logs only).

Revision 1.171 / (download) - annotate - [select for diffs], Thu May 1 21:05:53 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.170: +1 -2 lines
Diff to previous 1.170 (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.
add m_del_inodes list and remove m_sbdirty_timer from xfs_mount_t

Revision 1.170 / (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.169: +40 -40 lines
Diff to previous 1.169 (colored)

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

Revision 1.169 / (download) - annotate - [select for diffs], Fri Apr 4 17:27:05 2003 UTC (14 years, 6 months ago) by hch
Branch: MAIN
Changes since 1.168: +1 -0 lines
Diff to previous 1.168 (colored)

remove atomicIncWithWrap
per-mp AG rotor lock

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

bring us back in sync with mainline
Merge of 2.5.x-xfs:slinx:142714a by hch.

  xfs_uuid_unmount can be static, remove superflous defines

Revision 1.167 / (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.166: +112 -27 lines
Diff to previous 1.166 (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.166 / (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.165: +53 -46 lines
Diff to previous 1.165 (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.165 / (download) - annotate - [select for diffs], Wed Dec 11 17:27:32 2002 UTC (14 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.164: +67 -21 lines
Diff to previous 1.164 (colored)

rework iocore infrastructure, remove some code and make it more
orthogonal. In addition, add some of the hooks for unwritten extents.
Merge of 2.4.x-xfs-dev:slinx:134603a by lord.

  revamped iocore vector

Revision 1.164 / (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.163: +0 -5 lines
Diff to previous 1.163 (colored)

add a new xfs_mount parameter to xfs_blkdev_get
remove second copy of a few prototypes

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

pagebuf can now take a configurable sector size (512 -> 32K).
Squeeze in an 8byte sectbb field (no change to xfs_mount_t size), similar
semantics to blkbb log field (except for sector size, not block size).

Revision 1.162 / (download) - annotate - [select for diffs], Tue Nov 12 20:11:48 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.161: +1 -1 lines
Diff to previous 1.161 (colored)

Remove rootfs special-casing in the quota code
treat the rootfs like any other filesystem

Revision 1.161 / (download) - annotate - [select for diffs], Mon Oct 21 05:23:40 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.160: +2 -1 lines
Diff to previous 1.160 (colored)

Fix xfs_da_node_split handling of dir/attr buffers for filesystems built
with a directory block size larger than the filesystem (and hence attr)
blocksize.  This does not affect filesystems built with default mkfs.xfs
parameters, and only hits when a large number of attributes are set on
an inode.
Fix a problem in the dabuf (dir/attr buffer) layer which deals with
calculating when a block should be split in two.  Previously there was
only one constant used in the test.  When V2 directories have a block
size larger than the fs block size, the constant is too large for
extended attributes.  So, replace this constant with two, and make the
dabuf code use the correct one based upon being used for attributes or
directories.

Revision 1.160 / (download) - annotate - [select for diffs], Tue Oct 8 00:08:03 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.159: +1 -2 lines
Diff to previous 1.159 (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.159 / (download) - annotate - [select for diffs], Mon Oct 7 19:10:05 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.158: +0 -7 lines
Diff to previous 1.158 (colored)

Remove leftovers of long-dead iocore methods
Remove stale typedefs.

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

More mount cleanups
Add functions to resolve a path to a properly block device.
Add functions to deal with buftargs.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Sep 20 08:20:25 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.156: +1 -2 lines
Diff to previous 1.156 (colored)

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

Revision 1.156 / (download) - annotate - [select for diffs], Fri Sep 20 05:03:21 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.155: +2 -1 lines
Diff to previous 1.155 (colored)

Fix xfs_da_node_split handling of dir/attr buffers for filesystems built
with a directory block size larger than the filesystem (and hence attr)
blocksize.  This does not affect filesystems built with default mkfs.xfs
parameters, and only hits when a large number of attributes are set on
an inode.
Fix a problem in the dabuf (dir/attr buffer) layer which deals with
calculating when a block should be split in two.  Previously there was
only one constant used in the test.  When V2 directories have a block
size larger than the fs block size, the constant is too large for
extended attributes.  So, replace this constant with two, and make the
dabuf code use the correct one based upon being used for attributes or
directories.

Revision 1.155 / (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.154: +0 -2 lines
Diff to previous 1.154 (colored)

fix unchecked pointer dereferences

Revision 1.154 / (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.153: +6 -8 lines
Diff to previous 1.153 (colored)

rationalize xfs <-> pagebuf interface

Revision 1.153 / (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.152: +5 -7 lines
Diff to previous 1.152 (colored)

remove vfs flags argument from unmount path
make forced shutdown call VFS_FORCE_SHUTDOWN

Revision 1.152 / (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.151: +1 -1 lines
Diff to previous 1.151 (colored)

remove kdev_t abuse from XFS

Revision 1.151 / (download) - annotate - [select for diffs], Tue Jul 16 21:20:59 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.150: +1 -34 lines
Diff to previous 1.150 (colored)

remove some unaccessed parts of the xfs iocore

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

remove xfs_checklock from iocore

Revision 1.149 / (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.148: +0 -1 lines
Diff to previous 1.148 (colored)

rationalize mount arguments

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

clean up the check frozen interface

Revision 1.147 / (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.146: +83 -83 lines
Diff to previous 1.146 (colored)

whitespace cleanup

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

Add stripemask to xfs_mount_t

Revision 1.145 / (download) - annotate - [select for diffs], Fri Jun 14 16:00:03 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.144: +0 -1 lines
Diff to previous 1.144 (colored)

remove prototype for non-existent function

Revision 1.144 / (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.143: +1 -1 lines
Diff to previous 1.143 (colored)

Update copyright dates

Revision 1.143 / (download) - annotate - [select for diffs], Tue Jun 4 12:53:41 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.142: +5 -1 lines
Diff to previous 1.142 (colored)

Define XFS_WRITE_IO_LOG

Revision 1.142 / (download) - annotate - [select for diffs], Sun Jun 2 12:48:46 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.141: +1 -1 lines
Diff to previous 1.141 (colored)

switch xfs perag log to a rw_semaphore

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

defines for new mount option

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

add mount struct flag for irixsgid

Revision 1.138 / (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.137: +2 -0 lines
Diff to previous 1.137 (colored)

add m_sbdirty_timer to mount struct

Revision 1.137 / (download) - annotate - [select for diffs], Thu Mar 28 03:18:22 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.136: +1 -1 lines
Diff to previous 1.136 (colored)

ensure unsigned long used to store irq state

Revision 1.136 / (download) - annotate - [select for diffs], Wed Mar 6 20:12:43 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.135: +0 -9 lines
Diff to previous 1.135 (colored)

remove ancient INTERRUPT_LATENCY_TESTING code

Revision 1.135 / (download) - annotate - [select for diffs], Tue Feb 26 00:33:20 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.134: +3 -12 lines
Diff to previous 1.134 (colored)

Merge of 2.4.18-xfs:slinx:112528b by nathans.

  remove several no-longer-used fields (iosize) from the xfs_iocore_t.

Revision 1.134 / (download) - annotate - [select for diffs], Fri Feb 15 23:06:22 2002 UTC (15 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.133: +1 -1 lines
Diff to previous 1.133 (colored)

Formatting change so osyncisosync description doesn't line-wrap

Revision 1.133 / (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.132: +2 -1 lines
Diff to previous 1.132 (colored)

new XFSMNT_OSYNCISOSYNC flag (replaces XFSMNT_OSYNCISDSYNC)

Revision 1.132 / (download) - annotate - [select for diffs], Thu Dec 6 04:06:12 2001 UTC (15 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.131: +1 -0 lines
Diff to previous 1.131 (colored)

keep in sync with the userspace code.

Revision 1.131 / (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.130: +4 -0 lines
Diff to previous 1.130 (colored)

Prototype for xfs_initialize_perag

Revision 1.130 / (download) - annotate - [select for diffs], Thu Aug 16 20:34:51 2001 UTC (16 years, 1 month ago) by eric
Branch: MAIN
Changes since 1.129: +9 -5 lines
Diff to previous 1.129 (colored)

"Merge" of irix6.5f:irix:100627b

Revision 1.129 / (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.128: +1 -0 lines
Diff to previous 1.128 (colored)

Add nouuid mount option

Revision 1.128 / (download) - annotate - [select for diffs], Thu May 17 02:58:46 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.127: +12 -0 lines
Diff to previous 1.127 (colored)

prototypes and extra mount structures for freeze/thaw implementation.

Revision 1.127 / (download) - annotate - [select for diffs], Mon May 14 15:39:44 2001 UTC (16 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.126: +2 -1 lines
Diff to previous 1.126 (colored)

Add instrumentation for error conditions.
(Irix6.5f:irix:93790c, PV818277)

Revision 1.126 / (download) - annotate - [select for diffs], Wed May 9 20:06:47 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.125: +4 -6 lines
Diff to previous 1.125 (colored)

change default biosize to 4K and change the minimum size to 4K

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

Get rid of the last compiler warning OFF flags

Revision 1.124 / (download) - annotate - [select for diffs], Fri Jan 5 03:17:43 2001 UTC (16 years, 9 months ago) by dxm
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.123: +8 -0 lines
Diff to previous 1.123 (colored)

add vop_checklock to match irix

Revision 1.123 / (download) - annotate - [select for diffs], Thu Dec 21 03:00:03 2000 UTC (16 years, 9 months ago) by dxm
Branch: MAIN
Changes since 1.122: +0 -3 lines
Diff to previous 1.122 (colored)

remove broken definitions of m_ddev_targ, m_logdev_targ & m_rtdev_targ

Revision 1.122 / (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.121: +0 -1 lines
Diff to previous 1.121 (colored)

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

Revision 1.121 / (download) - annotate - [select for diffs], Mon Dec 11 23:55:22 2000 UTC (16 years, 10 months ago) by ivanr
Branch: MAIN
Changes since 1.120: +1 -0 lines
Diff to previous 1.120 (colored)

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

Revision 1.120 / (download) - annotate - [select for diffs], Mon Dec 11 02:57:17 2000 UTC (16 years, 10 months ago) by dxm
Branch: MAIN
Changes since 1.119: +0 -1 lines
Diff to previous 1.119 (colored)

re-remove XFS_MFSI_RRINODES

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

add XFS_MFSI_RRINODES

Revision 1.118 / (download) - annotate - [select for diffs], Wed Oct 4 02:59:56 2000 UTC (17 years ago) by dxm
Branch: MAIN
Changes since 1.117: +0 -2 lines
Diff to previous 1.117 (colored)

pv 797165 don't need copies of old/new uuid

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

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

Revision 1.116 / (download) - annotate - [select for diffs], Thu Aug 24 05:43:08 2000 UTC (17 years, 1 month ago) by dxm
Branch: MAIN
Changes since 1.115: +2 -1 lines
Diff to previous 1.115 (colored)

add field for original uuid

Revision 1.115 / (download) - annotate - [select for diffs], Mon Aug 7 15:12:24 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.114: +40 -1 lines
Diff to previous 1.114 (colored)

move XFS_DADDR_TO_AGNO and XFS_DADDR_TO_AGBNO here as they need the definition
of xfs_mount_t.

Revision 1.114 / (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.113: +3 -2 lines
Diff to previous 1.113 (colored)

Add m_newuuid to xfs_mount_t.  If  m_sb.sb_uuid is updated because
its a duplicate, a copy is saved here and the uuid is restored after
xlog_do_recover overwrites it.

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

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

Revision 1.112 / (download) - annotate - [select for diffs], Fri Jun 9 04:41:38 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.111: +1 -0 lines
Diff to previous 1.111 (colored)

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

  make super block translation public

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

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

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

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

  Handle 8k pages (UltraSparc).

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

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

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

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

  Remove xfs_checklock references.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jun 9 02:13:12 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.106: +2 -1 lines
Diff to previous 1.106 (colored)

initial architecture work
Merge of 2.3.99pre2-xfs:slinx:46678a by ananth.

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

Revision 1.106 / (download) - annotate - [select for diffs], Tue Nov 23 20:09:20 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored)

More b_flags abstractions

Revision 1.105 / (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.104: +4 -4 lines
Diff to previous 1.104 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.104 / (download) - annotate - [select for diffs], Tue May 25 20:01:08 1999 UTC (18 years, 4 months ago) by clk
Branch: MAIN
Changes since 1.103: +12 -2 lines
Diff to previous 1.103 (colored)

Add new iocore op xfs_checklock.

Revision 1.103 / (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.102: +156 -8 lines
Diff to previous 1.102 (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

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

Add the inode cluster hash and it's size to the end of the mount table

Revision 1.101 / (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.100: +14 -7 lines
Diff to previous 1.100 (colored)

New fields for v2 directories.  Remove include!  

Revision 1.100 / (download) - annotate - [select for diffs], Sun Jan 18 09:02:22 1998 UTC (19 years, 8 months ago) by rcc
Branch: MAIN
Changes since 1.99: +19 -4 lines
Diff to previous 1.99 (colored)

add new versions of iosize limit #define's for simulation
and 16K pagesize machines.  pv: 553288  rv: kayuri@engr, doucette@engr

Revision 1.99 / (download) - annotate - [select for diffs], Fri Dec 19 19:35:50 1997 UTC (19 years, 9 months ago) by gnuss
Branch: MAIN
Changes since 1.98: +5 -3 lines
Diff to previous 1.98 (colored)

Added two counters to xfs_mount struct. m_resblks and m_resblks_avail

Revision 1.98 / (download) - annotate - [select for diffs], Fri Dec 19 03:38:36 1997 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.97: +10 -6 lines
Diff to previous 1.97 (colored)

add biosize and osyncisdsync XFS mount options.
pv: 555963,553288  rv:doucette@engr

Revision 1.97 / (download) - annotate - [select for diffs], Sun Oct 12 08:07:12 1997 UTC (20 years ago) by nigel
Branch: MAIN
Changes since 1.96: +4 -4 lines
Diff to previous 1.96 (colored)

Remove ifdefs for INTR_KTHREADS and BASE_ITHREADS

Revision 1.96 / (download) - annotate - [select for diffs], Fri Sep 19 20:56:28 1997 UTC (20 years ago) by lord
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored)

Fix alignment for export structure at end of xfs_mount_t in the
cellular build. It was broken by the addition of a 1 byte variable
before it.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Sep 19 09:37:05 1997 UTC (20 years ago) by rcc
Branch: MAIN
Changes since 1.94: +6 -2 lines
Diff to previous 1.94 (colored)

522678,189005 - add shared and norecovery mount flags.  trash
now-unnecessary clean flag

Revision 1.94 / (download) - annotate - [select for diffs], Tue Sep 16 21:57:27 1997 UTC (20 years, 1 month ago) by nowicki
Branch: MAIN
Changes since 1.93: +2 -1 lines
Diff to previous 1.93 (colored)

We need to save the size of the inode hash table at mount time,
since the allocation group count can be grown with growfs.

Revision 1.93 / (download) - annotate - [select for diffs], Fri Sep 12 17:48:38 1997 UTC (20 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.92: +18 -9 lines
Diff to previous 1.92 (colored)

Add buftarg_t structures to xfs_mount structure so that we can
pass the spec vnode or the dev_t and bdevsw around to all the
buffer cache calls.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Aug 26 18:15:09 1997 UTC (20 years, 1 month ago) by dnoveck
Branch: MAIN
Changes since 1.91: +7 -2 lines
Diff to previous 1.91 (colored)

Enterprise mount support.

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

Change m_inoalign to m_inoalign_mask.  Add m_da_magicpct.

Revision 1.90 / (download) - annotate - [select for diffs], Tue Aug 12 23:27:05 1997 UTC (20 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.89: +2 -1 lines
Diff to previous 1.89 (colored)

add XFS_CORRUPT_INCORE to flag in memory data structure corruptions that
cause a force-unmount

Revision 1.89 / (download) - annotate - [select for diffs], Fri Aug 8 23:55:33 1997 UTC (20 years, 2 months ago) by nowicki
Branch: MAIN
Changes since 1.88: +1 -2 lines
Diff to previous 1.88 (colored)

Remove mp->m_ihashmask. See delta 1.87 of xfs_iget.c

Revision 1.88 / (download) - annotate - [select for diffs], Mon Aug 4 18:18:12 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.87: +1 -2 lines
Diff to previous 1.87 (colored)

Remove m_rbmrotor field, replaced by a new mechanism.

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

492728 - remove inode pinlock.  it's a per-inode lock now.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Jul 23 21:43:30 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.85: +5 -2 lines
Diff to previous 1.85 (colored)

Add transaction log reservations for growfs rt.

Revision 1.85 / (download) - annotate - [select for diffs], Sat May 10 00:51:04 1997 UTC (20 years, 5 months ago) by rcc
Branch: MAIN
Changes since 1.84: +2 -1 lines
Diff to previous 1.84 (colored)

source cleanup

Revision 1.84 / (download) - annotate - [select for diffs], Wed Apr 30 22:28:56 1997 UTC (20 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.83: +10 -2 lines
Diff to previous 1.83 (colored)

xfs_force_shutdown takes a flag indicating the reason.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Mar 27 02:37:19 1997 UTC (20 years, 6 months ago) by kayuri
Branch: MAIN
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored)

Added new field, m_sinoalign, to xfs_mount structure (bug 397746).

Revision 1.82 / (download) - annotate - [select for diffs], Thu Mar 27 01:32:58 1997 UTC (20 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.81: +7 -0 lines
Diff to previous 1.81 (colored)

474299 - add min and max values for per-inode i/o sizes

Revision 1.81 / (download) - annotate - [select for diffs], Sat Mar 22 01:18:33 1997 UTC (20 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

bump up wsync filesystem (NFS v2) write IO size from 8K to 16K.
this seems to help laddis.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Mar 11 19:06:54 1997 UTC (20 years, 7 months ago) by kayuri
Branch: MAIN
Changes since 1.79: +5 -1 lines
Diff to previous 1.79 (colored)

Added new mount flags for to turn off stripe alignment and to return errors
occurring during mount to the user (bug 397746).

Revision 1.79 / (download) - annotate - [select for diffs], Fri Feb 7 21:49:09 1997 UTC (20 years, 8 months ago) by rcc
Branch: MAIN
Changes since 1.78: +6 -2 lines
Diff to previous 1.78 (colored)

274388 - add noatime mount constant and document wsync mount constant

Revision 1.78 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:31 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.77: +6 -2 lines
Diff to previous 1.77 (colored)

First cut of XFS I/O error handling changes.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Dec 14 01:44:45 1996 UTC (20 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.76: +2 -1 lines
Diff to previous 1.76 (colored)

446511 - choke off all disk I/O for read-only mounts of cleanly
unmounted filesystems

Revision 1.75.1.1 / (download) - annotate - [select for diffs], Sat Dec 14 01:44:44 1996 UTC (20 years, 10 months ago) by rcc
CVS Tags: DELETE-1
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

446511 - choke off all disk I/O for read-only mounts of cleanly
unmounted filesystems

Revision 1.76 / (download) - annotate - [select for diffs], Mon Sep 30 23:46:27 1996 UTC (21 years ago) by kayuri
Branch: MAIN
Changes since 1.75: +3 -1 lines
Diff to previous 1.75 (colored)

Added m_dalign and m_swidth fields to the xfs_mount structure - bug 397746.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Aug 15 17:56:55 1996 UTC (21 years, 2 months ago) by alexp
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Change AIL_LOCK from mutex back to spinlock for AIM performance regression
reasons.  Left mutex code under "ifdef INTERRUPT_LATENCY_TESTING" so we
can continue to find latency problems without hitting the AIL spinlock problem.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Aug 2 20:40:25 1996 UTC (21 years, 2 months ago) by sup
Branch: MAIN
Changes since 1.73: +4 -3 lines
Diff to previous 1.73 (colored)

New flag to tell if rootfs quotacheck is in progress.

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jul 26 21:19:58 1996 UTC (21 years, 2 months ago) by alexp
Branch: MAIN
Changes since 1.72: +18 -4 lines
Diff to previous 1.72 (colored)

Convert AIL_LOCK from mutex_spinlock to mutex under "ifdef INTR_KTHREADS"

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jun 14 08:32:55 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.71: +2 -17 lines
Diff to previous 1.71 (colored)

changed mp->m_flags to mp->m_qflags and flags XFS_MOUNT_*DQ_* renamed XFS_*QUOTA_*.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jun 4 21:33:13 1996 UTC (21 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.70: +2 -9 lines
Diff to previous 1.70 (colored)

Use new superblock version macros (bug 385316).  Deal with non-contiguous
fields in xfs_mod_sb, where the intervening fields can't be copied.
Add inode alignment support (bug 385292).

Revision 1.70 / (download) - annotate - [select for diffs], Wed May 15 22:09:26 1996 UTC (21 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.69: +20 -1 lines
Diff to previous 1.69 (colored)

m_quotainfo structure to take care of disk quotas.
Added flags to m_flags field to keep track of quota status.

Revision 1.69 / (download) - annotate - [select for diffs], Sat May 4 02:59:36 1996 UTC (21 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Fix definition of XFS_BHVTOM.  There was a typo in it
that caused it to only work sometimes.

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

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

Revision 1.67 / (download) - annotate - [select for diffs], Wed Feb 21 05:00:34 1996 UTC (21 years, 7 months ago) by ack
Branch: MAIN
Changes since 1.66: +1 -0 lines
Diff to previous 1.66 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_mount.h,v
> ----------------------------
> revision 1.67
> date: 1996/02/20 23:40:10;  author: ajs;  state: Exp;  lines: +2 -1
> 350478 Make the inode cluster size variable.
> =============================================================================

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jan 31 05:40:43 1996 UTC (21 years, 8 months ago) by ack
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_mount.h,v
> ----------------------------
> revision 1.66
> date: 1996/01/30 19:08:34;  author: doucette;  state: Exp;  lines: +3 -3
> Change xfs_mod_incore_sb and friends to use field numbers instead of
> a bitmask for the sb fields, this makes the values passed be 32 not 64 bits.
> =============================================================================

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jan 23 09:19:30 1996 UTC (21 years, 8 months ago) by ack
Branch: MAIN
Changes since 1.64: +1 -0 lines
Diff to previous 1.64 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_mount.h,v
> ----------------------------
> revision 1.65
> date: 1996/01/20 00:51:39;  author: doucette;  state: Exp;  lines: +2 -1
> Set a field m_nreadaheads in the mount structure, based on physical
> memory size for 32-bit kernels, that limits the number of readahead
> buffers that xfs_read_file will use. (bug 318607)
> =============================================================================

Revision 1.64 / (download) - annotate - [select for diffs], Tue Oct 31 06:13:29 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.63: +3 -4 lines
Diff to previous 1.63 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_mount.h,v
> ----------------------------
> revision 1.64
> date: 1995/10/28 02:12:29;  author: curtis;  state: Exp;  lines: +4 -5
> Changed attribute logging support slightly (changed the names, really).
> =============================================================================

Revision 1.63 / (download) - annotate - [select for diffs], Tue Oct 10 10:45:47 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_mount.h,v
> ----------------------------
> revision 1.63
> date: 1995/10/10 00:58:30;  author: doucette;  state: Exp;  lines: +1 -1
> Add m_maxicount field for max % inode space checking.
> =============================================================================

Revision 1.62 / (download) - annotate - [select for diffs], Fri Sep 22 09:47:47 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.61: +5 -2 lines
Diff to previous 1.61 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_mount.h,v
> ----------------------------
> revision 1.62
> date: 1995/09/22 02:24:22;  author: doucette;  state: Exp;  lines: +5 -2
> Add m_inoadd field for high-end only.
> =============================================================================

Revision 1.61 / (download) - annotate - [select for diffs], Mon Sep 4 23:49:10 1995 UTC (22 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.60: +5 -2 lines
Diff to previous 1.60 (colored)

Add ino64 mount option, for easier testing of big inode numbers.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Aug 25 21:53:11 1995 UTC (22 years, 1 month ago) by yohn
Branch: MAIN
Changes since 1.59: +5 -5 lines
Diff to previous 1.59 (colored)

converted mutex_t to lock_t

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

Add new mount structure fields m_agino_log, m_litino, m_ialloc_inos, and
m_ialloc_blks, for code size improvement.
Turn some macros into functions for 32-bit kernels, to save some memory.

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

270839 Use only the memory needed to hold the mount
path.  Also, get rid of the unneeded m_async_lock,
m_ail_wait, and m_async_trans fields in the mount structure.

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

On small memory (<=32MB) systems, set the default read/write buffer size
to 32kb instead of 64kb.  This improves the measured performance on these
systems.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jun 24 01:15:22 1995 UTC (22 years, 3 months ago) by rcc
Branch: MAIN
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored)

add a flag to the mount routine and wrappers around it so the kernel
can mount as usual but the sim code can mount filesystems w/o reading
in the root inode.  this allows the sim code to set up a mount structure
for a trashed filesystems.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jun 21 23:12:42 1995 UTC (22 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.54: +3 -2 lines
Diff to previous 1.54 (colored)

261533 Add an entry to the transaction reservation table
for the new transaction for clearing bad unlinked inode lists.

Revision 1.54 / (download) - annotate - [select for diffs], Sat May 27 03:17:11 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.53: +5 -2 lines
Diff to previous 1.53 (colored)

Add new attribute transaction log reservation fields.

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

Add another field to the transaction reservation
structure.

Revision 1.52 / (download) - annotate - [select for diffs], Thu May 18 21:27:04 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.51: +3 -1 lines
Diff to previous 1.51 (colored)

Add tr_addafork log reservation size.

Revision 1.51 / (download) - annotate - [select for diffs], Wed May 17 02:48:36 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored)

268729 - Clear the setuid and setgid
bits when a file is overwritten.

Revision 1.50 / (download) - annotate - [select for diffs], Tue May 9 21:21:50 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.49: +11 -9 lines
Diff to previous 1.49 (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.49 / (download) - annotate - [select for diffs], Tue May 2 00:34:21 1995 UTC (22 years, 5 months ago) by yohn
Branch: MAIN
Changes since 1.48: +8 -8 lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Sat Apr 1 06:04:50 1995 UTC (22 years, 6 months ago) by yohn
Branch: MAIN
Changes since 1.47: +5 -6 lines
Diff to previous 1.47 (colored)

m_ail_lock, m_ipinlock changed to a (spinning) mutex;

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

Use struct xxx * instead of xxx_t * in xfs header files to avoid
unnecessary dependencies between header files.

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

Add structure to hold precomputed transaction reservation
values in the mount structure.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Dec 23 23:43:05 1994 UTC (22 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Change the m_ihashmask to be a uint rather than a ulong.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Nov 26 23:42:57 1994 UTC (22 years, 10 months ago) by miken
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

Add fsname field to mount structure

Revision 1.43 / (download) - annotate - [select for diffs], Fri Nov 18 00:31:57 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.42: +7 -1 lines
Diff to previous 1.42 (colored)

Add a flags field to the mount structure and define the 'wsync'
flag to go in it.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 15 18:01:48 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Increase the default I/O size of xfs from 32KB to 64KB.

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

Add fsid field to mount structure for use by altgetvfs().

Revision 1.40 / (download) - annotate - [select for diffs], Sat Oct 29 02:00:32 1994 UTC (22 years, 11 months ago) by miken
Branch: MAIN
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored)

Add two log buffer fields to mount structure

Revision 1.39 / (download) - annotate - [select for diffs], Fri Sep 30 00:22:55 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.38: +1 -0 lines
Diff to previous 1.38 (colored)

Add a m_rbmrotor (realtime bitmap block rotor) field.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Sep 27 03:03:39 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.37: +1 -0 lines
Diff to previous 1.37 (colored)

Add lock for growfs synchronization.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Sep 27 02:25:22 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

Add lock for perag structure pointer, for growfs.

Revision 1.36 / (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.35: +2 -2 lines
Diff to previous 1.35 (colored)

free mount structure & its fields(locks) when errors occur

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jun 16 01:52:49 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

Add per-allocation group in-memory structure to speed up allocation
selection of a.g.'s.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jun 8 01:35:15 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Fix prototype for xfs_getsb().

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 1 23:02:04 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.32: +1 -0 lines
Diff to previous 1.32 (colored)

Add m_agno_log field for the XFS_INO_AGNO_BITS macro.

Revision 1.32 / (download) - annotate - [select for diffs], Thu May 26 23:05:17 1994 UTC (23 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.31: +1 -0 lines
Diff to previous 1.31 (colored)

Add struct cred to get rid of compiler warnings.

Revision 1.31 / (download) - annotate - [select for diffs], Fri May 13 18:56:19 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

Change m_agrotor in mount struct to m_agfrotor, and add m_agirotor.

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

Add a field for the AIL wait list.

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

Add inode btree support.

Revision 1.28 / (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.27: +2 -0 lines
Diff to previous 1.27 (colored)

Add m_logdev, m_logdevp so we can keep track of opened log device.

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

Call routines to compute max levels in the alloc and bmbt btrees, and
store the results in the mount structure from xfs_mountfs.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Apr 13 02:02:43 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.25: +5 -0 lines
Diff to previous 1.25 (colored)

Add new fields for alloc and bmap btree macros.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Apr 12 01:16:46 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.24: +8 -3 lines
Diff to previous 1.24 (colored)

Split xfs_fsblock_t into multiple types.
Use mp instead of sbp in all the address macros.

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

Change m_ilock to a semaphore.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 30 17:16:21 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

add two new fields to xfs mount structure: m_ddevp, and m_rtdevp.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Mar 25 23:46:05 1994 UTC (23 years, 6 months ago) by jleong
Branch: MAIN
Changes since 1.21: +8 -5 lines
Diff to previous 1.21 (colored)

Added xfs_unmountfs() prototype.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 23 22:09:23 1994 UTC (23 years, 6 months ago) by jleong
Branch: MAIN
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

Keep a reference to the root inode in the mount struct.

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

Added prototype for xfs_mount_init() & xfs_mountfs().
Enclosed xfs_mount() within #ifdef SIM.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Mar 10 19:07:12 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.18: +1 -3 lines
Diff to previous 1.18 (colored)

Remove some fields which turned out to be unnecessary
for AIL maintenance.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Mar 2 23:13:17 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Add getdents (readdir) support.

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

Add fields for the minimum read and write sizes in the mount structure.

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

Call xfs_log_mount from xfs_mount; pass all known devices to xfs_mount call.

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

Add realtime fields to mount structure.  Add rtdev argument to xfs_mount().

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 28 01:55:55 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.13: +7 -0 lines
Diff to previous 1.13 (colored)

Define macros for getting from a mount structure
to a vfs pointer and back.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 14 20:05:39 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Change the definition for the head of the AIL.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 31 22:47:56 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11 (colored)

New prototypes.

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

Move definitions of AIL_LOCK, AIL_TRYLOCK, and AIL_UNLOCK here from
xfs.h, which has been removed.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 10 00:22:04 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.9: +19 -3 lines
Diff to previous 1.9 (colored)

Add more prototypes.

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

Added m_ipinlock.

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

Change interface to xfs_mod_sb for struct field logging change.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 12 18:51:02 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Move sb into mount structure.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 11 19:56:58 1993 UTC (23 years, 11 months ago) by miken
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Add log specific pointer to mount structure

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 11 19:47:21 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.4: +20 -14 lines
Diff to previous 1.4 (colored)

Add fields for the vfs pointer, the inode hash table,
and the active inode list.  Add comments to each field.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 10 16:37:13 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

Added info for the per file system inode hash table.

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

Get rid of nested includes.  Fix up some fields to use typedef names.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 29 21:17:38 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.1: +18 -4 lines
Diff to previous 1.1 (colored)

Move xfs_mount_t here from xfs.h.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 29 17:22:52 1993 UTC (23 years, 11 months ago) by doucette
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>