CVS log for linux-2.4-xfs/fs/xfs/xfsidbg.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.372 / (download) - annotate - [select for diffs], Fri Oct 17 03:00:21 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.371: +5 -6 lines
Diff to previous 1.371 (colored)

AIL cleanup and bug fixes
Merge of xfs-linux-melb:xfs-kern:32355a by kenmcd.

  AIL cleanup and bug fixes

Revision 1.371 / (download) - annotate - [select for diffs], Wed Oct 15 15:38:24 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.370: +1 -2 lines
Diff to previous 1.370 (colored)

Remove use of m_ilock from mount structure as it no longer exists.
Merge of xfs-linux-melb:xfs-kern:32338a by kenmcd.

  Remove use of m_ilock from mount structure as it no longer exists.

Revision 1.370 / (download) - annotate - [select for diffs], Fri Oct 10 15:27:57 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.369: +4 -5 lines
Diff to previous 1.369 (colored)

Always use struct xfs_btree_block instead of short / longform structures.

Always use the generic xfs_btree_block type instead of the short / long
structures.  Add XFS_BTREE_SBLOCK_LEN / XFS_BTREE_LBLOCK_LEN defines for
the length of a short / long form block.  The rationale for this is that
we will grow more btree block header variants to support CRCs and other
RAS information, and always accessing them through the same datatype
with unions for the short / long form pointers makes implementing this
much easier.


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

  Always use struct xfs_btree_block instead of short / longform structures.

Revision 1.369 / (download) - annotate - [select for diffs], Fri Oct 10 15:24:20 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.368: +76 -48 lines
Diff to previous 1.368 (colored)

xfsidbg update for mount inode list

Kill the idbg users of the mount inode list. Compile tested
only.

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

  xfsidbg update for mount inode list

Revision 1.368 / (download) - annotate - [select for diffs], Fri Oct 10 05:36:59 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.367: +191 -152 lines
Diff to previous 1.367 (colored)

make xfsidbg independent of the main btree implementation.

Add a small btree framework inside xfsidbg which makes it independent
of the main btree implementation and it's soon to be changing macros.
This will also allow xfsidbg to easily select the right btree type
depending on the magic number in the header.


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

  make xfsidbg independent of the main btree implementation.

Revision 1.367 / (download) - annotate - [select for diffs], Fri Sep 26 06:12:19 2008 UTC (9 years ago) by pleckie.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.366: +2 -3 lines
Diff to previous 1.366 (colored)

Clean up dquot pincount code.

This is a code cleanup and optimization that removes a per mount point
spinlock from the quota code and cleans up the code.

The patch changes the pincount from being an int protected by a spinlock
to an atomic_t allowing the pincount to be manipulated without holding
the spinlock.

This cleanup also protects against random wakup's of both the aild and
xfssyncd by reevaluating the pincount after been woken. Two latter patches
will address the Spurious wakeups.

Signed-off-by: Peter Leckie <pleckie@sgi.com>
Merge of xfs-linux-melb:xfs-kern:32215a by kenmcd.

  Clean up dquot pincount code.

Revision 1.366 / (download) - annotate - [select for diffs], Wed Sep 24 16:17:16 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.365: +204 -56 lines
Diff to previous 1.365 (colored)

make btree tracing generic

Make the existing bmap btree tracing generic so that it applies to all
btree types.

Some fragments lifted from a patch by Dave Chinner.


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

  make btree tracing generic

Revision 1.365 / (download) - annotate - [select for diffs], Mon Sep 22 06:12:03 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.364: +1 -1 lines
Diff to previous 1.364 (colored)

xail idbg command doesn't increment count in each loop

count is never incremented on each log item because it is unreachable code.
Merge of xfs-linux-melb:xfs-kern:32157a by kenmcd.

  xail idbg command doesn't increment count in each loop

Revision 1.364 / (download) - annotate - [select for diffs], Mon Sep 22 06:11:10 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.363: +5 -5 lines
Diff to previous 1.363 (colored)

Fix buffer flag definitions for xbp idbg command

PARTIAL no longer exists
NONE is actually DONE
FS_DATAIOD no longer exists
FORCEIO no longer exists
FLUSH is actually ORDERED
DIRECTIO no longer exists
KMEM_ALLOC is actually PAGES
PRIVATE_BH no longer exists
PAGE_LOCKED is a new flag
Merge of xfs-linux-melb:xfs-kern:32156a by kenmcd.

  Fix buffer flag definitions for xbp idbg command

Revision 1.363 / (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.362: +2 -3 lines
Diff to previous 1.362 (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.362 / (download) - annotate - [select for diffs], Mon Aug 18 15:45:43 2008 UTC (9 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.361: +1 -1 lines
Diff to previous 1.361 (colored)

attr_list_context.count is a ssize_t adn thus we need to use %zd, not
%ld to print it.
Note: non mainline file - only in xfs-dev.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31917a by kenmcd.

  attr_list_context.count is a ssize_t adn thus we need to use %zd, not
  %ld to print it.

Revision 1.361 / (download) - annotate - [select for diffs], Fri Aug 15 06:21:23 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.360: +1 -1 lines
Diff to previous 1.360 (colored)

Move memory allocations for log tracing out of the critical path

Memory allocations for log->l_grant_trace and iclog->ic_trace are done
on demand when the first event is logged.  In xlog_state_get_iclog_space()
we call xlog_trace_iclog() under a spinlock and allocating memory here can
cause us to sleep with a spinlock held and deadlock the system.

For the log grant tracing we use KM_NOSLEEP but that means we can lose
trace entries.  Since there is no locking to serialize the log grant
tracing we could race and have multiple allocations and leak memory.

So move the allocations to where we initialize the log/iclog structures.
Use KM_NOFS to avoid recursing into the filesystem and drop log->l_trace
since it's not even used.
Merge of xfs-linux-melb:xfs-kern:31896a by kenmcd.

  Move memory allocations for log tracing out of the critical path

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

Fix fallout from semaphore -> completion changes.
Merge of xfs-linux-melb:xfs-kern:31839a by kenmcd.

  Fix fallout from semaphore -> completion changes.

Revision 1.359 / (download) - annotate - [select for diffs], Tue Aug 5 04:11:41 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.358: +3 -4 lines
Diff to previous 1.358 (colored)

Fix build failure due to 2.6.26 update.
Merge of xfs-linux-melb:xfs-kern:31808a by kenmcd.

  Fix build failure due to 2.6.26 update.

Revision 1.358 / (download) - annotate - [select for diffs], Tue Jul 29 15:56:36 2008 UTC (9 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.357: +0 -4 lines
Diff to previous 1.357 (colored)

Use the same btree_cur union member for alloc and inobt trees.

The alloc and inobt btree use the same agbp/agno pair in the btree_cur
union.  Make them use the same bc_private.a union member so that code
for these two short form btree implementations can be shared.

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

  use the same btree_cur union member for alloc and inobt trees

Revision 1.357 / (download) - annotate - [select for diffs], Fri Jul 25 06:13:14 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.356: +1 -1 lines
Diff to previous 1.356 (colored)

Undoes mod:     xfs-linux-melb:xfs-kern:31766a
Revert remove mounpoint UUID code

As spotted by dchinner and hch, this touches on-disk format and log format, should be more carefully reviewed.
Merge of xfs-linux-melb:xfs-kern:31773a by kenmcd.

Revision 1.356 / (download) - annotate - [select for diffs], Fri Jul 25 04:21:53 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.355: +1 -1 lines
Diff to previous 1.355 (colored)

remove mounpoint UUID code

It looks like all of the below is unused... and according
to Nathan,

"dont think it even got used/implemented anywhere, but i think it
was meant to be an auto-mount kinda thing... such that when you look
up at that point, it knows to mount the device with that uuid there,
if its not already it was never really written anywhere ... just an
idea in doug doucettes brain i think."

Think it'll ever go anywhere, or should it get pruned?

The below builds; not at all tested, until I get an idea if it's worth
doing.  Need to double check that some structures might not need padding
out to keep things compatible/consistent...
Merge of xfs-linux-melb:xfs-kern:31766a by kenmcd.

Revision 1.355 / (download) - annotate - [select for diffs], Thu Jul 24 15:42:45 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.354: +3 -3 lines
Diff to previous 1.354 (colored)

remove shouting-indirection macros  from xfs_trans.h

compile-tested, fairly easy to inspect with:

quilt diff --diff="diff -iu"

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

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

Avoid directly referencing the VFS inode V2

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

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

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

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

Revision 1.353 / (download) - annotate - [select for diffs], Wed Jun 25 16:26:57 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.352: +1 -1 lines
Diff to previous 1.352 (colored)

Fallout in changing a count field from int to ssize_t. Need to update format
field in xfsidbg to use %ld instead of %d.
Merge of xfs-linux-melb:xfs-kern:31360a by kenmcd.

  Fallout in changing a count field from int to ssize_t. Need to update format
  field in xfsidbg to use %ld instead of %d.

Revision 1.352 / (download) - annotate - [select for diffs], Thu Jun 19 06:15:05 2008 UTC (9 years, 4 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.351: +27 -28 lines
Diff to previous 1.351 (colored)

Remove infinite loop from xfsidbg_xaildump

The 'for' loop is non-terminating as 'lip' cannot become NULL.
Actually, the loop isn't even needed so remove it.
Merge of xfs-linux-melb:xfs-kern:31331a by kenmcd.

  Remove infinite loop from xfsidbg_xaildump

Revision 1.351 / (download) - annotate - [select for diffs], Mon May 26 03:58:59 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.350: +9 -9 lines
Diff to previous 1.350 (colored)

Remove build warnings with debug compile
Merge of xfs-linux-melb:xfs-kern:31211a by kenmcd.

  Remove build warnings in debug compile

Revision 1.350 / (download) - annotate - [select for diffs], Wed May 21 04:23:47 2008 UTC (9 years, 5 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.349: +4 -1 lines
Diff to previous 1.349 (colored)

Add op_flags field and helpers to xfs_da_args

The end of the xfs_da_args structure has 4 unsigned char fields for
true/false information on directory and attr operations using the
xfs_da_args structure.

The following converts these 4 into a op_flags field that uses the
first 4 bits for these fields and allows expansion for future
operation information (eg. case-insensitive lookup request).

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

  Convert discrete xfs_da_args flags into flag bits

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

Convert l_flushsema to a sv_t

The l_flushsema doesn't exactly have completion semantics, nor mutex
semantics.  It's used as a list of tasks which are waiting to be notified
that a flush has completed.  It was also being used in a way that was
potentially racy, depending on the semaphore implementation.

By using a sv_t instead of a semaphore we avoid the need for a
separate counter, since we know we just need to wake everything on the
queue.

Original waitqueue implementation from Matthew Wilcox. Cleanup and
conversion to sv_t by Christoph Hellwig.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31059a by kenmcd.

  Convert l_flushsema to a sv_t

Revision 1.348 / (download) - annotate - [select for diffs], Thu May 1 06:15:21 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.347: +6 -2 lines
Diff to previous 1.347 (colored)

Fix non-debug build breakage in xfsidbg.c
Merge of xfs-linux-melb:xfs-kern:31013a by kenmcd.

  l_iclog_bak only exists in debug kernels now.

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

Remove the xlog_ticket allocator

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

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

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

Revision 1.346 / (download) - annotate - [select for diffs], Tue Mar 11 15:03:20 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.345: +30 -36 lines
Diff to previous 1.345 (colored)

Update xfsidbg code after AIL listhead conversion.
Merge of xfs-linux-melb:xfs-kern:30641a by kenmcd.

  Convert AIL debug code to struct list_head.

Revision 1.345 / (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.344: +1 -1 lines
Diff to previous 1.344 (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.344 / (download) - annotate - [select for diffs], Fri Feb 15 15:20:47 2008 UTC (9 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.343: +1 -1 lines
Diff to previous 1.343 (colored)

Use atomics for iclog reference counting

Now that we update the log tail LSN less frequently on
transaction completion, we pass the contention straight to
the global log state lock (l_iclog_lock) during transaction
completion.

We currently have to take this lock to decrement the iclog
reference count. there is a reference count on each iclog,
so we need to take þhe global lock for all refcount changes.

When large numbers of processes are all doing small trnasctions,
the iclog reference counts will be quite high, and the state change
that absolutely requires the l_iclog_lock is the except rather than
the norm.

Change the reference counting on the iclogs to use atomic_inc/dec
so that we can use atomic_dec_and_lock during transaction completion
and avoid the need for grabbing the l_iclog_lock for every reference
count decrement except the one that matters - the last.
Merge of xfs-linux-melb:xfs-kern:30505a by kenmcd.

  use correct atomic accessor for the iclog refcount.

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

Remove the xfs_icluster structure

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

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

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

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

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

Before (ia64):

$ cat /sys/slab/xfs_inode/object_size
536

After:

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

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

Revision 1.342 / (download) - annotate - [select for diffs], Fri Jan 18 15:06:09 2008 UTC (9 years, 9 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.341: +6 -6 lines
Diff to previous 1.341 (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.

  Modify the AIL debug code to match the new structures and
  interfaces introduced by the AIL push thread.

Revision 1.341 / (download) - annotate - [select for diffs], Thu Nov 29 03:04:46 2007 UTC (9 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.340: +2 -2 lines
Diff to previous 1.340 (colored)

kill superflous buffer locking (2nd attempt)

There is no need to lock any page in xfs_buf.c because we operate
on our own address_space and all locking is covered by the buffer
semaphore.  If we ever switch back to main blockdeive address_space
as suggested e.g. for fsblock with a similar scheme the locking will
have to be totally revised anyway because the current scheme is
neither correct nor coherent with itself.


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

  kill superflous buffer locking (2nd attempt)

Revision 1.340 / (download) - annotate - [select for diffs], Thu Oct 18 06:18:38 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.339: +2 -2 lines
Diff to previous 1.339 (colored)

Undoes mod:     xfs-linux-melb:xfs-kern:29845a
Undo mod xfs-linux-melb:xfs-kern:29845a due to a regression
Merge of xfs-linux-melb:xfs-kern:29902a by kenmcd.

Revision 1.339 / (download) - annotate - [select for diffs], Mon Oct 8 15:42:24 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.338: +2 -2 lines
Diff to previous 1.338 (colored)

kill superflous buffer locking

There is no need to lock any page in xfs_buf.c because we operate
on our own address_space and all locking is covered by the buffer
semaphore.  If we ever switch back to main blockdeive address_space
as suggested e.g. for fsblock with a similar scheme the locking will
have to be totally revised anyway because the current scheme is
neither correct nor coherent with itself.


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

  kill superflous buffer locking

Revision 1.338 / (download) - annotate - [select for diffs], Tue Oct 2 06:15:48 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.337: +10 -6 lines
Diff to previous 1.337 (colored)

xlog_rec_header/xlog_rec_ext_header endianess annotations

Mostly trivial conversion with one exceptions:  h_num_logops was kept
in native endian previously and only converted to big endian in
xlog_sync, but we always keep it big endian now.  With todays cpus
fast byteswap instructions that's not an issue but the new variant
keeps the code clean and maintainable.


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

  xlog_rec_header/xlog_rec_ext_header endianess annotations

Revision 1.337 / (download) - annotate - [select for diffs], Tue Sep 25 15:57:54 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.336: +0 -135 lines
Diff to previous 1.336 (colored)

Kill the kdbm_vn, kdbm_vnode and xi2vnode xfsidbg commands.

The last one just printed a Linux inode (despite it's description)
and that is much better done by the inode command in
kdb/modules/kdbm_pg.c.  The latter two both print the vnode (nothing
left here) and the inode and again that is better done using the
inode command.  Interestingly those latter two did exactly the
same despite their quite different descriptions which weren't
correct for either command.


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

  Kill the kdbm_vn, kdbm_vnode and xi2vnode xfsidbg commands.

Revision 1.336 / (download) - annotate - [select for diffs], Tue Sep 25 15:57:07 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.335: +5 -5 lines
Diff to previous 1.335 (colored)

The xfs mount flags have recently undergone some changes.
Update the xfsidbg xmount command to print them correctly.
Merge of xfs-linux-melb:xfs-kern:29774a by kenmcd.

  Update xfsidbg mount flag processing.

Revision 1.335 / (download) - annotate - [select for diffs], Tue Sep 25 15:56:20 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.334: +6 -6 lines
Diff to previous 1.334 (colored)

Fix compile warnings for xfsidbg.c as seen on x86_64.
Merge of xfs-linux-melb:xfs-kern:29773a by kenmcd.

  Fix compile warnings for xfsidbg.c as seen on x86_64.

Revision 1.334 / (download) - annotate - [select for diffs], Fri Sep 21 16:10:12 2007 UTC (10 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.333: +1 -31 lines
Diff to previous 1.333 (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.333 / (download) - annotate - [select for diffs], Wed Sep 12 04:04:58 2007 UTC (10 years, 1 month ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.332: +0 -4 lines
Diff to previous 1.332 (colored)

Update 2.6.x-xfs to 2.6.23-rc4.

Also update fs/xfs with external mainline changes.
There were 12 such missing commits that I detected:

--------
commit ad690ef9e690f6c31f7d310b09ef1314bcec9033
Author: Al Viro <viro@ftp.linux.org.uk>
    xfs ioctl __user annotations

commit 20c2df83d25c6a95affe6157a4c9cac4cf5ffaac
Author: Paul Mundt <lethal@linux-sh.org>
    mm: Remove slab destructors from kmem_cache_create().

commit d0217ac04ca6591841e5665f518e38064f4e65bd
Author: Nick Piggin <npiggin@suse.de>
    mm: fault feedback #1

commit 54cb8821de07f2ffcd28c380ce9b93d5784b40d7
Author: Nick Piggin <npiggin@suse.de>
    mm: merge populate and nopage into fault (fixes nonlinear)

commit d00806b183152af6d24f46f0c33f14162ca1262a
Author: Nick Piggin <npiggin@suse.de>
    mm: fix fault vs invalidate race for linear mappings

commit a569425512253992cc64ebf8b6d00a62f986db3e
Author: Christoph Hellwig <hch@infradead.org>
    knfsd: exportfs: add exportfs.h header

commit 831441862956fffa17b9801db37e6ea1650b0f69
Author: Rafael J. Wysocki <rjw@sisk.pl>
    Freezer: make kernel threads nonfreezable by default

commit 8e1f936b73150f5095448a0fee6d4f30a1f9001d
Author: Rusty Russell <rusty@rustcorp.com.au>
    mm: clean up and kernelify shrinker registration

commit 5ffc4ef45b3b0a57872f631b4e4ceb8ace0d7496
Author: Jens Axboe <jens.axboe@oracle.com>
    sendfile: remove .sendfile from filesystems that use generic_file_sendfile()

commit 8bb7844286fb8c9fce6f65d8288aeb09d03a5e0d
Author: Rafael J. Wysocki <rjw@sisk.pl>
    Add suspend-related notifications for CPU hotplug

commit 59c51591a0ac7568824f541f57de967e88adaa07
Author: Michael Opdenacker <michael@free-electrons.com>
    Fix occurrences of "the the "

commit 0ceb331433e8aad9c5f441a965d7c681f8b9046f
Author: Dmitriy Monakhov <dmonakhov@openvz.org>
    mm: move common segment checks to separate helper function
--------
Merge of xfs-linux-melb:xfs-kern:29656a by kenmcd.

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

clean up vnode/inode tracing

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

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

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

  clean up vnode/inode tracing

Revision 1.331 / (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.330: +2 -37 lines
Diff to previous 1.330 (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.330 / (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.329: +0 -1 lines
Diff to previous 1.329 (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.329 / (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.328: +0 -54 lines
Diff to previous 1.328 (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.328 / (download) - annotate - [select for diffs], Fri Aug 24 16:09:31 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.327: +0 -3 lines
Diff to previous 1.327 (colored)

kill the v_number member in struct bhv_vnode

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

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

  kill the v_number member in struct bhv_vnode

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

move v_trace from bhv_vnode to xfs_inode

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


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

  move v_trace from bhv_vnode to xfs_inode

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

kill the v_flag member in struct bhv_vnode

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


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

  move vnode flags to xfs inode.

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

kill v_vfsp member from struct bhv_vnode

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


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

  remove v_vfsp from bhv_vnode.

Revision 1.324 / (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.323: +0 -3 lines
Diff to previous 1.323 (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.323 / (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.322: +7 -196 lines
Diff to previous 1.322 (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.322 / (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.321: +6 -6 lines
Diff to previous 1.321 (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.321 / (download) - annotate - [select for diffs], Thu Aug 23 15:56:14 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.320: +8 -9 lines
Diff to previous 1.320 (colored)

dinode endianess annotations

Biggest bit is duplicating the dinode structure so we have one annoted
for native endianess and one for disk endianess.  The other significant
change is that xfs_xlate_dinode_core is split into one helper per
direction to allow for proper annotations, everything else is trivial.

As a sidenode splitting out the incore dinode means we can move it into
xfs_inode.h in a later patch and severly improving on the include hell
in xfs.

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

  add endian notations for the dinode.

Revision 1.320 / (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.319: +2 -3 lines
Diff to previous 1.319 (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.319 / (download) - annotate - [select for diffs], Thu Aug 2 16:04:40 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.318: +11 -10 lines
Diff to previous 1.318 (colored)

split ondisk vs incore versions of xfs_bmbt_rec_t

currently xfs_bmbt_rec_t is used both for ondisk extents as well as
host-endian ones.  This patch adds a new xfs_bmbt_rec_host_t for the
native endian ones and cleans up the fallout. There have been various
endianess issues in the tracing / debug printf code that are fixed
by this patch.

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

  split ondisk vs incore versions of xfs_bmbt_rec_t

Revision 1.318 / (download) - annotate - [select for diffs], Thu Aug 2 16:03:01 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.317: +72 -70 lines
Diff to previous 1.317 (colored)

fix sparse endianess warnings in xfsidbg

xfsidbg was missed in a a few of the previous endianess conversions, and
this patch brings it up to the proper state.


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

  fix sparse endianess warnings.

Revision 1.317 / (download) - annotate - [select for diffs], Thu Aug 2 16:02:14 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.316: +28 -20 lines
Diff to previous 1.316 (colored)

fix format string warnings in xfsidbg

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

  fix format string warnings.

Revision 1.316 / (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.315: +188 -0 lines
Diff to previous 1.315 (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.315 / (download) - annotate - [select for diffs], Wed Jun 20 06:10:05 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.314: +10 -10 lines
Diff to previous 1.314 (colored)

Fixup kdb module code after removing dir2 shouting.
Merge of xfs-linux-melb:xfs-kern:28948a by kenmcd.

  Fixup kdb module code after removing dir2 shouting.

Revision 1.314 / (download) - annotate - [select for diffs], Tue May 22 15:50:48 2007 UTC (10 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.313: +1 -0 lines
Diff to previous 1.313 (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.313 / (download) - annotate - [select for diffs], Mon Apr 16 06:06:47 2007 UTC (10 years, 6 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.312: +3 -6 lines
Diff to previous 1.312 (colored)

Export via a function xfs_buftarg_list for use by kdb/xfsidbg.
Merge of xfs-linux-melb:xfs-kern:28414a by kenmcd.

  Export via a function xfs_buftarg_list for use by kdb/xfsidbg.

Revision 1.312 / (download) - annotate - [select for diffs], Fri Mar 30 04:04:14 2007 UTC (10 years, 6 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.311: +2 -0 lines
Diff to previous 1.311 (colored)

Fix to prevent the notorious 'NULL files' problem after a crash.

The problem that has been addressed is that of synchronising updates of
the file size with writes that extend a file.  Without the fix the update
of a file's size, as a result of a write beyond eof, is independent of
when the cached data is flushed to disk.  Often the file size update would
be written to the filesystem log before the data is flushed to disk.  When
a system crashes between these two events and the filesystem log is
replayed on mount the file's size will be set but since the contents never
made it to disk the file is full of holes.  If some of the cached data was
flushed to disk then it may just be a section of the file at the end that
has holes.

There are existing fixes to help alleviate this problem, particularly in
the case where a file has been truncated, that force cached data to be
flushed to disk when the file is closed.  If the system crashes while the
file(s) are still open then this flushing will never occur.

The fix that we have implemented is to introduce a second file size, called
the in-memory file size, that represents the current file size as viewed by
the user.  The existing file size, called the on-disk file size, is the one
that get's written to the filesystem log and we only update it when it is
safe to do so.  When we write to a file beyond eof we only update the in-
memory file size in the write operation.  Later when the I/O operation, that
flushes the cached data to disk completes, an I/O completion routine will
update the on-disk file size.  The on-disk file size will be updated to the
maximum offset of the I/O or to the value of the in-memory file size if the
I/O includes eof.
Merge of xfs-linux-melb:xfs-kern:28322a by kenmcd.

  Fix to prevent the notorious 'NULL files' problem after a crash.

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

Remove unused arguments from the XFS_BTREE_*_ADDR macros.

It makes it incrementally clearer to read the code when the top of a macro
spaghetti-pile only receives the 3 arguments it uses, rather than 2 extra
ones which are not used.  Also when you start pulling this thread out of the
sweater (i.e. remove unused args from XFS_BTREE_*_ADDR), a couple other
third arms etc fall off too.  If they're not used in the macro, then they
sometimes don't need to be passed to the function calling the macro either,
etc....

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

  Remove unused arguments from XFS_BTREE_*_ADDR macros.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

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

Fix xfsidbg.c compiler warnings on ia64
Merge of xfs-linux-melb:xfs-kern:27611a by kenmcd.

  Cast variables with different definitions on 32/64 bit
  platforms to remove compiler warnings on 64 bit platforms.

Revision 1.309 / (download) - annotate - [select for diffs], Fri Dec 1 14:40:07 2006 UTC (10 years, 10 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.308: +23 -38 lines
Diff to previous 1.308 (colored)

Oops, I lost my kdb in my .config and so didn't build xfsidbg.c
So now need to fix up the corresponding log item changes for xfsidbg.c.
Merge of xfs-linux-melb:xfs-kern:27602a by kenmcd.

  Fix up old uses of log items for pv#958736.
  Also abstract out the item string lookup table.
  And add in a missing item string (quotaoff) while we are there.

Revision 1.308 / (download) - annotate - [select for diffs], Tue Oct 31 15:08:00 2006 UTC (10 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.307: +175 -346 lines
Diff to previous 1.307 (colored)

Merge up to 2.6.19-rc3
Merge of xfs-linux-melb:xfs-kern:27325a by kenmcd.

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

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

Revision 1.306 / (download) - annotate - [select for diffs], Fri Aug 18 15:34:19 2006 UTC (11 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.305: +4 -0 lines
Diff to previous 1.305 (colored)

Fixes the leak in reservation space because we weren't ungranting space
for the unmount record - which becomes a problem in the freeze/thaw
scenario.
Merge of xfs-linux-melb:xfs-kern:26815a by kenmcd.

  Add some missing transaction types to be printed.

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

Fix sparse warning found when page tracing enabled, due to overloaded gfp_t param.
Merge of xfs-linux-melb:xfs-kern:26552a by kenmcd.

Revision 1.304 / (download) - annotate - [select for diffs], Fri Jun 23 02:51:31 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.303: +2 -0 lines
Diff to previous 1.303 (colored)

Build fix for non-debug builds with KDB enabled.
Merge of xfs-linux-melb:xfs-kern:26321a by kenmcd.

Revision 1.303 / (download) - annotate - [select for diffs], Fri Jun 23 02:50:45 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.302: +2 -4 lines
Diff to previous 1.302 (colored)

Fix xfsidbg build after removal of unused xfs_trans fields.
Merge of xfs-linux-melb:xfs-kern:26320a by kenmcd.

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

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

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

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

Revision 1.301 / (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.300: +1 -274 lines
Diff to previous 1.300 (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.300 / (download) - annotate - [select for diffs], Tue May 30 16:00:56 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.299: +6 -6 lines
Diff to previous 1.299 (colored)

Fix a kdb command name conflict - bp vs bp.
Merge of xfs-linux-melb:xfs-kern:26112a by kenmcd.

Revision 1.299 / (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.298: +9 -9 lines
Diff to previous 1.298 (colored)

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

Revision 1.298 / (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.297: +2 -2 lines
Diff to previous 1.297 (colored)

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

Revision 1.297 / (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.296: +2 -2 lines
Diff to previous 1.296 (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.
Replace use of old XFS_BUNMAPI macro (integral constant) with XFS_BUNMAP.

Revision 1.296 / (download) - annotate - [select for diffs], Tue Mar 21 14:22:39 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.295: +57 -56 lines
Diff to previous 1.295 (colored)

Fix xfsidbg.c build issues with various tracing flavours enabled.
Merge of xfs-linux-melb:xfs-kern:25528a by kenmcd.

Revision 1.295 / (download) - annotate - [select for diffs], Mon Mar 20 17:11:22 2006 UTC (11 years, 7 months ago) by yingping
Branch: MAIN
Changes since 1.294: +35 -68 lines
Diff to previous 1.294 (colored)

Fixing KDB's xrwtrc command, also added the current process id into the trace.
Fixing the display of rw trace and added the display of the process id associated with each rw.

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

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

Revision 1.293 / (download) - annotate - [select for diffs], Thu Mar 2 23:08:14 2006 UTC (11 years, 7 months ago) by alkirkco
Branch: MAIN
Changes since 1.292: +8 -7 lines
Diff to previous 1.292 (colored)

This mod re-organizes some of the in-core file extent code to prepare
for an upcoming mod which will introduce multi-level in-core extent
allocations. Although the in-core extent management is using a new
code path in this mod, the functionality remains the same.

Major changes include:

- Introduce 10 new subroutines which re-orgainze the existing code but
  do NOT change functionality:
        xfs_iext_get_ext()
        xfs_iext_insert()
        xfs_iext_add()
        xfs_iext_remove()
        xfs_iext_remove_inline()
        xfs_iext_remove_direct()
        xfs_iext_realloc_direct()
        xfs_iext_direct_to_inline()
        xfs_iext_inline_to_direct()
        xfs_iext_destroy()
- Remove 2 subroutines (functionality moved to new subroutines above):
        xfs_iext_realloc() -replaced by xfs_iext_add() and xfs_iext_remove()
        xfs_bmap_insert_exlist() - replaced by xfs_iext_insert()
        xfs_bmap_delete_exlist() - replaced by xfs_iext_remove()
- Replace all hard-coded (indexed) extent assignments with a call to
  xfs_iext_get_ext()
- Replace all extent record pointer arithmetic (ep++, ep--, base + lastx,..)
  with calls to xfs_iext_get_ext()
- Update comments to remove the idea of a single "extent list" and
  introduce "extent record" terminology instead
- Replace indexed extent assignment with a call to xfs_iext_get_ext()

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

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

Revision 1.291 / (download) - annotate - [select for diffs], Fri Dec 16 02:48:24 2005 UTC (11 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.290: +20 -18 lines
Diff to previous 1.290 (colored)

Introduce per-filesystem delwri pagebuf flushing to reduce contention
between filesystems and prevent deadlocks between filesystems when a
flush dependency exists between them.
Merge of xfs-linux-melb:xfs-kern:24844a by kenmcd.

  Change delay write buffer debug operations to walk the list of
  registered buftargs.

Revision 1.290 / (download) - annotate - [select for diffs], Mon Dec 5 03:12:47 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.289: +6 -4 lines
Diff to previous 1.289 (colored)

Fix an intermittent pquota panic caused by dodgey quota flags to an umount dquot flush call.
Merge of xfs-linux-melb:xfs-kern:24680a by kenmcd.

Revision 1.289 / (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.288: +1 -1 lines
Diff to previous 1.288 (colored)

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

Revision 1.288 / (download) - annotate - [select for diffs], Fri Nov 11 14:16:20 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.287: +6 -4 lines
Diff to previous 1.287 (colored)

Implement the di_extsize allocator hint for non-realtime files as well.  Also provides a mechanism for inheriting this property from the parent directory for new files.
Merge of xfs-linux-melb:xfs-kern:24367a by kenmcd.

Revision 1.287 / (download) - annotate - [select for diffs], Fri Oct 21 18:08:47 2005 UTC (12 years ago) by hch
Branch: MAIN
Changes since 1.286: +71 -60 lines
Diff to previous 1.286 (colored)

Endianess annotations for various allocator data structures

Revision 1.286 / (download) - annotate - [select for diffs], Mon Sep 26 16:35:34 2005 UTC (12 years ago) by hch
Branch: MAIN
Changes since 1.285: +22 -24 lines
Diff to previous 1.285 (colored)

endianess annotations and cleanup for the quota code


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

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

Revision 1.284 / (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.283: +12 -27 lines
Diff to previous 1.283 (colored)

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

Revision 1.283 / (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.282: +12 -12 lines
Diff to previous 1.282 (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.282 / (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.281: +1 -1 lines
Diff to previous 1.281 (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.281 / (download) - annotate - [select for diffs], Wed Aug 24 15:13:15 2005 UTC (12 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.280: +12 -8 lines
Diff to previous 1.280 (colored)

Fix various kdb pagebuf tracing options that are currently
broken.
Merge of xfs-linux-melb:xfs-kern:23617a by kenmcd.

  prevent infinite loops when tracing specific pagebufs
  or offsets and allow pagebuf tracing at offset zero.

Revision 1.280 / (download) - annotate - [select for diffs], Wed Aug 24 15:12:31 2005 UTC (12 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.279: +1 -1 lines
Diff to previous 1.279 (colored)

Fix racy access to pb_flags.

pagebuf_rele() modified pb_flags after the pagebuf had been unlocked
if the buffer was delwri. At high load, this could result in a race
when the superblock was being synced that would result the flags
being incorrect and the iodone functions being executed incorrectly.
This then leads to iclog callback failures or AIL list corruptions
resulting in filesystem shutdowns.
Merge of xfs-linux-melb:xfs-kern:23616a by kenmcd.

  Add _PBF_DELWRI_Q flag to kdb pagebuf output.

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

remove struct vnode::v_type

Revision 1.278 / (download) - annotate - [select for diffs], Wed Jul 13 05:58:46 2005 UTC (12 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.277: +40 -7 lines
Diff to previous 1.277 (colored)

Fix iomap kdb command.
Merge of xfs-linux-melb:xfs-kern:23161a by kenmcd.

Revision 1.277 / (download) - annotate - [select for diffs], Wed Jul 13 03:43:58 2005 UTC (12 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.276: +64 -42 lines
Diff to previous 1.276 (colored)

add log debugging and tracing info
Merge of xfs-linux-melb:xfs-kern:23155a by kenmcd.

Revision 1.276 / (download) - annotate - [select for diffs], Thu Jun 23 14:59:12 2005 UTC (12 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.275: +4 -0 lines
Diff to previous 1.275 (colored)

Add a chunk of tracing code to diagnose truncate related issues.
Merge of xfs-linux-melb:xfs-kern:22966a by kenmcd.

Revision 1.275 / (download) - annotate - [select for diffs], Mon Jun 20 03:44:04 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.274: +6 -4 lines
Diff to previous 1.274 (colored)

Merge fixes into realtime quota code, since one/two reported, still not enabled though.
Merge of xfs-linux-melb:xfs-kern:22900a by kenmcd.

Revision 1.274 / (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.273: +20 -31 lines
Diff to previous 1.273 (colored)

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

Revision 1.273 / (download) - annotate - [select for diffs], Wed Apr 20 20:22:02 2005 UTC (12 years, 6 months ago) by roehrich
Branch: MAIN
Changes since 1.272: +2 -1 lines
Diff to previous 1.272 (colored)

harden printbhv() in xfsidbg.c
Stop the printbhv loop after some reasonable number of bhvs.


Revision 1.272 / (download) - annotate - [select for diffs], Fri Feb 18 17:18:14 2005 UTC (12 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.271: +28 -28 lines
Diff to previous 1.271 (colored)

0 vs NULL noise removal in xfsidb
Use NULL not 0 for null pointers.

Revision 1.271 / (download) - annotate - [select for diffs], Thu Jan 20 11:29:00 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.270: +71 -95 lines
Diff to previous 1.270 (colored)

cleanup byteswap in xfsidbg
Always swap inodes/superblocks before calling the display routines.
This way we can avoid conditional endian swaps

Revision 1.270 / (download) - annotate - [select for diffs], Fri Jan 14 11:57:33 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.269: +3 -5 lines
Diff to previous 1.269 (colored)

Remove INT_ZERO and INT_ISZERO
0 is 0 in all endianess variant.  No need for INT_ZERO and INT_ISZERO

Revision 1.269 / (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.268: +9 -9 lines
Diff to previous 1.268 (colored)

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

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

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

Revision 1.267 / (download) - annotate - [select for diffs], Fri Nov 19 04:52:49 2004 UTC (12 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.266: +8 -11 lines
Diff to previous 1.266 (colored)

xfs reservation issues with xlog_sync roundoff
Merge of xfs-linux-melb:xfs-kern:20222a by kenmcd.

  Get rid of l_roundoff and ic_roundoff references.

Revision 1.266 / (download) - annotate - [select for diffs], Fri Oct 15 19:15:18 2004 UTC (13 years ago) by gwehrman
Branch: MAIN
Changes since 1.265: +3 -2 lines
Diff to previous 1.265 (colored)

Add xfs_rotorstep sysctl for controlling placement of extents for new
files by the inode32 allocator.

Revision 1.265 / (download) - annotate - [select for diffs], Wed Sep 22 07:13:53 2004 UTC (13 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.264: +2 -0 lines
Diff to previous 1.264 (colored)

Add nosymlinks inode flag for the security folks, reserve projinherit flag.

Revision 1.264 / (download) - annotate - [select for diffs], Mon Aug 16 06:43:29 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.263: +1 -0 lines
Diff to previous 1.263 (colored)

Add a realtime inheritance bit for directory inodes so new files can be automatically created as realtime files.

Revision 1.263 / (download) - annotate - [select for diffs], Thu Jun 17 05:22:30 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.262: +6 -6 lines
Diff to previous 1.262 (colored)

Fix page trace dumper in xfsidbg code.

Revision 1.262 / (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.261: +0 -2 lines
Diff to previous 1.261 (colored)

Integrate freeze/unfrezze with Linux 2.6 VFS infrastructure
remove dead struct xfs_mount members

Revision 1.261 / (download) - annotate - [select for diffs], Tue Jun 8 07:09:06 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.260: +1 -1 lines
Diff to previous 1.260 (colored)

sparse: fix uses of macros before their definitions, etc.

Revision 1.260 / (download) - annotate - [select for diffs], Fri May 14 03:13:52 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.259: +10 -8 lines
Diff to previous 1.259 (colored)

Export/import tunable time intervals as centisecs not jiffies.

Revision 1.259 / (download) - annotate - [select for diffs], Wed Apr 14 06:39:17 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.258: +6 -6 lines
Diff to previous 1.258 (colored)

Allow xfsbufd flush intervals to take immediate effect after changing the flush sysctl value.  Fix from Bart Samwel.

Revision 1.258 / (download) - annotate - [select for diffs], Mon Mar 29 19:55:10 2004 UTC (13 years, 6 months ago) by hch
Branch: MAIN
Changes since 1.257: +4 -6 lines
Diff to previous 1.257 (colored)

cleanup pagebuf flag usage and simplify pagebuf_free

Revision 1.257 / (download) - annotate - [select for diffs], Sat Feb 28 12:07:56 2004 UTC (13 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.256: +12 -12 lines
Diff to previous 1.256 (colored)

replace page_buf_t, pb_target_t and page_buf_daddr_t with their xfs_ variants

Revision 1.256 / (download) - annotate - [select for diffs], Fri Feb 27 04:57:03 2004 UTC (13 years, 7 months ago) by tes
Branch: MAIN
Changes since 1.255: +2 -2 lines
Diff to previous 1.255 (colored)

Remove l_stripemask as it implicitly forces stripe size
to power of 2 BBs which it shouldn't.

Revision 1.255 / (download) - annotate - [select for diffs], Wed Feb 25 05:53:35 2004 UTC (13 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.254: +5 -4 lines
Diff to previous 1.254 (colored)

Remove PBF_SYNC buffer flag, unused for some time now.

Revision 1.254 / (download) - annotate - [select for diffs], Tue Feb 10 06:20:23 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.253: +1 -1 lines
Diff to previous 1.253 (colored)

Fix compiler warning in debug code.

Revision 1.253 / (download) - annotate - [select for diffs], Tue Feb 10 05:51:00 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.252: +66 -17 lines
Diff to previous 1.252 (colored)

Add I/O path tracing code, twas useful in diagnosing that last unwritten extent problem.

Revision 1.252 / (download) - annotate - [select for diffs], Thu Jan 29 03:56:41 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.251: +9 -3 lines
Diff to previous 1.251 (colored)

Add the security extended attributes namespace.

Revision 1.251 / (download) - annotate - [select for diffs], Wed Jan 14 06:14:39 2004 UTC (13 years, 9 months ago) by sandeen
Branch: MAIN
Changes since 1.250: +2 -2 lines
Diff to previous 1.250 (colored)

Fix for large allocation groups, so that extent
sizes will not overflow pagebuf lengths.
Fix up some printk format strings for the larger
iomap size.

Revision 1.250 / (download) - annotate - [select for diffs], Fri Dec 12 04:08:29 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.249: +4 -4 lines
Diff to previous 1.249 (colored)

Rework some extended attributes code to make it more easily extended.

Revision 1.249 / (download) - annotate - [select for diffs], Thu Nov 20 03:58:20 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.248: +56 -99 lines
Diff to previous 1.248 (colored)

Change pagebuf to use the same ktrace implementation as XFS, instead of reinventing that wheel.

Revision 1.248 / (download) - annotate - [select for diffs], Thu Nov 20 00:19:03 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.247: +1 -0 lines
Diff to previous 1.247 (colored)

Fix a build error in some debug code.
Merge of 2.5.x-xfs:slinx:162147a by nathans.

Revision 1.247 / (download) - annotate - [select for diffs], Tue Nov 18 22:04:32 2003 UTC (13 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.246: +13 -12 lines
Diff to previous 1.246 (colored)

move the iomap data structures out of pagebuf
Use the new iomap flags and data structures

Revision 1.246 / (download) - annotate - [select for diffs], Tue Nov 18 00:54:21 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.245: +17 -11 lines
Diff to previous 1.245 (colored)

Backport a couple of debugging changes from the 2.6 code base

Revision 1.245 / (download) - annotate - [select for diffs], Tue Nov 18 00:28:45 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.244: +3 -8 lines
Diff to previous 1.244 (colored)

Enable pagebuf lock tracking via debug.
Simplify pagebuf lock tracking diagnostics.

Revision 1.244 / (download) - annotate - [select for diffs], Mon Oct 27 06:14:00 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.243: +279 -242 lines
Diff to previous 1.243 (colored)

Fix warnings when tracing enabled on 64 bit platforms
Merge of 2.4.x-xfs-kern:slinx:160622a by nathans.

Revision 1.243 / (download) - annotate - [select for diffs], Mon Oct 27 00:31:54 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.242: +2 -2 lines
Diff to previous 1.242 (colored)

Dump the pagebuf locked field for debugging purposes

Revision 1.242 / (download) - annotate - [select for diffs], Tue Oct 21 01:33:22 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.241: +2 -2 lines
Diff to previous 1.241 (colored)

Fix compile warning on 64 bit platforms.
Merge of 2.4.x-xfs-kern:slinx:160312a by nathans.

Revision 1.241 / (download) - annotate - [select for diffs], Fri Oct 17 20:34:24 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.240: +2320 -108 lines
Diff to previous 1.240 (colored)

Add back xfsidbg tracing code, remove ktrace<->debug dependency.

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

switch xfs to use linux imode flags internally

Revision 1.239 / (download) - annotate - [select for diffs], Mon Oct 6 18:11:55 2003 UTC (14 years ago) by lord
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.238: +2 -0 lines
Diff to previous 1.238 (colored)

Implement deletion of inode clusters in XFS.
add tracing flags for stale inode clusters.

Revision 1.238 / (download) - annotate - [select for diffs], Mon Sep 15 05:03:19 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.237: +6 -0 lines
Diff to previous 1.237 (colored)

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

Revision 1.237 / (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.236: +1 -1 lines
Diff to previous 1.236 (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.236 / (download) - annotate - [select for diffs], Mon Sep 15 03:40:38 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.235: +0 -6 lines
Diff to previous 1.235 (colored)

Undoes mod:     xfs-linux:slinx:158357a
Undo last mod, checked in against wrong bug number with wrong change message.

Revision 1.235 / (download) - annotate - [select for diffs], Mon Sep 15 03:13:46 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.234: +6 -0 lines
Diff to previous 1.234 (colored)

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

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

remove doubly-included header files

Revision 1.233 / (download) - annotate - [select for diffs], Fri Aug 15 15:53:32 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.232: +1 -1 lines
Diff to previous 1.232 (colored)

do not put 0x in front of a decimal number, its confusing
Merge of 2.4.x-xfs-kern:slinx:155961a by lord.

  remove 0x from decimal print of file size

Revision 1.232 / (download) - annotate - [select for diffs], Wed Aug 6 21:17:05 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.231: +3 -2 lines
Diff to previous 1.231 (colored)

Add versioning to the on disk inode which we increment on each
flush call. This is used during recovery to avoid replaying an
older copy of the inode from the log. We can do this without
versioning the filesystem as the pad space we borrowed was
always zero and will be ignored by old kernels.
print di_flushiter

Revision 1.231 / (download) - annotate - [select for diffs], Tue Jul 29 00:04:41 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.230: +2 -2 lines
Diff to previous 1.230 (colored)

Change any references to legal/illegal into valid/invalid - apparently this was bad, mkaay?

Revision 1.230 / (download) - annotate - [select for diffs], Wed Jul 16 16:04:03 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.229: +4 -4 lines
Diff to previous 1.229 (colored)

fix vnode tracing code
Merge of 2.4.x-xfs-kern:slinx:153425a by lord.

Revision 1.229 / (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.228: +5503 -0 lines
Diff to previous 1.228 (colored)

The Big Move
linux/fs/xfs/xfsidbg.c 1.227 Renamed to xfsidbg.c

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

Nuke

Revision 1.227 / (download) - annotate - [select for diffs], Wed Jun 18 13:56:28 2003 UTC (14 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.226: +1 -1 lines
Diff to previous 1.226 (colored)

When dumping vfs info, print vfs_flag in hex
Merge of 2.4.x-xfs-kern:slinx:148371a by roehrich.

  In print_vfs(), print vfs_flag in hex

Revision 1.226 / (download) - annotate - [select for diffs], Mon May 19 14:16:45 2003 UTC (14 years, 5 months ago) by overby
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.225: +2 -7 lines
Diff to previous 1.225 (colored)

Ensure that when we unlock a log item when there is someone waiting
for log space, we give at least one thread a chance to flush
metadata and free more log space.
Merge of irix6.5f:irix:149321a by lord.

  Remove ifdef DEBUG around printing chl_buf.

Revision 1.225 / (download) - annotate - [select for diffs], Sun May 18 23:48:15 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.224: +4 -3 lines
Diff to previous 1.224 (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.224 / (download) - annotate - [select for diffs], Tue May 6 15:42:55 2003 UTC (14 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.223: +57 -18 lines
Diff to previous 1.223 (colored)

Dump bhv chains for vnode and vfs
Merge of 2.4.x-xfs-kern:slinx:147997a by lord.

  Add 'bhv' command.
  Dump bhv chains with 'vn', 'vnode', and 'vfs' commands.

Revision 1.223 / (download) - annotate - [select for diffs], Thu May 1 19:23:01 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.222: +13 -14 lines
Diff to previous 1.222 (colored)

clean up some debug output.
cleanup xnode kdb command

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

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

Revision 1.221 / (download) - annotate - [select for diffs], Wed Apr 30 17:33:27 2003 UTC (14 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.220: +1 -1 lines
Diff to previous 1.220 (colored)

Make MODULE_AUTHOR consistent with other SGI modules

Revision 1.220 / (download) - annotate - [select for diffs], Fri Apr 25 10:58:04 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.219: +131 -95 lines
Diff to previous 1.219 (colored)

Add some new debugging commands to XFS. Allow us to list the
delayed write metadata buffers, and vfs and super block basics.
Also update the printing of some list pointers so we print the
address of the data structure rather than the address of the
list entry within it.
ad pbdelay, rework pb command to dump pagebuf pointers rather than
the list pointers within them when showing list information.

Revision 1.219 / (download) - annotate - [select for diffs], Fri Apr 18 14:10:22 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.218: +3 -5 lines
Diff to previous 1.218 (colored)

A number of unwritten extent fixes, fix some reference count
and locking issues, also make allocation interface always
go into core xfs via the same route rather than having a
distinct interface for unwritten extents.
fix up printing of pagebuf flags

Revision 1.218 / (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.217: +69 -69 lines
Diff to previous 1.217 (colored)

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

Revision 1.217 / (download) - annotate - [select for diffs], Wed Mar 26 17:34:45 2003 UTC (14 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.216: +1 -1 lines
Diff to previous 1.216 (colored)

teach kdb about the FS_DATAIOD pagebuf flag

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

Cleanup/remove a bunch of macros, comments and code.
Cleanup some of the vnode flags, remove use of bogus macros, extend
the vnode command with a couple more fields.

Revision 1.215 / (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.214: +1 -1 lines
Diff to previous 1.214 (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.214 / (download) - annotate - [select for diffs], Tue Mar 11 04:37:23 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.213: +0 -2 lines
Diff to previous 1.213 (colored)

First stage of behavior code cleanup - removes a bunch of unused macros
related to read/write locking the behavior change.

Revision 1.213 / (download) - annotate - [select for diffs], Fri Jan 24 20:11:43 2003 UTC (14 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.212: +1 -0 lines
Diff to previous 1.212 (colored)

Transaction A is in callback processing unpinning a buffer,
Transaction B is in the process of marking the buffer stale.
Between transaction A dropping its reference and checking
the stale state, transaction B gets a reference and stales
the buffer. A ends up freeing the log item and releasing
the buffer. End result is we have a reference to free memory
and an unlocked buffer.
decode XFS_LID_BUF_STALE.

Revision 1.212 / (download) - annotate - [select for diffs], Wed Dec 11 17:18:29 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.211: +22 -22 lines
Diff to previous 1.211 (colored)

merge page_buf_private_t into page_buf_t
use page_buf_t instead of page_buf_private_t

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

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

Revision 1.210 / (download) - annotate - [select for diffs], Fri Nov 15 22:59:22 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.209: +2 -1 lines
Diff to previous 1.209 (colored)

clean up use of run_task_queue in xfs
fix up pagebuf debug function

Revision 1.209 / (download) - annotate - [select for diffs], Wed Nov 13 00:01:55 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.208: +3 -2 lines
Diff to previous 1.208 (colored)

add a field to the iclog output

Revision 1.208 / (download) - annotate - [select for diffs], Mon Oct 21 05:23:40 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.207: +6 -5 lines
Diff to previous 1.207 (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.207 / (download) - annotate - [select for diffs], Fri Oct 11 20:39:00 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.206: +4 -2 lines
Diff to previous 1.206 (colored)

fix a couple of nasty log problems. When a transaction crosses
multiple iclogs, the async transaction code needs to force the
log up until the last iclog. We need to record this lsn in the
transaction so we can do a log flush on it.
Secondly, there was a sleep/wakeup pair between flushing the
log and log write completions which was a) incorrect, and b)
no longer needed. This could result in early wakeups of
threads waiting for log flushes.
dump t_commit_lsn when dumping a transaction.

Revision 1.206 / (download) - annotate - [select for diffs], Fri Oct 11 19:55:34 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.205: +203 -9 lines
Diff to previous 1.205 (colored)

More XFS debug-related fixes
add xalmtrc kdb command to dump XFS alloc mount-point trace
fix pagebuf tracing for "external" traces from xfs_buftrace
fix perag command:
    - don't try to print uninitialized perag lists
    - don't print busy entries with length 0

Revision 1.205 / (download) - annotate - [select for diffs], Thu Oct 10 20:26:04 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.204: +4 -4 lines
Diff to previous 1.204 (colored)

Re-sync pagebuf flags in xfsidbg (missed last time...)
Re-sync pagebuf flags in xfsidbg (missed last time...)

Revision 1.204 / (download) - annotate - [select for diffs], Thu Oct 10 19:09:44 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.203: +1 -1 lines
Diff to previous 1.203 (colored)

Switch xfs from using a big endian internal representation for
the in memory copy of extents to a host byte order representation.
The internal extents are read in once, then modified seperately
from the on disk ones. Since we search and manipulate the extents
multiple times, it is cheaper to convert them to host byte order
once and then keep them in that format. Worth about 5 to 10%
reduction in cpu time for some loads. Complicated by the fact
that the in memory extents are written out to the log sometimes,
and when expanding extents are used to write out the initial
block of extents.
use disk based extent functions

Revision 1.203 / (download) - annotate - [select for diffs], Tue Oct 8 00:08:03 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.202: +1 -2 lines
Diff to previous 1.202 (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.202 / (download) - annotate - [select for diffs], Mon Oct 7 19:19:59 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.201: +8 -8 lines
Diff to previous 1.201 (colored)

Remove unused pagebuf flags
sync up xfsidbg with pagebuf flags

Revision 1.201 / (download) - annotate - [select for diffs], Fri Oct 4 16:46:54 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.200: +18 -51 lines
Diff to previous 1.200 (colored)

fix parsing of extents by debug code
rework extent printing code

Revision 1.200 / (download) - annotate - [select for diffs], Fri Oct 4 02:29:02 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.199: +11 -10 lines
Diff to previous 1.199 (colored)

Get xfs debug module back in sync with current pagebuf flags.
Get back in sync with current pagebuf flags.

Revision 1.199 / (download) - annotate - [select for diffs], Thu Oct 3 17:39:34 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.198: +3 -3 lines
Diff to previous 1.198 (colored)

fix xmount command in kdb.
do not deference device pointers without checking for them being set.

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

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

Revision 1.197 / (download) - annotate - [select for diffs], Fri Sep 20 05:03:21 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.196: +6 -5 lines
Diff to previous 1.196 (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.196 / (download) - annotate - [select for diffs], Fri Aug 16 02:57:47 2002 UTC (15 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.195: +2 -2 lines
Diff to previous 1.195 (colored)

Change pb_error, pb_page_count and pb_offset to be unsigned shorts, not
signed.  The pb_offset fix gets XFS working on systems with a 64K pagesize.

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

fix unchecked pointer dereferences

Revision 1.194 / (download) - annotate - [select for diffs], Fri Aug 9 14:23:41 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.193: +13 -13 lines
Diff to previous 1.193 (colored)

clean up vnode flags

Revision 1.193 / (download) - annotate - [select for diffs], Thu Aug 1 07:43:15 2002 UTC (15 years, 2 months ago) by kaos
Branch: MAIN
Changes since 1.192: +1 -0 lines
Diff to previous 1.192 (colored)

Clean up exported symbols

Revision 1.192 / (download) - annotate - [select for diffs], Wed Jul 31 20:11:11 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.191: +12 -8 lines
Diff to previous 1.191 (colored)

fix some log recovery debug code

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

kill LINVFS_GET_VPTR

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

remove kdev_t abuse from XFS

Revision 1.189 / (download) - annotate - [select for diffs], Fri Jul 12 16:42:01 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.188: +0 -8 lines
Diff to previous 1.188 (colored)

remove XFS_BIG_FILES ifdefs

Revision 1.188 / (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.187: +220 -220 lines
Diff to previous 1.187 (colored)

whitespace cleanup

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

add more mount flag names to xmount output

Revision 1.186 / (download) - annotate - [select for diffs], Thu Jun 20 05:33:04 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.185: +54 -47 lines
Diff to previous 1.185 (colored)

fix quota manager data structure so that kdb module can get at it correctly.

Revision 1.185 / (download) - annotate - [select for diffs], Tue Jun 18 20:32:24 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.184: +13 -11 lines
Diff to previous 1.184 (colored)

Log v2 debug stuff

Revision 1.184 / (download) - annotate - [select for diffs], Wed Jun 12 16:16:50 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.183: +49 -0 lines
Diff to previous 1.183 (colored)

add xdelay function to locate delalloc space in the filesystem

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

Update copyright dates

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

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

Revision 1.181 / (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.180: +7 -7 lines
Diff to previous 1.180 (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.180 / (download) - annotate - [select for diffs], Fri Apr 26 22:13:55 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.179: +1 -41 lines
Diff to previous 1.179 (colored)

Fix up vnode tracing
- remove alloc tracing cases from vnode trace function
- add VMODIFIED to list of known flags

Revision 1.179 / (download) - annotate - [select for diffs], Mon Apr 1 22:46:06 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.178: +3 -3 lines
Diff to previous 1.178 (colored)

Optimize endian flipping code when setting to or testing for zero
Use INT_ZERO and INT_ISZERO instead of INT_SET and INT_GET

Revision 1.178 / (download) - annotate - [select for diffs], Thu Mar 28 19:45:15 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.177: +12 -5 lines
Diff to previous 1.177 (colored)

account for changes in pagebuf structure

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

cleanup inode debug functions to remove fields

Revision 1.176 / (download) - annotate - [select for diffs], Tue Mar 26 06:35:12 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.175: +69 -48 lines
Diff to previous 1.175 (colored)

fix some compiler warnings on 64 bit platforms.

Revision 1.175 / (download) - annotate - [select for diffs], Mon Mar 25 03:32:38 2002 UTC (15 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.174: +8 -4 lines
Diff to previous 1.174 (colored)

Get extrnal trace points working again, PB_TRACE macro busted for this case.

Revision 1.174 / (download) - annotate - [select for diffs], Wed Feb 27 21:39:43 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.173: +1 -1 lines
Diff to previous 1.173 (colored)

fix up kdb pagebuf flag strings

Revision 1.173 / (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.172: +0 -14 lines
Diff to previous 1.172 (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.172 / (download) - annotate - [select for diffs], Fri Feb 15 20:47:53 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.171: +76 -4 lines
Diff to previous 1.171 (colored)

Add dumping of new perag structures

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

Make pagebuf trace dumping work again, and remove a field which nolonger
exists from the xfs inode dump.

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

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

  vnode/inode layout and allocation changed

Revision 1.169 / (download) - annotate - [select for diffs], Wed Jan 23 01:29:15 2002 UTC (15 years, 9 months ago) by kaos
Branch: MAIN
Changes since 1.168: +6 -26 lines
Diff to previous 1.168 (colored)

Upgrade XFS to kdb v2.1

Revision 1.168 / (download) - annotate - [select for diffs], Tue Jan 15 01:56:30 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.167: +1 -1 lines
Diff to previous 1.167 (colored)

fix a bit more build fallout from the pagebuf code relocation.

Revision 1.167 / (download) - annotate - [select for diffs], Fri Jan 11 23:31:51 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.166: +391 -0 lines
Diff to previous 1.166 (colored)

Merge pagebuf module into XFS

Revision 1.166 / (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.165: +5 -3 lines
Diff to previous 1.165 (colored)

Add new fields to perag dump

Revision 1.165 / (download) - annotate - [select for diffs], Sat Oct 20 06:18:58 2001 UTC (16 years ago) by kaos
Branch: MAIN
Changes since 1.164: +7 -4 lines
Diff to previous 1.164 (colored)

Initialise xfsidbg after the main xfs code

Revision 1.164 / (download) - annotate - [select for diffs], Sun Oct 14 05:26:50 2001 UTC (16 years ago) by kaos
Branch: MAIN
Changes since 1.163: +11 -3 lines
Diff to previous 1.163 (colored)

Avoid oops in kdb for XFS vnode command

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

Merge irix6.5f:irix:101976b
Add xquiesce function to look for non quiesced inodes

Revision 1.162 / (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.161: +2 -0 lines
Diff to previous 1.161 (colored)

Dump new mount fields.

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

Change xbuf idbg function to deal with change in target structure

Revision 1.160 / (download) - annotate - [select for diffs], Mon Apr 23 19:50:07 2001 UTC (16 years, 6 months ago) by ananth
Branch: MAIN
Changes since 1.159: +5 -2 lines
Diff to previous 1.159 (colored)

Fix VNODE_TRACING build.

Revision 1.159 / (download) - annotate - [select for diffs], Mon Apr 16 22:49:09 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.158: +4 -67 lines
Diff to previous 1.158 (colored)

remove references to deleted inode fields

Revision 1.158 / (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.157: +9 -9 lines
Diff to previous 1.157 (colored)

Get rid of the last compiler warning OFF flags

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

support group quotas in Linux/XFS.

Revision 1.156 / (download) - annotate - [select for diffs], Thu Mar 1 18:26:09 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.155: +5 -4 lines
Diff to previous 1.155 (colored)

print ilock_ra symbolically

Revision 1.155 / (download) - annotate - [select for diffs], Fri Dec 1 01:52:45 2000 UTC (16 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.154: +17 -17 lines
Diff to previous 1.154 (colored)

ondisk dquots are now big-endian only.

Revision 1.154 / (download) - annotate - [select for diffs], Tue Nov 14 02:57:58 2000 UTC (16 years, 11 months ago) by dxm
Branch: MAIN
Changes since 1.153: +0 -141 lines
Diff to previous 1.153 (colored)

Split XFS support code into xfs_support module

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

remove explicit externs - get these from headers.

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

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

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

one liner for changes to quota stuff.

Revision 1.150 / (download) - annotate - [select for diffs], Wed Aug 2 17:58:46 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.149: +4 -4 lines
Diff to previous 1.149 (colored)

Dump the inode buffer contents without relying on the buffer being mapped.

Revision 1.149 / (download) - annotate - [select for diffs], Mon Jul 31 21:37:09 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.148: +3 -2 lines
Diff to previous 1.148 (colored)

Fix a couple of compile warnings

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

Bring tree up to 2.4.0-test5

Revision 1.147 / (download) - annotate - [select for diffs], Thu Jul 27 03:29:03 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.146: +35 -28 lines
Diff to previous 1.146 (colored)

endian fixes

Revision 1.146 / (download) - annotate - [select for diffs], Wed Jul 26 21:45:28 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.145: +45 -29 lines
Diff to previous 1.145 (colored)

Make the kdb command to dump an inode buffer work for linux - do
the endian conversion.

Revision 1.145 / (download) - annotate - [select for diffs], Mon Jul 24 01:59:18 2000 UTC (17 years, 3 months ago) by dxm
Branch: MAIN
Changes since 1.144: +63 -49 lines
Diff to previous 1.144 (colored)

make xsb handle converted or unconverted superblocks
make xbuf print superblocks converted
fix broken xfs_fmtuuid

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

make bli_refcount an atomic_t

Revision 1.143 / (download) - annotate - [select for diffs], Fri Jun 16 01:49:13 2000 UTC (17 years, 4 months ago) by kaos
Branch: MAIN
Changes since 1.142: +3 -3 lines
Diff to previous 1.142 (colored)

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

Revision 1.142 / (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.141: +930 -574 lines
Diff to previous 1.141 (colored)

Merge of 2.3.99pre2-xfs:slinx:62596a originally by kaos on 05/23/00
  Upgrade xfs to kdb v1.2

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Rework "vnode" & "vntrace" commands.
  Add "vn" command: prints inode, vnode & vntrace all
  from one vnode address.
  Add "vntraceaddr" command to print the vntrace if
  all you have is the trace buffer address.

Merge of 2.3.99pre2-xfs:slinx:62997a originally by lord on 05/30/00
  Remove include of xfs_macros.h - the xfsidbg module then compiles with
  all code as macros which removes the symbol dependency on xfs.

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

Merge of 2.3.99pre2-xfs:slinx:63078a originally by jtk on 05/31/00
  Replace ASSERT's with runtime checks, undef DEBUG & XFSDEBUG to
  eliminate the need to export/import the "doass" & "assfail" parts
  of the ASSERT implementation.

Merge of 2.3.99pre2-xfs:slinx:63176a originally by lord on 06/01/00
  Move ktrace code which is only used in xfsidbg into xfsidbg

Merge of 2.3.99pre2-xfs:slinx:63404a originally by lord on 06/06/00
  Use XFS_ITOV_NULL so we can cope with missing vnodes in debug code.

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

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

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

endian convert bmap btree key
Merge of 2.3.99pre2-xfs:slinx:61085a by ananth.

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

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

  remaining architecture mods for xfs_bmbt_ptr_t

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

fix includes
Merge of 2.3.99pre2-xfs:slinx:60309a by ananth.

Revision 1.137 / (download) - annotate - [select for diffs], Fri Jun 9 03:55:40 2000 UTC (17 years, 4 months ago) by ivanr
Branch: MAIN
Changes since 1.136: +5 -5 lines
Diff to previous 1.136 (colored)

endian conversion support for bmap
Merge of 2.3.99pre2-xfs:slinx:59943a by ananth.

Revision 1.136 / (download) - annotate - [select for diffs], Fri Jun 9 03:53:49 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.135: +217 -29 lines
Diff to previous 1.135 (colored)

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

  Add some NULL deref protection to the kdb_vnode cmd.
  Implement the kdb_vntrace cmd.

Revision 1.135 / (download) - annotate - [select for diffs], Fri Jun 9 03:48:14 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.134: +5 -5 lines
Diff to previous 1.134 (colored)

arch mods - finish inobt
Merge of 2.3.99pre2-xfs:slinx:58504a by ananth.

Revision 1.134 / (download) - annotate - [select for diffs], Fri Jun 9 03:45:47 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

arch mods - bnobt + cntbt conversion
Merge of 2.3.99pre2-xfs:slinx:58469a by ananth.

Revision 1.133 / (download) - annotate - [select for diffs], Fri Jun 9 03:36:55 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.132: +1 -1 lines
Diff to previous 1.132 (colored)

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

  teeny bug

Revision 1.132 / (download) - annotate - [select for diffs], Fri Jun 9 03:35:24 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.131: +28 -27 lines
Diff to previous 1.131 (colored)

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

  architecture independence for btree header data structures.

Revision 1.131 / (download) - annotate - [select for diffs], Fri Jun 9 03:34:50 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.130: +3 -3 lines
Diff to previous 1.130 (colored)

dir2 architecture bugfixes
Merge of 2.3.99pre2-xfs:slinx:57836a by ananth.

Revision 1.130 / (download) - annotate - [select for diffs], Fri Jun 9 03:34:31 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.129: +1 -1 lines
Diff to previous 1.129 (colored)

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

  dir1 architecture bugfix

Revision 1.129 / (download) - annotate - [select for diffs], Fri Jun 9 03:34:10 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.128: +30 -30 lines
Diff to previous 1.128 (colored)

architecture mods - dir 1 leaf/node
Merge of 2.3.99pre2-xfs:slinx:57832a by ananth.

Revision 1.128 / (download) - annotate - [select for diffs], Fri Jun 9 03:32:48 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.127: +5 -3 lines
Diff to previous 1.127 (colored)

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

  Fix build problems

Revision 1.127 / (download) - annotate - [select for diffs], Fri Jun 9 03:31:04 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.126: +5 -5 lines
Diff to previous 1.126 (colored)

architecture mods - dir2 btree
Merge of 2.3.99pre2-xfs:slinx:57465a by ananth.

Revision 1.126 / (download) - annotate - [select for diffs], Fri Jun 9 03:29:54 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.125: +15 -15 lines
Diff to previous 1.125 (colored)

dir2 architecture mods
Merge of 2.3.99pre2-xfs:slinx:57286a by ananth.

Revision 1.125 / (download) - annotate - [select for diffs], Fri Jun 9 03:26:27 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.124: +536 -613 lines
Diff to previous 1.124 (colored)

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

  architecture independence for the agi structure.  remove ifdef'd linux code.

Revision 1.124 / (download) - annotate - [select for diffs], Fri Jun 9 03:23:30 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.123: +37 -0 lines
Diff to previous 1.123 (colored)

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

  Add vnode command to dump some basics of the vnode
  structure.

Revision 1.123 / (download) - annotate - [select for diffs], Fri Jun 9 03:22:44 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.122: +15 -12 lines
Diff to previous 1.122 (colored)

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

  architecture independence for the allocation group freespace structure.

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

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

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

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

  Merge of 2.3.42-xfs:slinx:46762a by ananth.
  remove compiler warning (was cast to wrong type).

Revision 1.120 / (download) - annotate - [select for diffs], Fri Jun 9 01:50:04 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.119: +1 -3 lines
Diff to previous 1.119 (colored)

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

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

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

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

  Merge of 2.3.42-xfs:slinx:44267a by ananth.
  Change from %ll to %L for long long printing

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

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

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

Revision 1.117 / (download) - annotate - [select for diffs], Fri Jun 9 00:02:07 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.116: +4 -0 lines
Diff to previous 1.116 (colored)

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

  Merge of 2.3.42-xfs:slinx:43601a by ananth.
  Compile fix - the vnode pointers in the mount structure
  are not valid on linux - and do not exist when using pagebufs

Revision 1.116 / (download) - annotate - [select for diffs], Thu Jun 8 23:59:59 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.115: +3 -2 lines
Diff to previous 1.115 (colored)

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

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

Revision 1.115 / (download) - annotate - [select for diffs], Fri Feb 11 03:35:55 2000 UTC (17 years, 8 months ago) by mostek
Branch: MAIN
Changes since 1.114: +26 -13 lines
Diff to previous 1.114 (colored)

Change all xfs_bmbt guys to be 64 bit since this is
what the kernel is using. Also, fix yet another endian bug
in the extent parsing. This file must have it's own
routine (xfs_convert_extent) and shouldn't use one from
the kernel.
Also, change %w32x to %x for linux.

Revision 1.114 / (download) - annotate - [select for diffs], Sun Feb 6 18:49:41 2000 UTC (17 years, 8 months ago) by ananth
Branch: MAIN
Changes since 1.113: +172 -171 lines
Diff to previous 1.113 (colored)

Fix compiler warnings.

Revision 1.113 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
Changes since 1.112: +12 -17 lines
Diff to previous 1.112 (colored)

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

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

Revision 1.112 / (download) - annotate - [select for diffs], Mon Jan 24 21:38:02 2000 UTC (17 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.111: +1 -2 lines
Diff to previous 1.111 (colored)

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:32165a created by doucette on 11/02/99
  Add trace points for xfs_diordwr.

Revision 1.111 / (download) - annotate - [select for diffs], Wed Jan 19 16:58:17 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.110: +2 -4 lines
Diff to previous 1.110 (colored)

Fudge global quota structure so that module will always
load.

Revision 1.110 / (download) - annotate - [select for diffs], Wed Jan 12 16:31:33 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.109: +1318 -2145 lines
Diff to previous 1.109 (colored)

convert to a kdbm module

Revision 1.109 / (download) - annotate - [select for diffs], Tue Dec 14 10:20:10 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.108: +21 -10 lines
Diff to previous 1.108 (colored)

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

Revision 1.108 / (download) - annotate - [select for diffs], Tue Nov 23 16:21:39 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.107: +9 -9 lines
Diff to previous 1.107 (colored)

hide b_bcount and b_blkno

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

virtualize interface to buffer data

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

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

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

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:32165a created by doucette on 11/02/99
  Add trace points for xfs_diordwr.

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

- change references from G_xqm to xfs_Gqm.

Revision 1.103 / (download) - annotate - [select for diffs], Thu Oct 28 10:42:56 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.102: +8 -4 lines
Diff to previous 1.102 (colored)

- change xfsidbg_xihash() so that the history array is no longer
    a large stack-based array but rather is dynamic, based on the actual
    size (m_ihsize) of the mount point inode hash table.  This could have
    caused problems on 32-bit machines since stack frame sizes should
    remain under 8K which previously wasn't the case.

  - change xfsidbg_xmount() so that the size of the mount point inode hash
    table is printed out at the same time as the hash table itself.

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

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

Revision 1.101 / (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.100: +48 -13 lines
Diff to previous 1.100 (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.100 / (download) - annotate - [select for diffs], Mon Feb 22 23:57:05 1999 UTC (18 years, 8 months ago) by overby
Branch: MAIN
Changes since 1.99: +58 -0 lines
Diff to previous 1.99 (colored)

Changes for Inode clustering.
Add two new commands:

xchlist		Dump XFS cluster hash list

	Given a cluster hash list, dumps the block
	number of the inode cluster and addresses of all the
	inodes on the list.

xchash		Dump XFS cluster hash

	Given a xfs_mount_t pointer, dumps the hash table and
	it's lists (using xchlist)

Modify:

xmount	prints the cluster hash list pointer
xnode 	prints the cluster next, previous and header pointers

Revision 1.99 / (download) - annotate - [select for diffs], Thu Feb 4 01:28:30 1999 UTC (18 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.98: +392 -23 lines
Diff to previous 1.98 (colored)

Directory v2 structure and trace printing.  Some type cleanup,
update printing of other structures.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Dec 11 01:21:53 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.97: +1 -1 lines
Diff to previous 1.97 (colored)

Fix missing () in allocator trace printout, causing skipping of
some entries.
pv: 657740

Revision 1.97 / (download) - annotate - [select for diffs], Mon Nov 30 19:59:13 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.96: +9 -8 lines
Diff to previous 1.96 (colored)

Add minalignslop to allocator arguments structure.
pv: 652107

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

add i_update_size to xinode command

Revision 1.95 / (download) - annotate - [select for diffs], Tue May 26 19:09:54 1998 UTC (19 years, 4 months ago) by kayuri
Branch: MAIN
Changes since 1.94: +6 -6 lines
Diff to previous 1.94 (colored)

Fixed up xfs_rw_enter_trace_entry to display uio count correctly. 
Fixed up xfsidbg_xbuf_real. b_bcount is specified in bytes and it 
was incorrectly converting b_bcount from BBTOB.  

Revision 1.94 / (download) - annotate - [select for diffs], Fri Mar 27 19:53:57 1998 UTC (19 years, 6 months ago) by markc
Branch: MAIN
Changes since 1.93: +4 -4 lines
Diff to previous 1.93 (colored)

rv: jtk@cray.com,ram@cray.com
pv: 583395

xfs_strat_sub_trace_entry was pulling b_addr out of the trace
buffer for use as the b_flags argument.  clean up some casts as
well.

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

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

Revision 1.92 / (download) - annotate - [select for diffs], Sun Jan 18 21:19:53 1998 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.91: +5 -4 lines
Diff to previous 1.91 (colored)

teach inode print routines about i_max_io_log.  pv: 563846  rv: doucette@engr

Revision 1.91 / (download) - annotate - [select for diffs], Fri Jan 16 18:28:56 1998 UTC (19 years, 9 months ago) by kayuri
Branch: MAIN
Changes since 1.90: +10 -9 lines
Diff to previous 1.90 (colored)

rv: rcc@engr
pv: 554467
In xfsidbg_xiclog(), updated the ic_flags to reflect the new incore log
state, XLOG_STATE_DO_CALLBACK.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Jan 15 21:42:03 1998 UTC (19 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.89: +24 -5 lines
Diff to previous 1.89 (colored)

rv: lord@cray.com, mac@cray.com pv: 496799 -- debugging for new field
in xlog_t.

Revision 1.89 / (download) - annotate - [select for diffs], Thu Jan 15 20:46:38 1998 UTC (19 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.88: +21 -1 lines
Diff to previous 1.88 (colored)

Added code to cope with marker records being present in the inode
list in the mount structure.
pv: 261537
rv: mostek@cray.com

Revision 1.88 / (download) - annotate - [select for diffs], Thu Jan 8 04:48:28 1998 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.87: +65 -16 lines
Diff to previous 1.87 (colored)

Add xfs_inval_cached_trace to trace (xrwtrc) calls to
xfs_inval_cached_pages.  Add read/write tracing for
xfs_bunmapi calls as well.
Also fix buffer log item tracing flags printout.
Fix check in xstrat_itrace for uninitialized tracebuffer.
pv: 555734
rv: kayuri@engr

Revision 1.87 / (download) - annotate - [select for diffs], Fri Dec 19 21:17:53 1997 UTC (19 years, 10 months ago) by gnuss
Branch: MAIN
Changes since 1.86: +4 -1 lines
Diff to previous 1.86 (colored)

pv: 553766 rv: mostek@cray.com

Added printf to dump two new counter values in xfs_mount structure

Revision 1.86 / (download) - annotate - [select for diffs], Fri Dec 19 03:42:10 1997 UTC (19 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.85: +14 -5 lines
Diff to previous 1.85 (colored)

teach xmount about all the new (and some old) mount flags.
pv: 553288  rv:doucette@engr

Revision 1.85 / (download) - annotate - [select for diffs], Wed Sep 17 20:56:32 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.84: +5 -3 lines
Diff to previous 1.84 (colored)

change xnode command to print out ilock return address field in
the inode

Revision 1.84 / (download) - annotate - [select for diffs], Tue Sep 16 21:58:06 1997 UTC (20 years, 1 month ago) by nowicki
Branch: MAIN
Changes since 1.83: +8 -12 lines
Diff to previous 1.83 (colored)

See delta 1.90 of xfs_iget.c. Use a multi-reader lock and variable size.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Sep 3 22:44:03 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.82: +17 -12 lines
Diff to previous 1.82 (colored)

521721 - merge b_flags and b_flags2 in buffer structure

Revision 1.82 / (download) - annotate - [select for diffs], Thu Aug 28 23:05:29 1997 UTC (20 years, 1 month ago) by kayuri
Branch: MAIN
Changes since 1.81: +4 -3 lines
Diff to previous 1.81 (colored)

Added i_rlock and fixed up i_ipinlock printing (bug 516806).

Revision 1.81 / (download) - annotate - [select for diffs], Wed Aug 20 01:30:11 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.80: +5 -5 lines
Diff to previous 1.80 (colored)

m_inoalign changed to m_inoalign_mask, add m_da_magicpct.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Aug 16 02:47:44 1997 UTC (20 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.79: +60 -1 lines
Diff to previous 1.79 (colored)

add a command to look at inode hash table distributions

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

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

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

Remove m_rbmrotor field from mount structure.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:40 1997 UTC (20 years, 3 months ago) by rcc
Branch: MAIN
Changes since 1.76: +5 -4 lines
Diff to previous 1.76 (colored)

492728 - sync idbg routines up with inode pinlock change

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jul 23 21:46:33 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.75: +12 -3 lines
Diff to previous 1.75 (colored)

Add growfs rt transaction types, reservations, transaction state.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jul 15 18:02:55 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.74: +1 -1 lines
Diff to previous 1.74 (colored)

Add justcheck field to da_arg structure.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Jun 30 23:20:26 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Fix name of transaction type XFS_ATRUNCATE => XFS_TRANS_ATRUNCATE.

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

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

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

Fix a printf in xfs inode tracing.

Revision 1.71 / (download) - annotate - [select for diffs], Fri May 23 23:28:49 1997 UTC (20 years, 5 months ago) by rcc
Branch: MAIN
Changes since 1.70: +17 -9 lines
Diff to previous 1.70 (colored)

fixed up a broken qprintf call and rw tracing

Revision 1.70 / (download) - annotate - [select for diffs], Sun Apr 6 03:20:08 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.69: +48 -3 lines
Diff to previous 1.69 (colored)

xilocktrc added for inode lock tracing.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Mar 28 01:52:37 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.68: +5 -3 lines
Diff to previous 1.68 (colored)

Add l_flags.

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

Printing the m_sinoalign field in the xfs_mount structure (bug 397746).

Revision 1.67 / (download) - annotate - [select for diffs], Thu Mar 27 01:35:29 1997 UTC (20 years, 6 months ago) by rcc
Branch: MAIN
Changes since 1.66: +49 -0 lines
Diff to previous 1.66 (colored)

474299 - add UIOSZ_DEBUG only per-inode i/o size debug function

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

change xmount to print out filesystem mount point

Revision 1.65 / (download) - annotate - [select for diffs], Sat Mar 15 00:41:56 1997 UTC (20 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.64: +45 -40 lines
Diff to previous 1.64 (colored)

Changes to bmap and extent tracing routines.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Mar 11 19:17:21 1997 UTC (20 years, 7 months ago) by kayuri
Branch: MAIN
Changes since 1.63: +3 -1 lines
Diff to previous 1.63 (colored)

Added support for printing the stripe unit and width values stored in the
superblock. Also added support for the XFS_TRANS_SB_UNIT transaction type.
(bug 397746).

Revision 1.63 / (download) - annotate - [select for diffs], Mon Mar 10 22:55:36 1997 UTC (20 years, 7 months ago) by rcc
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

change formatting of xfs inode core printing to make it obvious
that the size is printed in hex

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jan 30 02:56:04 1997 UTC (20 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.61: +16 -12 lines
Diff to previous 1.61 (colored)

Clean up allocation tracing printout, add line numbers.

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

First cut of XFS I/O error handling changes.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Dec 13 00:40:02 1996 UTC (20 years, 10 months ago) by sup
Branch: MAIN
Changes since 1.59: +1 -0 lines
Diff to previous 1.59 (colored)

added xfs_dquot_item.h

Revision 1.59 / (download) - annotate - [select for diffs], Thu Dec 12 02:34:03 1996 UTC (20 years, 10 months ago) by sup
Branch: MAIN
Changes since 1.58: +96 -6 lines
Diff to previous 1.58 (colored)

Added some log item printing stuff and also took out references to ili_bp.

Revision 1.47.1.12 / (download) - annotate - [select for diffs], Sat Dec 7 00:32:53 1996 UTC (20 years, 10 months ago) by sup
CVS Tags: DELETE-1
Changes since 1.47.1.11: +96 -6 lines
Diff to previous 1.47.1.11 (colored) next main 1.48 (colored)

Added some log item printing stuff and also took out references to ili_bp.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Sep 30 23:53:41 1996 UTC (21 years ago) by kayuri
Branch: MAIN
Changes since 1.57: +6 -3 lines
Diff to previous 1.57 (colored)

Changes for stripe alignment - bug 397746

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jul 6 00:24:59 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.56: +8 -9 lines
Diff to previous 1.56 (colored)

merge ficus into kudzu (1.47.1.9 ... 1.47.1.11)

Revision 1.47.1.11 / (download) - annotate - [select for diffs], Thu Jul 4 01:48:26 1996 UTC (21 years, 3 months ago) by doucette
Changes since 1.47.1.10: +3 -3 lines
Diff to previous 1.47.1.10 (colored)

Add xbf_low field to printout of flist structures.

Revision 1.47.1.10 / (download) - annotate - [select for diffs], Wed Jul 3 18:53:04 1996 UTC (21 years, 3 months ago) by doucette
Changes since 1.47.1.9: +6 -7 lines
Diff to previous 1.47.1.9 (colored)

Fix the bmap btree record print routines.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jun 29 06:23:51 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.55: +9 -1 lines
Diff to previous 1.55 (colored)

merge ficus into kudzu (1.47.1.8 ... 1.47.1.9)

Revision 1.47.1.9 / (download) - annotate - [select for diffs], Mon Jun 24 08:45:36 1996 UTC (21 years, 4 months ago) by sup
Changes since 1.47.1.8: +9 -1 lines
Diff to previous 1.47.1.8 (colored)

added dquot buffer to xbuf.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jun 22 02:06:50 1996 UTC (21 years, 4 months ago) by livesey
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

merge ficus into kudzu (1.47.1.7 ... 1.47.1.8)

Revision 1.47.1.8 / (download) - annotate - [select for diffs], Tue Jun 18 21:16:50 1996 UTC (21 years, 4 months ago) by doucette
Changes since 1.47.1.7: +2 -1 lines
Diff to previous 1.47.1.7 (colored)

Fix missing newline at the end of xmount command.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jun 15 19:17:17 1996 UTC (21 years, 4 months ago) by livesey
Branch: MAIN
Changes since 1.53: +18 -13 lines
Diff to previous 1.53 (colored)

merge ficus 1.53-1.54 (1.47.1.7)

Revision 1.47.1.7 / (download) - annotate - [select for diffs], Fri Jun 14 08:33:17 1996 UTC (21 years, 4 months ago) by sup
Changes since 1.47.1.6: +15 -10 lines
Diff to previous 1.47.1.6 (colored)

hanged mp->m_flags to mp->m_qflags.

Revision 1.47.1.6 / (download) - annotate - [select for diffs], Wed Jun 12 01:33:40 1996 UTC (21 years, 4 months ago) by sup
Changes since 1.47.1.5: +4 -4 lines
Diff to previous 1.47.1.5 (colored)

t_flags, xfs_dqblk.h

Revision 1.53 / (download) - annotate - [select for diffs], Sun Jun 9 00:57:51 1996 UTC (21 years, 4 months ago) by livesey
Branch: MAIN
Changes since 1.52: +67 -50 lines
Diff to previous 1.52 (colored)

merge ficus 1.52 (1.47.1.5)

Revision 1.47.1.5 / (download) - annotate - [select for diffs], Tue Jun 4 21:46:14 1996 UTC (21 years, 4 months ago) by doucette
Changes since 1.47.1.4: +67 -50 lines
Diff to previous 1.47.1.4 (colored)

Add superblock versioning changes (bug 385316).  Add inode alignment
support (bug 385292).  Clean up some quota changes.  Improve the
allocation tracing.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jun 3 03:04:47 1996 UTC (21 years, 4 months ago) by livesey
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51 (colored)

merge ficus 1.50-1.51 (1.47.1.4)

Revision 1.47.1.4 / (download) - annotate - [select for diffs], Wed May 29 17:50:10 1996 UTC (21 years, 4 months ago) by sup
Changes since 1.47.1.3: +15 -1 lines
Diff to previous 1.47.1.3 (colored)

fixed a compiler warning, added more quota stuff.

Revision 1.51 / (download) - annotate - [select for diffs], Wed May 29 17:50:09 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.50: +15 -1 lines
Diff to previous 1.50 (colored)

fixed a compiler warning, added more quota stuff.

Revision 1.47.1.3 / (download) - annotate - [select for diffs], Wed May 29 17:27:10 1996 UTC (21 years, 4 months ago) by sup
Changes since 1.47.1.2: +31 -6 lines
Diff to previous 1.47.1.2 (colored)

quota stuff.

Revision 1.50 / (download) - annotate - [select for diffs], Wed May 29 17:27:09 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.49: +31 -6 lines
Diff to previous 1.49 (colored)

quota stuff.

Revision 1.49 / (download) - annotate - [select for diffs], Sun May 19 03:13:26 1996 UTC (21 years, 5 months ago) by livesey
Branch: MAIN
Changes since 1.48: +393 -3 lines
Diff to previous 1.48 (colored)

merge ficus 1.48-1.49

Revision 1.47.1.2 / (download) - annotate - [select for diffs], Wed May 15 22:27:17 1996 UTC (21 years, 5 months ago) by sup
Changes since 1.47.1.1: +393 -3 lines
Diff to previous 1.47.1.1 (colored)

disk quota additions.

Revision 1.48 / (download) - annotate - [select for diffs], Thu May 9 03:39:32 1996 UTC (21 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.47: +1 -7 lines
Diff to previous 1.47 (colored)

375390 Don't print out the i_mapcnt field of the inode. It no longer
exists.

Revision 1.47.1.1 / (download) - annotate - [select for diffs], Thu May 9 02:56:52 1996 UTC (21 years, 5 months ago) by ajs
Changes since 1.47: +1 -7 lines
Diff to previous 1.47 (colored)

375390 Don't print out the i_mapcnt field of the inode.
It no longer exists.

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

vnode's v_number changed to uint64_t

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

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

Revision 1.45 / (download) - annotate - [select for diffs], Mon Apr 1 22:49:48 1996 UTC (21 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.44: +5 -4 lines
Diff to previous 1.44 (colored)

Changes for vnodes with behaviors.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Feb 21 05:00:38 1996 UTC (21 years, 8 months ago) by ack
Branch: MAIN
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.48
> date: 1996/02/20 23:40:13;  author: ajs;  state: Exp;  lines: +4 -3
> 350478 Make the inode cluster size variable.
> =============================================================================

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

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.47
> date: 1996/01/30 19:08:42;  author: doucette;  state: Exp;  lines: +4 -4
> Do lazy initialization of the transaction log item chunks, since the
> initialization at transaction allocation time is expensive, and we
> normally use only a few of the array entries.
> Add macro/functions XFS_DIR_SF_{GET,PUT}_DIRINO for copying from
> and to unaligned inode numbers.  In o32 kernels the function's code
> is better than the inline version.
> =============================================================================

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jan 23 10:57:49 1996 UTC (21 years, 9 months ago) by ack
Branch: MAIN
Changes since 1.41: +5 -4 lines
Diff to previous 1.41 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.46
> date: 1996/01/20 00:51:45;  author: doucette;  state: Exp;  lines: +7 -4
> Add new mount structure field m_nreadaheads in xmount printing.
> Put ifdef DEBUG around xfsidbg_xaildump to get rid of a warning.
> (bug 318607)
> =============================================================================

Revision 1.41 / (download) - annotate - [select for diffs], Thu Nov 23 04:17:53 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.40: +19 -7 lines
Diff to previous 1.40 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.45
> date: 1995/11/22 20:20:18;  author: curtis;  state: Exp;  lines: +19 -8
> Print out the additional state information used during attribute Btree
> double-split operations, plus some cleanups.
> =============================================================================

Revision 1.40 / (download) - annotate - [select for diffs], Fri Nov 10 07:06:37 1995 UTC (21 years, 11 months ago) by benf
Branch: MAIN
Changes since 1.39: +3 -2 lines
Diff to previous 1.39 (colored)

picked some easy lint

Revision 1.39 / (download) - annotate - [select for diffs], Tue Oct 31 06:13:35 1995 UTC (21 years, 11 months ago) by ack
Branch: MAIN
Changes since 1.38: +216 -49 lines
Diff to previous 1.38 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.44
> date: 1995/10/31 00:14:52;  author: doucette;  state: Exp;  lines: +2 -2
> Fix build warning, bad format string in idbg xbuf command.
> ----------------------------
> revision 1.43
> date: 1995/10/28 02:14:39;  author: curtis;  state: Exp;  lines: +213 -50
> Added a way to print the AIL (the list of not-yet-on-disk-but-changed buffers)
> in a human readable form.
> ----------------------------
> revision 1.42
> date: 1995/10/25 21:56:53;  author: doucette;  state: Exp;  lines: +4 -0
> Add unload function with idbg_delfunc calls so this module can be
> unloaded if it was loaded by mload.
> =============================================================================

Revision 1.38 / (download) - annotate - [select for diffs], Tue Oct 24 11:55:25 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.37: +866 -810 lines
Diff to previous 1.37 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.41
> date: 1995/10/20 02:17:13;  author: doucette;  state: Exp;  lines: +867 -811
> Allow idbg to be mloaded.  This requires removing all the references
> to xfsidbg.c routines, as well as making some routines available
> through idbgfuncs for the *idbg.o modules to call.  Adds a "filesystem
> switch" table which is used to find some of the fs-specific routines.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.40
> date: 1995/10/13 16:11:39;  author: ajs;  state: Exp;  lines: +9 -2
> Put XFS tracing under ifdefs separate from DEBUG
> ----------------------------
> revision 1.39
> date: 1995/10/13 00:28:49;  author: doucette;  state: Exp;  lines: +1 -0
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.38
> date: 1995/10/10 00:58:35;  author: doucette;  state: Exp;  lines: +8 -7
> Add sb_imax_pct, m_maxicount, t_imaxpct_delta field printing.
> ----------------------------
> revision 1.37
> date: 1995/10/05 01:04:56;  author: ajs;  state: Exp;  lines: +4 -3
> 310776 Fix up inode printing for new format.
> =============================================================================

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 3 04:19:45 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.34: +207 -2 lines
Diff to previous 1.34 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.36
> date: 1995/09/30 03:19:41;  author: curtis;  state: Exp;  lines: +158 -3
> Add routines to dump the new attribute tracing information and to dump
> the new attr_list() context structure.
> ----------------------------
> revision 1.35
> date: 1995/09/29 20:15:26;  author: ajs;  state: Exp;  lines: +51 -1
> Add routines xlogcb for printing out a iclog structure's
> callbacks and xfindi for finding an in memory inode given
> an inode number.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.34
> date: 1995/09/22 02:24:30;  author: doucette;  state: Exp;  lines: +11 -6
> Changes corresponding to type change of in-directory inode numbers,
> and addition of m_inoadd field to mount structure.
> =============================================================================

Revision 1.33 / (download) - annotate - [select for diffs], Thu Sep 14 07:09:06 1995 UTC (22 years, 1 month ago) by ack
Branch: MAIN
Changes since 1.32: +1 -2 lines
Diff to previous 1.32 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfsidbg.c,v
> ----------------------------
> revision 1.33
> date: 1995/09/09 02:23:21;  author: doucette;  state: Exp;  lines: +0 -1
> Remove an unused variable, to get rid of a compiler warning.
> =============================================================================

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

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

Revision 1.31 / (download) - annotate - [select for diffs], Mon Sep 4 02:11:25 1995 UTC (22 years, 1 month ago) by curtis
Branch: MAIN
Changes since 1.30: +122 -3 lines
Diff to previous 1.30 (colored)

Added routines to print out the new ktrace-based directory tracing results.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Aug 31 20:57:29 1995 UTC (22 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.29: +15 -6 lines
Diff to previous 1.29 (colored)

Clean up some printing routines which had fallen into
disrepair.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 16 23:49:22 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.28: +0 -10 lines
Diff to previous 1.28 (colored)

Remove some dead DEBUG code.

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

Add include of xfs_bit.h.
Add mount structure fields to idbg_xmount.  Fix up xmount flags printing.

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

Stop printing fields removed from the mount structure.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 8 01:15:52 1995 UTC (22 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.25: +7 -21 lines
Diff to previous 1.25 (colored)

284911 - for 8K inode clusters, make xfs idbg routines know about
new inode and buffer formats and print out different things for
older formats

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

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

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 21 23:12:47 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.23: +68 -19 lines
Diff to previous 1.23 (colored)

Fix up some of the log item printing.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 12 03:10:14 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.22: +42 -9 lines
Diff to previous 1.22 (colored)

Improved attribute structure printing code.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 8 18:35:59 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.21: +6 -5 lines
Diff to previous 1.21 (colored)

Add readahead field to cursor.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jun 7 00:24:52 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.20: +23 -1 lines
Diff to previous 1.20 (colored)

Add a function to print out the transaction reservation
values for a given mount.

Revision 1.20 / (download) - annotate - [select for diffs], Wed May 31 03:38:26 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.19: +13 -11 lines
Diff to previous 1.19 (colored)

Improve the printout for directory/attribute arguments structures.

Revision 1.19 / (download) - annotate - [select for diffs], Sat May 27 03:18:17 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.18: +30 -3 lines
Diff to previous 1.18 (colored)

Add code to print transaction type in a symbolic way (instead of numeric).

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 26 00:57:19 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.17: +10 -4 lines
Diff to previous 1.17 (colored)

Put the attribute fork info (i_af) into a zone-allocated structure
pointed to by i_afp, to save memory for inodes that don't use attributes.

Revision 1.17 / (download) - annotate - [select for diffs], Tue May 23 03:05:46 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.16: +18 -46 lines
Diff to previous 1.16 (colored)

Make inode trace pointers and i_mapcnt #ifdef DEBUG.
Get rid of i_vcode.

Revision 1.16 / (download) - annotate - [select for diffs], Mon May 22 23:19:48 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Fix missing space in inode printout.

Revision 1.15 / (download) - annotate - [select for diffs], Sat May 20 02:38:20 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.14: +20 -11 lines
Diff to previous 1.14 (colored)

Attributes: clean up some functions and make them a bit more useful.

Revision 1.14 / (download) - annotate - [select for diffs], Sat May 20 02:30:33 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.13: +32 -16 lines
Diff to previous 1.13 (colored)

Add support for attribute fork in xexlist command.

Revision 1.13 / (download) - annotate - [select for diffs], Sat May 20 00:19:58 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.12: +33 -18 lines
Diff to previous 1.12 (colored)

Fix tracing of bmap extents and bmap btree entries to use correct
fork (data or attribute).

Fix the printing of inode flags, which are now separated into per-fork
and not-per-fork.

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 19 02:03:38 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Change name of xfs_da_name_t to xfs_da_args_t

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 17 23:14:07 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.10: +8 -6 lines
Diff to previous 1.10 (colored)

Change location of attributes.h and added more debug info for dual-fork inodes.

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 11 01:23:44 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.9: +8 -8 lines
Diff to previous 1.9 (colored)

272139 - Change xFS to XFS

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 9 21:22:00 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.8: +101 -77 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Mon May 8 20:03:56 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.7: +187 -83 lines
Diff to previous 1.7 (colored)

Changed directory debug support and added attribute debug support,
a result of the directory/attribute code restructuring.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 2 00:34:41 1995 UTC (22 years, 5 months ago) by yohn
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Sat Apr 29 17:23:58 1995 UTC (22 years, 5 months ago) by tap
Branch: MAIN
Changes since 1.5: +4 -6 lines
Diff to previous 1.5 (colored)

the xfs inode nolonger contains an i_ticket or i_ticketlock field.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 19 16:39:07 1995 UTC (22 years, 6 months ago) by jwag
Branch: MAIN
Changes since 1.4: +78 -86 lines
Diff to previous 1.4 (colored)

remove u_eaddr; remove fmtll

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

First cut at disk error handling

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

i_pinsema changed to sync-variable

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 31 20:06:09 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.1: +26 -26 lines
Diff to previous 1.1 (colored)

Include xfs_dir.h before xfs_dinode.h since it now has a dependency.
Use new directory structure typedefs.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 3 01:47:30 1995 UTC (22 years, 7 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>