CVS log for xfs-linux-nodel/linux-2.6/xfs_super.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.466 / (download) - annotate - [select for diffs], Wed Oct 22 03:13:22 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.465: +1 -1 lines
Diff to previous 1.465 (colored)

fix biosize option

iosizelog shouldn't be the same as iosize but the logarithm of it.  Then
again the current biosize option doesn't make much sense to me as it
doesn't set the preferred I/O size as mentioned in the comment next to
it but rather the allocation size and thus is identical to the allocsize
option (except for the missing logarithm).  It's also not documented in
Documentation/filesystems/xfs.txt or the mount manpage.


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

  fix biosize option

Revision 1.465 / (download) - annotate - [select for diffs], Wed Oct 22 03:12:29 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.464: +1 -0 lines
Diff to previous 1.464 (colored)

fix the noquota mount option

Noquota should clear all mount options, and not just user and group
quota.  Probably doesn't matter very much in real life.


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

  fix the noquota mount option

Revision 1.464 / (download) - annotate - [select for diffs], Wed Oct 22 03:11:34 2008 UTC (9 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.463: +189 -310 lines
Diff to previous 1.463 (colored)

kill struct xfs_mount_args

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

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

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


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

  kill struct xfs_mount_args 

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

Allocate the struct xfs_ail

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

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

  Allocate the struct xfs_ail

Revision 1.462 / (download) - annotate - [select for diffs], Wed Oct 15 15:40:05 2008 UTC (9 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.461: +1 -1 lines
Diff to previous 1.461 (colored)

fix remount rw with unrecognized options

When we skip unrecognized options in xfs_fs_remount we should just break
out of the switch and not return because otherwise we may skip clearing
the xfs-internal read-only flag.  This will only show up on some
operations like touch because most read-only checks are done by the VFS
which thinks this filesystem is r/w.  Eventually we should replace the
XFS read-only flag with a helper that always checks the VFS flag to make
sure they can never get out of sync.

Bug reported and fix verified by Marcel Beister on #xfs.
Bug fix verified by updated xfstests/189.

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

  fix remount rw with unrecognized options

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

kill deleted inodes list

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

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

  kill deleted inodes list

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

Fix build warning - xfs_fs_alloc_inode() needs a return statement
Merge of xfs-linux-melb:xfs-kern:32325a by kenmcd.

  Fix build warning - xfs_fs_alloc_inode() needs a return statement

Revision 1.459 / (download) - annotate - [select for diffs], Wed Oct 15 03:26:42 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.458: +14 -18 lines
Diff to previous 1.458 (colored)

Prevent use-after-free caused by synchronous inode reclaim

With the combined linux and XFS inode, we need to ensure that the
combined structure is not freed before the generic code is finished
with the inode. As it turns out, there is a case where the XFS inode
is freed before the linux inode - when xfs_reclaim() is called from
->clear_inode() on a clean inode, the xfs inode is freed during
that call. The generic code references the inode after the
->clear_inode() call, so this is a use after free situation.

Fix the problem by moving the xfs_reclaim() call to ->destroy_inode()
instead of in ->clear_inode(). This ensures the combined inode
structure is not freed until after the generic code has finished
with it.

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

  Prevent use-after-free caused by synchronous inode reclaim

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

Combine the XFS and Linux inodes

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

Version 3
o kill xfs_icount()

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

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

  Combine the XFS and Linux inodes

Revision 1.457 / (download) - annotate - [select for diffs], Tue Oct 14 14:51:37 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.456: +1 -1 lines
Diff to previous 1.456 (colored)

Never call mark_inode_dirty_sync() directly

Once the Linux inode and the XFS inode are combined, we cannot rely
on just check if the linux inode exists as a method of determining
if it is valid or not. Hence we should always call
xfs_mark_inode_dirty_sync() instead as it does the correct checks to
determine if the liinux inode is in a valid state or not.

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

  Never call mark_inode_dirty_sync() directly

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

Move remaining quiesce code.

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

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

  Move remaining quiesce code.

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

Kill SYNC_CLOSE

SYNC_CLOSE is only ever used and checked in conjunction with
SYNC_WAIT, and this only done in one spot. The only thing
this does is make XFS_bflush() calls to the data buftargs.

This will happen very shortly afterwards the xfs_sync() call
anyway in the unmount path via the xfs_close_devices(), so this
code is redundant and can be removed. That only user of SYNC_CLOSE
is now gone, so kill the flag completely.

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

  Kill SYNC_CLOSE

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

make SYNC_DELWRI no longer use xfs_sync

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

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

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

  make SYNC_DELWRI no longer use xfs_sync

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

make SYNC_ATTR no longer use xfs_sync

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

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

  make SYNC_ATTR no longer use xfs_sync

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

move xfssyncd code to xfs_sync.c

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

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

  move xfssyncd code to xfs_sync.c

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

move sync code to its own file

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

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

  move sync code to its own file

Revision 1.450 / (download) - annotate - [select for diffs], Fri Oct 3 04:30:43 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.449: +0 -2 lines
Diff to previous 1.449 (colored)

Merge up to 2.6.27-rc8
Merge of xfs-linux-melb:xfs-kern:32254a by kenmcd.

Revision 1.449 / (download) - annotate - [select for diffs], Wed Sep 24 16:17:16 2008 UTC (9 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.448: +20 -4 lines
Diff to previous 1.448 (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.448 / (download) - annotate - [select for diffs], Wed Aug 20 04:10:16 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.447: +36 -1 lines
Diff to previous 1.447 (colored)

Make use of the init-once slab optimisation.

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

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

  Make use of the init-once slab optimisation.

Revision 1.447 / (download) - annotate - [select for diffs], Fri Aug 15 16:04:14 2008 UTC (9 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.446: +20 -0 lines
Diff to previous 1.446 (colored)

Fix regression introduced by previous remount fixup (pv#983964) - so options will
no longer wrongly be rejected on remount.

Logically we would return an error in xfs_fs_remount code
to prevent users from believing they might have changed
mount options using remount which can't be changed.

But unfortunately mount(8) adds all options from
mtab and fstab to the mount arguments in some cases
so we can't blindly reject options, but have to
check for each specified option if it actually
differs from the currently set option and only
reject it if that's the case.

Until that is implemented we return success for
every remount request, and silently ignore all
options that we can't actually change.

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

  fix remount regression

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

don't call xfs_freesb from xfs_unmountfs

xfs_readsb is called before xfs_mount so xfs_freesb should be called
after xfs_unmountfs, too.  This means it now happens after a few things
during the of xfs_unmount which all have nothing to do with the
superblock.


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

  don't call xfs_freesb from xfs_unmountfs

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

cleanup xfs_mountfs

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


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

  cleanup xfs_mountfs

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

move root inode IRELE into xfs_unmountfs

The root inode is allocated in xfs_mountfs so it should be release in
xfs_unmountfs.  For the unmount case that means we do it after the
the xfs_sync(mp, SYNC_WAIT | SYNC_CLOSE) in the forced shutdown case
and the dmapi unmount event.  Note that both reference the rip variable
which might be freed by that time in case inode flushing has kicked in,
so strictly speaking this might count as a bug fix


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

  move root inode IRELE into xfs_unmountfs

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

sanitize xfs_initialize_vnode

Sanitize setting up the Linux indode.

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

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


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

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

kill bhv_vnode_t

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


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

  kill bhv_vnode_t

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

remove some easy bhv_vnode_t instances

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


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

  remove some easy bhv_vnode_t instances

Revision 1.440 / (download) - annotate - [select for diffs], Fri Jul 25 04:17:07 2008 UTC (9 years, 3 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.439: +6 -8 lines
Diff to previous 1.439 (colored)

kill vn_to_inode

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

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

  kill vn_to_inode

Revision 1.439 / (download) - annotate - [select for diffs], Fri Jul 25 04:16:11 2008 UTC (9 years, 3 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.438: +1 -1 lines
Diff to previous 1.438 (colored)

Remove vn_from_inode()

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

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

  Remove vn_from_inode()

Revision 1.438 / (download) - annotate - [select for diffs], Wed Jul 23 16:37:34 2008 UTC (9 years, 3 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.437: +41 -10 lines
Diff to previous 1.437 (colored)

don't leak m_fsname/m_rtname/m_logname

Add a helper to free the m_fsname/m_rtname/m_logname allocations and use
it properly for all mount failure cases.  Also switch the allocations
for these to kstrdup while we're at it.


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

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

Kill shouty XFS_ITOV() macro

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

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

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

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

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

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

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

Revision 1.435 / (download) - annotate - [select for diffs], Thu Jul 17 06:27:08 2008 UTC (9 years, 3 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.434: +4 -2 lines
Diff to previous 1.434 (colored)

fix use after free with external logs or real-time devices
Merge of xfs-linux-melb:xfs-kern:31666a by kenmcd.

  fix use after free with external logs or real-time devices

Revision 1.434 / (download) - annotate - [select for diffs], Wed Jul 2 06:20:53 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.433: +54 -18 lines
Diff to previous 1.433 (colored)

fix mount option parsing in remount

Remount currently happily accept any option thrown at it, although the
only filesystem specific option it actually handles is barrier/nobarrier.
And it actually doesn't handle these correctly either because it only
uses the value it parsed when we're doing a ro->rw transition.  In
addition to that there's also a bad bug in xfs_parseargs which doesn't
touch the actual option in the mount point except for a single one,
XFS_MOUNT_SMALL_INUMS and thus forced any filesystem that's every
remounted in some way to not support 64bit inodes with no way to recover
unless unmounted.

This patch changes xfs_fs_remount to use it's own linux/parser.h based
options parse instead of xfs_parseargs and reject all options except
for barrier/nobarrier and to the right thing in general.  Eventually
I'd like to have a single big option table used for mount aswell but
that can wait for a while.


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

  fix mount option parsing in remount

Revision 1.433 / (download) - annotate - [select for diffs], Tue Jul 1 16:19:25 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.432: +0 -8 lines
Diff to previous 1.432 (colored)

Disable queue flag test in barrier check.

md raid1 can pass down barriers, but does not set an ordered flag
on the queue, so xfs does not even attempt a barrier write, and
will never use barriers on these block devices.

Remove the flag check and just let the barrier write
test determine barrier support.

A possible risk here is that if something does not set an ordered
flag and also does not properly return an error on a barrier write...
but if it's any consolation jbd/ext3/reiserfs never test the flag,
and don't even do a test write, they just disable barriers the first
time an actual journal barrier write fails.

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

  disable queue flag test in barrier check

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

streamline init/exit path

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

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

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

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

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

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

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

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

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

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

Revision 1.430 / (download) - annotate - [select for diffs], Tue May 27 06:12:23 2008 UTC (9 years, 5 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.429: +1 -0 lines
Diff to previous 1.429 (colored)

Use the generic xattr methods.

Use the generic set, get and removexattr methods and supply the s_xattr
array with fine-grained handlers.  All XFS/Linux highlevel attr handling is
rewritten from scratch and placed into fs/xfs/linux-2.6/xfs_xattr.c so
that it's separated from the generic low-level code.

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

  Use generic set/get/remove xattr methods.

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

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

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

XFS: ASCII case-insensitive support

Implement ASCII case-insensitive support. It's primary purpose
is for supporting existing filesystems that already use this
case-insensitive mode migrated from IRIX. But, if you only need
ASCII-only case-insensitive support (ie. English only) and will
never use another language, then this mode is perfectly adequate.

ASCII-CI is implemented by generating hashes based on lower-case
letters and doing lower-case compares. It implements a new
xfs_nameops vector for doing the hashes and comparisons for
all filename operations.

To create a filesystem with this CI mode, use:
# mkfs.xfs -n version=ci <device>

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

  Setup inode ops based on CI mode

Revision 1.427 / (download) - annotate - [select for diffs], Tue May 20 04:37:50 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.426: +3 -1 lines
Diff to previous 1.426 (colored)

add missing call to xfs_filestream_unmount on xfs_mountfs failure

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

  add missing call to xfs_filestream_unmount on xfs_mountfs failure.

Revision 1.426 / (download) - annotate - [select for diffs], Tue May 20 04:36:59 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.425: +6 -7 lines
Diff to previous 1.425 (colored)

rename error2 goto label in xfs_fs_fill_super

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

  rename error2 goto label in xfs_fs_fill_super.

Revision 1.425 / (download) - annotate - [select for diffs], Tue May 20 04:36:08 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.424: +2 -8 lines
Diff to previous 1.424 (colored)

kill calls to xfs_binval in the mount error path

xfs_binval aka xfs_flush_buftarg is the first thing done in
xfs_free_buftarg, so there is no need to have duplicated calls just
before xfs_free_buftarg in the mount failure path.


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

  kill calls to xfs_binval in the mount error path

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

kill xfs_mount_init

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


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

  kill xfs_mount_init.

Revision 1.423 / (download) - annotate - [select for diffs], Tue May 20 04:34:22 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.422: +17 -6 lines
Diff to previous 1.422 (colored)

allow xfs_args_allocate to fail

Switch xfs_args_allocate to kzalloc and handle failures.


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

  allow xfs_args_allocate to fail.

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

add xfs_setup_devices helper

Split setting the block and sector size out of xfs_fs_fill_super into a
small helper to make xfs_fs_fill_super more readable.


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

  add xfs_setup_devices helper.

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

sort out opening and closing of the block devices

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

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


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

  sort out opening and closing of the block devices

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

merge xfs_mount into xfs_fs_fill_super

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


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

  merge xfs_mount into xfs_fs_fill_super.

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

merge xfs_unmount into xfs_fs_put_super / xfs_fs_fill_super

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


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

  merge xfs_unmount into xfs_fs_put_super / xfs_fs_fill_super

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

merge xfs_mntupdate into xfs_fs_remount

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


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

  merge xfs_mntupdate into xfs_fs_remount.

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

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

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

  Set up a vfsmount pointer in the xfs mount structure.

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

Remove unused arg from kmem_free()

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

This patch removes size argument from all callsites.

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

  Remove unused arg from kmem_free()

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

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

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

  Add in flag XFSMNT_NOATTR2.

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

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


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

  Add xfs_icsb_sync_counters_locked().

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

Remove periodic logging of in-core superblock counters.

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

  Remove periodic logging of in-core superblock counters.

Revision 1.412 / (download) - annotate - [select for diffs], Wed Apr 9 06:17:24 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.411: +1 -1 lines
Diff to previous 1.411 (colored)

replace remaining __FUNCTION__ occurrences

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Merge of xfs-linux-melb:xfs-kern:30775a by kenmcd.

  __FUNCTION__ is gcc-specific, use __func__

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

cleanup root inode handling in xfs_fs_fill_super

 - rename rootvp to root for clarify
 - remove useless vn_to_inode call
 - check is_bad_inode before calling d_alloc_root
 - use iput instead of VN_RELE in the error case


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

  cleanup root inode handling in xfs_fs_fill_super

Revision 1.410 / (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.409: +7 -7 lines
Diff to previous 1.409 (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.409 / (download) - annotate - [select for diffs], Fri Feb 15 15:17:21 2008 UTC (9 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.408: +2 -1 lines
Diff to previous 1.408 (colored)

Don't block pdflush when writing back inodes

When pdflush is writing back inodes, it can get stuck on inode cluster
buffers that are currently under I/O. This occurs when we write data to
multiple inodes in the same inode cluster at the same time.

Effectively, delayed allocation marks the inode dirty during the data
writeback. Hence if the inode cluster was flushed during the writeback
of the first inode, the writeback of the second inode will block waiting
for the inode cluster write to complete before writing it again for the
newly dirtied inode.

Basically, we want to avoid this from happening so we don't block
pdflush and slow down all of writeback. Hence we introduce a
non-blocking async inode flush flag that pdflush uses. If this flag is
set, we use non-blocking operations (e.g. try locks) whereever we can
to avoid blocking or extra I/O being issued.
Merge of xfs-linux-melb:xfs-kern:30501a by kenmcd.

  FLUSH_INODE flag is no longer needed when calling xfs_inode_flush().

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

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

  add __init/__exit mark to specific init/cleanup functions

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

kill xfs_root

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


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

  kill xfs_root

Revision 1.406 / (download) - annotate - [select for diffs], Mon Jan 21 14:59:58 2008 UTC (9 years, 9 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.405: +1 -3 lines
Diff to previous 1.405 (colored)

stop updating inode->i_blocks

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


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

  stop updating inode->i_blocks

Revision 1.405 / (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.404: +59 -0 lines
Diff to previous 1.404 (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.

  Add thread control code and outer loop for the new xfsaild.

Revision 1.404 / (download) - annotate - [select for diffs], Mon Dec 3 15:26:10 2007 UTC (9 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.403: +1 -2 lines
Diff to previous 1.403 (colored)

Merge up to 2.6.24-rc3
Merge of xfs-linux-melb:xfs-kern:30183a by kenmcd.

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

Move platform specific mount option parse out of core XFS code

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

  move linux specific mount option parsing into linux specific code.

Revision 1.402 / (download) - annotate - [select for diffs], Mon Oct 15 03:59:33 2007 UTC (10 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.401: +8 -0 lines
Diff to previous 1.401 (colored)

Put back the QUEUE_ORDERED_NONE test in the barrier check.

Put back the QUEUE_ORDERED_NONE test which caused us grief in sles when it was taken out
as, IIRC, it allowed md/lvm to be thought of as supporting barriers when they weren't
in some configurations.
This patch will be reverting what went in as part of a change for
the SGI-pv 964544 (SGI-Modid: xfs-linux-melb:xfs-kern:28568a).
Merge of xfs-linux-melb:xfs-kern:29882a by kenmcd.

  Put back the QUEUE_ORDERED_NONE test in the barrier check.

Revision 1.401 / (download) - annotate - [select for diffs], Wed Oct 10 04:10:00 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.400: +20 -9 lines
Diff to previous 1.400 (colored)

avoid race in sync_inodes() that can fail to write out all dirty data

In xfs_fs_sync_super() treat a sync the same as a filesystem freeze.
This is needed to force the log to disk for inodes which are not marked
dirty in the Linux inode (the inodes are marked dirty on completion of
the log I/O) and so sync_inodes() will not flush them.

In xfs_fs_write_inode() a synchronous flush will not get an EAGAIN
from xfs_inode_flush() and if an asynchronous flush returns EAGAIN
we should pass it on to the caller.  If we get an error while flushing
the inode then re-dirty it so we can try again later.
Merge of xfs-linux-melb:xfs-kern:29860a by kenmcd.

  avoid race in sync_inodes() that can fail to write out all dirty data

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

kill xfs_freeze.

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

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

  kill xfs_freeze.

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

Kill off xfs_statvfs.

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

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

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

  Kill off xfs_statvfs.

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

Ensure file size updates have been completed before writing inode to disk.
Merge of xfs-linux-melb:xfs-kern:29675a by kenmcd.

  Ensure file size updates have been completed before writing inode to disk.

Revision 1.397 / (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.396: +1 -0 lines
Diff to previous 1.396 (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.396 / (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.395: +3 -6 lines
Diff to previous 1.395 (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.395 / (download) - annotate - [select for diffs], Fri Aug 24 16:18:10 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.394: +4 -11 lines
Diff to previous 1.394 (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.394 / (download) - annotate - [select for diffs], Fri Aug 24 16:17:15 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.393: +57 -64 lines
Diff to previous 1.393 (colored)

move syncing related members from struct bhv_vfs to struct xfs_mount

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

  move sync-related members of bhv_vfs to xfs_mount.

Revision 1.393 / (download) - annotate - [select for diffs], Fri Aug 24 16:16:26 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.392: +4 -1 lines
Diff to previous 1.392 (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.392 / (download) - annotate - [select for diffs], Fri Aug 24 16:14:38 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.391: +28 -37 lines
Diff to previous 1.391 (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.391 / (download) - annotate - [select for diffs], Fri Aug 24 16:13:42 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.390: +4 -4 lines
Diff to previous 1.390 (colored)

decontaminate vfs operations from behavior details

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


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

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

Revision 1.390 / (download) - annotate - [select for diffs], Fri Aug 24 16:12:53 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.389: +5 -5 lines
Diff to previous 1.389 (colored)

remove dependency of the quota module on behaviors

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


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

  remove dependency of the quota module on behaviors

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

kill struct bhv_vnode

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


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

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

Revision 1.388 / (download) - annotate - [select for diffs], Fri Aug 24 16:08:41 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.387: +16 -22 lines
Diff to previous 1.387 (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.387 / (download) - annotate - [select for diffs], Fri Aug 24 16:06:08 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.386: +4 -5 lines
Diff to previous 1.386 (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.386 / (download) - annotate - [select for diffs], Fri Aug 24 16:05:15 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.385: +0 -1 lines
Diff to previous 1.385 (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.385 / (download) - annotate - [select for diffs], Fri Aug 24 16:04:16 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.384: +21 -17 lines
Diff to previous 1.384 (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.384 / (download) - annotate - [select for diffs], Thu Aug 2 16:10:11 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.383: +0 -4 lines
Diff to previous 1.383 (colored)

Remove xfs_physmem

Now that nobody's using it, remove xfs_physmem & friends.

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

  remove unused xfs_physmem & friends.

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

Fix remount,readonly path to flush everything correctly.

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

  Clean up data quiesce flags.

Revision 1.382 / (download) - annotate - [select for diffs], Thu May 24 06:07:02 2007 UTC (10 years, 5 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.381: +1 -3 lines
Diff to previous 1.381 (colored)

Merge up to 2.6.22-rc2
Merge of xfs-linux-melb:xfs-kern:28675a by kenmcd.

Revision 1.381 / (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.380: +2 -1 lines
Diff to previous 1.380 (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.380 / (download) - annotate - [select for diffs], Fri May 11 15:36:20 2007 UTC (10 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.379: +0 -8 lines
Diff to previous 1.379 (colored)

Barriers need to be dynamically checked and switched off

If the underlying block device sudden stops supporting barriers,
we need to handle the -EOPNOTSUPP error in a sane manner rather
than shutting downteh filesystem. If we get this error, clear the
barrier flag, reissue the I/O, and tell the world bad things are
occurring.
Merge of xfs-linux-melb:xfs-kern:28568a by kenmcd.

  We shouldn't peer down into the backing device to see if barriers
  are supported or not - the test I/O is sufficient to tell us
  this.

Revision 1.379 / (download) - annotate - [select for diffs], Wed Feb 7 02:50:13 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.378: +0 -2 lines
Diff to previous 1.378 (colored)

Remove unused header files for MAC and CAP checking functionality.

xfs_mac.h and xfs_cap.h provide definitions and macros that aren't
used anywhere in XFS at all. They are left-overs from "to be implement
at some point in the future" functionality that Irix XFS has. If this
functionality ever goes into Linux, it will be provided at a different
layer, most likely through the security hooks in the kernel so we will
never need this functionality in XFS.

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

  Remove unused xfs_cap.h/xfs_mac.h header files.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

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

Make freeze code a little cleaner.

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

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

Revision 1.377 / (download) - annotate - [select for diffs], Tue Feb 6 14:34:17 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.376: +0 -1 lines
Diff to previous 1.376 (colored)

Remove useless memory barrier

wake_up's implementation does an implicit memory barrier so the
explicit memory barrier is not needed in vfs_sync_worker.

Patch provided by Ralf Baechle.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Merge of xfs-linux-melb:xfs-kern:28032a by kenmcd.

  wake_up() provides a memory barrier so we don't need an
  explicit one in vfs_sync_worker.
  Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

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

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

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

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

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

  After the writes are frozen, simply flush out the data and wait for
  all data I/O (including direct I/O) to complete. Don't bother
  flushing the metadata out - we still have active transactions
  at this point.

Revision 1.375 / (download) - annotate - [select for diffs], Fri Jan 12 15:07:09 2007 UTC (10 years, 9 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.374: +1 -0 lines
Diff to previous 1.374 (colored)

Merge up to 2.6.20-rc4
Merge of xfs-linux-melb:xfs-kern:27915a by kenmcd.

Revision 1.374 / (download) - annotate - [select for diffs], Thu Nov 30 14:40:05 2006 UTC (10 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.373: +8 -8 lines
Diff to previous 1.373 (colored)

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

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

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

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

  noinline static function declaration cleanup.

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

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

  Use prepackaged i_flags handling functions.

Revision 1.372 / (download) - annotate - [select for diffs], Mon Oct 16 03:51:34 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.371: +1 -1 lines
Diff to previous 1.371 (colored)

Brought in a STATIC change by mistake.
It was down on our list and so I kept the export but then somehow
included the STATIC. D'oh.
This was picked up by Vlad for his dmapi build where
xfs_dm_bhv.o uses xfs_fs_type.
Merge of xfs-linux-melb:xfs-kern:27195a by kenmcd.

  Brought in a STATIC change by mistake.
  It was down on our list and so I kept the export but then somehow
  included the STATIC. D'oh.       
  This was picked up by Vlad for his dmapi build where
  xfs_dm_bhv.o uses xfs_fs_type.

Revision 1.371 / (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.370: +10 -7 lines
Diff to previous 1.370 (colored)

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

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

Really fix use after free in xfs_iunpin.

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

  Use new i_flags_lock to protect i_flags.

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

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

Revision 1.368 / (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.367: +0 -2 lines
Diff to previous 1.367 (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.367 / (download) - annotate - [select for diffs], Thu Jun 15 03:56:49 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.366: +1 -3 lines
Diff to previous 1.366 (colored)

Remove unneeded conditional code on NFS export interface related code paths.
Merge of xfs-linux-melb:xfs-kern:26250a by kenmcd.

Revision 1.366 / (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.365: +17 -25 lines
Diff to previous 1.365 (colored)

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

Revision 1.365 / (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.364: +54 -91 lines
Diff to previous 1.364 (colored)

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

Revision 1.364 / (download) - annotate - [select for diffs], Mon May 29 06:16:44 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.363: +3 -4 lines
Diff to previous 1.363 (colored)

Pull back various small mainline tidbits - percpu api changes mainly.
Merge of xfs-linux-melb:xfs-kern:26073a by kenmcd.

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

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

Revision 1.362 / (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.361: +24 -28 lines
Diff to previous 1.361 (colored)

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

Revision 1.361 / (download) - annotate - [select for diffs], Mon Mar 6 14:21:40 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.360: +50 -50 lines
Diff to previous 1.360 (colored)

Switch over from linvfs names for sb/quotactl operations for consistent naming.
Merge of xfs-linux-melb:xfs-kern:25382a by kenmcd.

Revision 1.360 / (download) - annotate - [select for diffs], Mon Mar 6 14:20:54 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.359: +4 -4 lines
Diff to previous 1.359 (colored)

Switch over from linvfs names for inode operations for consistent naming.
Merge of xfs-linux-melb:xfs-kern:25381a by kenmcd.

Revision 1.359 / (download) - annotate - [select for diffs], Mon Mar 6 14:20:06 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.358: +2 -2 lines
Diff to previous 1.358 (colored)

Switch over from linvfs names for file operations for consistent naming.
Merge of xfs-linux-melb:xfs-kern:25379a by kenmcd.

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

Switch over from linvfs names for address space ops for consistent naming.
Merge of xfs-linux-melb:xfs-kern:25378a by kenmcd.

Revision 1.357 / (download) - annotate - [select for diffs], Fri Feb 17 05:02:11 2006 UTC (11 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.356: +1 -1 lines
Diff to previous 1.356 (colored)

Fix non-debug builds with dmapi access to xfs_fs_type symbol.
Merge of xfs-linux-melb:xfs-kern:25223a by kenmcd.

Revision 1.356 / (download) - annotate - [select for diffs], Wed Feb 15 02:48:07 2006 UTC (11 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.355: +1 -3 lines
Diff to previous 1.355 (colored)

Remove direct dependency between dmapi.ko and xfs.ko causing dmapi.ko to be held in "[permanent]" mode by the xfs module.
Merge of xfs-linux-melb:xfs-kern:25191a by kenmcd.

Revision 1.355 / (download) - annotate - [select for diffs], Sun Feb 12 02:47:05 2006 UTC (11 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.354: +2 -1 lines
Diff to previous 1.354 (colored)

Flag the XFS inode cache as in need of spreading also.
Merge of xfs-linux-melb:xfs-kern:25170a by kenmcd.

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

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

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

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

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

Revision 1.352 / (download) - annotate - [select for diffs], Mon Dec 19 21:59:30 2005 UTC (11 years, 10 months ago) by yingping
Branch: MAIN
Changes since 1.351: +1 -1 lines
Diff to previous 1.351 (colored)

xfssyncd is responsible for flushing inode or device's data by extracting the work from its queue. In addition, this processing also decrement the inode's i_count. If there are any remaining works in queue before this process terminates, we have unbalanced increment and decrement of i_count. Thus it can cause assertion failure of vn_count. The fix allows xyssyncd to process any remaining work before it is shutdown.
Allow xfssyncd to process the remainin work in the queue

Revision 1.351 / (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.350: +7 -7 lines
Diff to previous 1.350 (colored)

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

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

enable write barriers by default
check for barrier-disabling conditions just once

Revision 1.349 / (download) - annotate - [select for diffs], Wed Nov 9 06:52:20 2005 UTC (11 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.348: +0 -2 lines
Diff to previous 1.348 (colored)

remove unused IGET_NOALLOC flag
remove unused IGET_NOALLOC flag

Revision 1.348 / (download) - annotate - [select for diffs], Thu Nov 3 05:01:26 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.347: +6 -6 lines
Diff to previous 1.347 (colored)

Merge back several minor mainline API changes - gfp_t, msecs_to_jiffies, schedule_timeout_interruptible.
Merge of xfs-linux-melb:xfs-kern:24287a by kenmcd.

Revision 1.347 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.346: +12 -26 lines
Diff to previous 1.346 (colored)

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

Revision 1.346 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.345: +7 -8 lines
Diff to previous 1.345 (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.345 / (download) - annotate - [select for diffs], Fri Sep 16 06:01:22 2005 UTC (12 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.344: +1 -1 lines
Diff to previous 1.344 (colored)

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

  Set inode block size to the preferred size for the filesystem

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

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

Revision 1.343 / (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.342: +66 -0 lines
Diff to previous 1.342 (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.342 / (download) - annotate - [select for diffs], Wed Aug 31 08:37:36 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.341: +9 -27 lines
Diff to previous 1.341 (colored)

Switch kernel thread handling to the kthread_ API

Revision 1.341 / (download) - annotate - [select for diffs], Mon Aug 29 06:00:29 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.340: +1 -1 lines
Diff to previous 1.340 (colored)

Backport a try_to_freeze swsusp API change from 2.6.13.
Merge of xfs-linux-melb:xfs-kern:23661a by kenmcd.

Revision 1.340 / (download) - annotate - [select for diffs], Mon Aug 22 11:43:22 2005 UTC (12 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.339: +6 -3 lines
Diff to previous 1.339 (colored)

allow a null behaviour pointer in linvfs_clear_inode

Revision 1.339 / (download) - annotate - [select for diffs], Fri Aug 12 20:24:30 2005 UTC (12 years, 2 months ago) by felixb
Branch: MAIN
Changes since 1.338: +5 -3 lines
Diff to previous 1.338 (colored)

Check if there is first behavior before calling VOP_RECLAIM
from linvfs_clear_inode(). The behavior may go away in
VOP_INACTIVE.
Check if there is first behavior before calling VOP_RECLAIM
from linvfs_clear_inode(). The behavior may go away in
VOP_INACTIVE. 

Revision 1.338 / (download) - annotate - [select for diffs], Wed Aug 3 18:10:09 2005 UTC (12 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.337: +25 -9 lines
Diff to previous 1.337 (colored)

streamline the clear_inode path

Revision 1.337 / (download) - annotate - [select for diffs], Wed Aug 3 10:53:39 2005 UTC (12 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.336: +40 -18 lines
Diff to previous 1.336 (colored)

Add infrastructure for tracking I/O completions

Revision 1.336 / (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.335: +21 -14 lines
Diff to previous 1.335 (colored)

remove struct vnode::v_type

Revision 1.335 / (download) - annotate - [select for diffs], Wed Jun 22 03:43:05 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.334: +1 -0 lines
Diff to previous 1.334 (colored)

Merge back mainline 2.6 changes - qsort and ROTL transition.
Merge of xfs-linux-melb:xfs-kern:22938a by kenmcd.

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

quiesce the filesystem proper when freezing
call VFS_SYNC(..., SYNC_QUIESCE, ...) in the freeze path

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

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

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

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

Revision 1.331 / (download) - annotate - [select for diffs], Mon Mar 21 02:44:17 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.330: +2 -0 lines
Diff to previous 1.330 (colored)

Fix sync mount option to also do metadata updates synchronously.
Merge of xfs-linux-melb:xfs-kern:21887a by kenmcd.

Revision 1.330 / (download) - annotate - [select for diffs], Fri Mar 11 13:52:58 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.329: +1 -2 lines
Diff to previous 1.329 (colored)

Fix directory inodes ioctl compat code, minor code consistency cleanups.
Merge of xfs-linux-melb:xfs-kern:21810a by kenmcd.

Revision 1.329 / (download) - annotate - [select for diffs], Thu Mar 10 14:02:40 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.328: +0 -9 lines
Diff to previous 1.328 (colored)

Compat/non-BKL ioctl transition, merged back via mainline from ak@suse.de.
Merge of xfs-linux-melb:xfs-kern:21800a by kenmcd.

Revision 1.328 / (download) - annotate - [select for diffs], Thu Mar 10 05:07:36 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.327: +1 -0 lines
Diff to previous 1.327 (colored)

Mark filesystem incore time granularity, merged back via mainline from ak@suse.de.
Merge of xfs-linux-melb:xfs-kern:21795a by kenmcd.

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

Software suspend API transition, merged back via mainline from pavel@ucw.cz.
Merge of xfs-linux-melb:xfs-kern:21792a by kenmcd.

Revision 1.326 / (download) - annotate - [select for diffs], Wed Mar 9 03:08:38 2005 UTC (12 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.325: +0 -22 lines
Diff to previous 1.325 (colored)

remove non-helpfull inode shakers
kill the xfs_inode_shaker

Revision 1.325 / (download) - annotate - [select for diffs], Fri Feb 11 02:46:15 2005 UTC (12 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.324: +6 -0 lines
Diff to previous 1.324 (colored)

Fix problems with synchronous writes returning EAGAIN incorrectly for pinned inodes.
Merge of xfs-linux-melb:xfs-kern:21460a by kenmcd.

Revision 1.324 / (download) - annotate - [select for diffs], Wed Jan 26 22:37:33 2005 UTC (12 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.323: +1 -1 lines
Diff to previous 1.323 (colored)

Fix NFS exporting with modular nfsd
fix ifdef for linvfs_export_ops

Revision 1.323 / (download) - annotate - [select for diffs], Sun Jan 9 22:23:36 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.322: +2 -98 lines
Diff to previous 1.322 (colored)

Move support code for NFS exporting to a conditionally built file
move NFS export code to xfs_export.c

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

Fix NFS inode data corruption
revert filehandles without iode generation information

Revision 1.321 / (download) - annotate - [select for diffs], Thu Dec 9 02:41:20 2004 UTC (12 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.320: +1 -1 lines
Diff to previous 1.320 (colored)

Mark several functions as being static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Merge of xfs-linux-melb:xfs-kern:20565a by kenmcd.

  Mark several functions as being static.

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

handle inode creating race
clear XFS_INEW in xfs_initialize_vnode

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

Handle inode creating race
clear XFS_INEW in xfs_initialize_vnode

Revision 1.318 / (download) - annotate - [select for diffs], Wed Oct 13 03:39:12 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.317: +10 -3 lines
Diff to previous 1.317 (colored)

Fix regression when running in laptop mode, causes hangs on sync.
Merge of xfs-linux-melb:xfs-kern:19744a by kenmcd.

Revision 1.317 / (download) - annotate - [select for diffs], Fri Oct 1 05:54:34 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.316: +1 -2 lines
Diff to previous 1.316 (colored)

Merge Antons change from mainline, disabling hw cache alignment on inode slabs.
Merge of xfs-linux-melb:xfs-kern:19633a by kenmcd.

Revision 1.316 / (download) - annotate - [select for diffs], Fri Oct 1 05:53:56 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.315: +4 -2 lines
Diff to previous 1.315 (colored)

Fix up write_inode return type to use the right signedness.
Merge of xfs-linux-melb:xfs-kern:19632a by kenmcd.

Revision 1.315 / (download) - annotate - [select for diffs], Mon Sep 27 03:34:33 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.314: +118 -27 lines
Diff to previous 1.314 (colored)

Make xfssyncd more generic, hand off out-of-space flushing to it - fixes deadlocks near full and fixes a 4KSTACKS problem in XFS.
Merge of xfs-linux-melb:xfs-kern:19600a by kenmcd.

Revision 1.314 / (download) - annotate - [select for diffs], Wed Sep 22 21:55:51 2004 UTC (13 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.313: +10 -14 lines
Diff to previous 1.313 (colored)

fix handling of bad inodes
fix xfs_initialize_vnode to only write to the linux inode for initializes dinodes

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

handle nfs requesting ino 0 gracefully
streamline linvfs_get_parent

Revision 1.312 / (download) - annotate - [select for diffs], Mon Aug 16 16:43:08 2004 UTC (13 years, 2 months ago) by hch
Branch: MAIN
Changes since 1.311: +9 -0 lines
Diff to previous 1.311 (colored)

Add 32bit ioctl translation
Add 32bit ioctl translation

Revision 1.311 / (download) - annotate - [select for diffs], Thu Jul 8 07:42:57 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.310: +1 -1 lines
Diff to previous 1.310 (colored)

sparse: fix uses of null in place of zero and vice versa.  From Chris Wedgwood.

Revision 1.310 / (download) - annotate - [select for diffs], Thu Jun 17 05:19:57 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.309: +7 -0 lines
Diff to previous 1.309 (colored)

Fix up highmem build and error handling on inode shrink register.

Revision 1.309 / (download) - annotate - [select for diffs], Tue Jun 15 07:42:37 2004 UTC (13 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.308: +23 -6 lines
Diff to previous 1.308 (colored)

Fix up memory allocators to try more hard
add inode shaker

Revision 1.308 / (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.307: +8 -0 lines
Diff to previous 1.307 (colored)

Integrate freeze/unfrezze with Linux 2.6 VFS infrastructure
re-implement ->write_super_lockfs

Revision 1.307 / (download) - annotate - [select for diffs], Tue Jun 8 15:58:58 2004 UTC (13 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.306: +2 -0 lines
Diff to previous 1.306 (colored)

Change things to use new version of xfs_dm_init/xfs_dm_exit
Change things to use new version of xfs_dm_init/xfs_dm_exit.

Revision 1.306 / (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.305: +1 -1 lines
Diff to previous 1.305 (colored)

Export/import tunable time intervals as centisecs not jiffies.

Revision 1.305 / (download) - annotate - [select for diffs], Wed May 12 07:13:01 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.304: +23 -0 lines
Diff to previous 1.304 (colored)

Merge final laptop mode patch (xfssyncd) from Bart Samwel.

Revision 1.304 / (download) - annotate - [select for diffs], Tue May 11 05:52:03 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.303: +1 -31 lines
Diff to previous 1.303 (colored)

Merge up to 2.6.6

Revision 1.303 / (download) - annotate - [select for diffs], Fri Apr 30 20:20:33 2004 UTC (13 years, 5 months ago) by roehrich
Branch: MAIN
Changes since 1.302: +0 -2 lines
Diff to previous 1.302 (colored)

Undoes mod:     xfs-linux:xfs-kern:170510a
Remove some recent dmapi changes

Revision 1.302 / (download) - annotate - [select for diffs], Thu Apr 22 19:59:32 2004 UTC (13 years, 6 months ago) by roehrich
Branch: MAIN
Changes since 1.301: +2 -0 lines
Diff to previous 1.301 (colored)

Prep for using dmapi code outside of xfs tree
Call XFS_DM_INIT/XFS_DM_EXIT during initialization

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

close external blockdevice after final flush
move buftarg handling from here

Revision 1.300 / (download) - annotate - [select for diffs], Thu Apr 8 04:59:21 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.299: +10 -6 lines
Diff to previous 1.299 (colored)

Fix some cases where we returned fill_super success, instead of failing.

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

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

Revision 1.298 / (download) - annotate - [select for diffs], Fri Mar 12 07:04:08 2004 UTC (13 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.297: +2 -2 lines
Diff to previous 1.297 (colored)

Update our calls into bdev layer, the open/close excl interfaces changed.

Revision 1.297 / (download) - annotate - [select for diffs], Fri Mar 5 03:22:11 2004 UTC (13 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.296: +1 -1 lines
Diff to previous 1.296 (colored)

Fix out-of-space deadlock when flushing delalloc data with pages locked under write.

Revision 1.296 / (download) - annotate - [select for diffs], Thu Feb 12 09:46:51 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.295: +1 -1 lines
Diff to previous 1.295 (colored)

Fix up daemon names
name the synch thread xfssyncd, as in 2.4

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

allow loadable behaviour modules in 2.6
remove quota initialization

Revision 1.294 / (download) - annotate - [select for diffs], Wed Jan 21 16:46:06 2004 UTC (13 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.293: +2 -0 lines
Diff to previous 1.293 (colored)

Fix modular build with quota enabled
Add calls to initialize and taerdown quota

Revision 1.293 / (download) - annotate - [select for diffs], Wed Jan 14 23:44:27 2004 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.292: +0 -4 lines
Diff to previous 1.292 (colored)

Fix quota build on linux 2.6 after the -dev merge

Revision 1.292 / (download) - annotate - [select for diffs], Mon Nov 17 04:32:56 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.291: +17 -0 lines
Diff to previous 1.291 (colored)

Fix error code sign on forced shutdown in iomap; sync iomap code up between 2.4 and 2.6 versions.

Revision 1.291 / (download) - annotate - [select for diffs], Fri Nov 14 15:56:03 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.290: +3 -5 lines
Diff to previous 1.290 (colored)

Make sure the version number in the XFS startup banner does not mention
specific versions or CVS checkout dates by default.
Merge of 2.4.x-xfs:slinx:144582a by sandeen.

Revision 1.290 / (download) - annotate - [select for diffs], Thu Nov 13 03:35:46 2003 UTC (13 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.289: +1 -1 lines
Diff to previous 1.289 (colored)

Fix test for large sector_t when finding max file offset
Merge of xfs-linux:slinx:160900a by sandeen.

  Test CONFIG_LBD (large sector_t turned on) not
  HAVE_SECTOR_T (LBD patch present) when determining
  max file offset.

Revision 1.289 / (download) - annotate - [select for diffs], Fri Oct 17 09:12:28 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.288: +3 -0 lines
Diff to previous 1.288 (colored)

Fix ktrace code - dont build unilaterally, and do earlier init for pagebuf use.
Merge of xfs-linux:slinx:160172a by nathans.

Revision 1.288 / (download) - annotate - [select for diffs], Wed Oct 8 18:40:57 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.287: +2 -2 lines
Diff to previous 1.287 (colored)

remove FINVIS from xfs, instead use a seperate file ops
vector for files which are opened for invisible I/O.
Merge of xfs-linux:slinx:159680a by lord.

  changed ioctl interface

Revision 1.287 / (download) - annotate - [select for diffs], Mon Oct 6 20:20:41 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.286: +1 -1 lines
Diff to previous 1.286 (colored)

merge up to 2.6.0-test6

Revision 1.286 / (download) - annotate - [select for diffs], Mon Sep 22 21:46:53 2003 UTC (14 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.285: +2 -2 lines
Diff to previous 1.285 (colored)

use dev_t less in xfs

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

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

Revision 1.284 / (download) - annotate - [select for diffs], Wed Sep 10 20:14:45 2003 UTC (14 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.283: +2 -2 lines
Diff to previous 1.283 (colored)

Merge up to 2.6.0-test5

Revision 1.283 / (download) - annotate - [select for diffs], Thu Aug 7 15:18:48 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.282: +7 -2 lines
Diff to previous 1.282 (colored)

use the 2.5 version of the arguments on sync_fs
fix linvfs_sync_super arguments

Revision 1.282 / (download) - annotate - [select for diffs], Thu Aug 7 14:51:32 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.281: +14 -0 lines
Diff to previous 1.281 (colored)

clean up the flush logic some more, make the inode flush path less
lossy since we now depend on it. Add a sync_fs callout which waits
for flush to be done.
Merge of xfs-linux:slinx:155186a by lord.

  add sync_fs call

Revision 1.281 / (download) - annotate - [select for diffs], Wed Jul 30 04:36:42 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.280: +1 -1 lines
Diff to previous 1.280 (colored)

Fix a printk compile warning

Revision 1.280 / (download) - annotate - [select for diffs], Tue Jul 29 17:05:09 2003 UTC (14 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.279: +3 -3 lines
Diff to previous 1.279 (colored)

remove some minor deltas between sgi and linus trees

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

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

Revision 1.278 / (download) - annotate - [select for diffs], Sun Jul 13 23:43:39 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.277: +7 -3 lines
Diff to previous 1.277 (colored)

Max file size tweak for LBS patches - if LBD enabled on 32 bit platforms slightly bigger files are possible
Merge of xfs-linux:slinx:153108a by nathans.

Revision 1.277 / (download) - annotate - [select for diffs], Fri Jul 11 21:02:41 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.276: +2 -2 lines
Diff to previous 1.276 (colored)

merge up to 2.5.73

Revision 1.276 / (download) - annotate - [select for diffs], Fri Jul 11 08:16:29 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.275: +8 -6 lines
Diff to previous 1.275 (colored)

Fix couple of issues in max file size calculation, print big fs setting too
Merge of xfs-linux:slinx:152972a by nathans.

Revision 1.275 / (download) - annotate - [select for diffs], Thu Jul 10 05:41:49 2003 UTC (14 years, 3 months ago) by dxm
Branch: MAIN
Changes since 1.274: +2 -8 lines
Diff to previous 1.274 (colored)

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

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

Revision 1.274 / (download) - annotate - [select for diffs], Thu Jul 10 02:12:27 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.273: +33 -5 lines
Diff to previous 1.273 (colored)

Correct the maxbytes sb value for non-pagesize filesystem block sizes, and all uses of max file size constant within XFS
Merge of xfs-linux:slinx:152845a by nathans.

Revision 1.273 / (download) - annotate - [select for diffs], Wed Jul 2 04:01:12 2003 UTC (14 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.272: +1 -1 lines
Diff to previous 1.272 (colored)

rework sysctl initialization to avoid confusion
Merge of xfs-linux:slinx:152419a by sandeen.

Revision 1.272 / (download) - annotate - [select for diffs], Tue Jul 1 16:13:07 2003 UTC (14 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.271: +4 -0 lines
Diff to previous 1.271 (colored)

add swsusp support to xfs daemons

Revision 1.271 / (download) - annotate - [select for diffs], Tue Jun 10 21:23:33 2003 UTC (14 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.270: +1 -1 lines
Diff to previous 1.270 (colored)

fix type of get_sb function, add missing const to dev_name param
fix args of linvfs_get_sb

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

fix sign of error return in mount update and statfs operations,
mount update could have returned either sign, and statfs was
just wrong.
Merge of 2.4.x-xfs:slinx:150137a by lord.

  convert sign of error return before returning to linux
  vfs in mntupdate and statfs call.

Revision 1.269 / (download) - annotate - [select for diffs], Fri May 16 06:18:07 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.268: +20 -13 lines
Diff to previous 1.268 (colored)

Small buftarg cleanup - keep code which pokes inside a buftarg all in
one spot, which lets us keep more common code in sync, 2.4/2.5 and is
slightly cleaner anyway.
Merge of 2.4.x-xfs:slinx:149231a by nathans.

  Keep all buftarg-internals code here, minor consistency cleanup too.

Revision 1.268 / (download) - annotate - [select for diffs], Wed May 14 16:01:33 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.267: +1 -1 lines
Diff to previous 1.267 (colored)

remove the excess ; which crept into the syncd thread somewhere and
basically turned it off.
Merge of 2.4.x-xfs:slinx:148955a by lord.

  remove the excess ; from syncd so it works again.

Revision 1.267 / (download) - annotate - [select for diffs], Mon May 12 09:43:12 2003 UTC (14 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.266: +55 -0 lines
Diff to previous 1.266 (colored)

Move xfs_syncd code into xfs_super.c which is the only place which uses it
Merge of 2.4.x-xfs:slinx:148433a by hch.

  Move xfs_syncd.c code here and rename daemon to xfssyncd

Revision 1.266 / (download) - annotate - [select for diffs], Mon May 5 21:36:47 2003 UTC (14 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.265: +15 -10 lines
Diff to previous 1.265 (colored)

merge Steve's sync changes over to 2.5
Merge of 2.4.x-xfs:slinx:147673a originally by lord on 05/01/03
  Rework of how xfs syncs metadata to disk. This has a number of
  benefits: We no longer walk the list of all the inodes in the
  filesystem everytime the write_super is called. If you type
  sync and then reset the box then everything is definitely
  recovered afterwards. We remove a lot of calls to
  mark_inode_dirty which did not really do us any good, and
  replace them with a single one which does. kupdated does
  less work in xfs now, freeing it to do other things.
  Finally, get the dummy log record code working, this
  means that after a period of inactivity with everything
  on disk, we clean the log so that recovery does not 
  have any work to do.
  stop and start the syncd thread on mount and unmount,
  clear s_dirt after write_super calls into xfs rather than
  before, do not set the sb_dirt flag if write_inode fails to
  flush an inode.

Merge of 2.4.x-xfs:slinx:147897a originally by hch on 05/05/03
  small fixes for the sync changes
  check linvfs_start_syncd retval

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

Merge the header file stuff over
Merge of 2.4.x-xfs:slinx:147627a originally by cattelan on 05/01/03
  Rework the way xfs includes xfs_<blah>.h headers.
  This reduces a lot of the compile dependenciesÂ, 
  and should reduce some of the "recompile all" situations.

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

Make MODULE_AUTHOR consistent with other SGI modules
Merge of 2.4.x-xfs:slinx:147516a originally by sandeen on 04/30/03
  Make MODULE_AUTHOR consistent with other SGI modules

Revision 1.263 / (download) - annotate - [select for diffs], Wed Apr 23 16:29:11 2003 UTC (14 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.262: +1 -250 lines
Diff to previous 1.262 (colored)

Rework the remount path to better seperate the linux vfs portion
and the xfs portion of it. Move the code to more appropriate
places in the tree.
Merge of 2.4.x-xfs:slinx:144140a originally by lord on 04/10/03
  change remount code so that it calls a vfs operation within
  XFS. reorganize the code underneath it. This better separates
  the linux vfs code and the xfs specific code and will let
  us enable more options on remount.
  make remount call VFS_PARSEARGS for argument parsing and VFS_MNTUPDATE
  move argument parsing code out of here

Revision 1.262 / (download) - annotate - [select for diffs], Wed Apr 16 20:09:14 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.261: +3 -3 lines
Diff to previous 1.261 (colored)

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

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

Revision 1.261 / (download) - annotate - [select for diffs], Wed Apr 16 02:38:25 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.260: +1 -0 lines
Diff to previous 1.260 (colored)

UUID cleanup - remove unused functions, create a decent table abstraction
and make the mount code simpler in the process.
Merge of 2.4.x-xfs:slinx:144596a by nathans.

  Initialize uuid code.

Revision 1.260 / (download) - annotate - [select for diffs], Sat Mar 29 17:54:23 2003 UTC (14 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.259: +3 -2 lines
Diff to previous 1.259 (colored)

Fix build - bdevname
fix call to bdevname, now takes 2 args

Revision 1.259 / (download) - annotate - [select for diffs], Mon Mar 17 07:19:15 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.258: +7 -13 lines
Diff to previous 1.258 (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.
Merge of 2.4.x-xfs:slinx:141850a by nathans.

  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.258 / (download) - annotate - [select for diffs], Mon Mar 17 05:07:05 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.257: +31 -61 lines
Diff to previous 1.257 (colored)

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

Revision 1.257 / (download) - annotate - [select for diffs], Wed Mar 12 06:04:25 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.256: +286 -290 lines
Diff to previous 1.256 (colored)

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

Revision 1.256 / (download) - annotate - [select for diffs], Tue Mar 4 16:45:43 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.255: +3 -1 lines
Diff to previous 1.255 (colored)

remove VFS_DOUNMOUNT

Revision 1.255 / (download) - annotate - [select for diffs], Wed Feb 19 17:13:22 2003 UTC (14 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.254: +3 -3 lines
Diff to previous 1.254 (colored)

Under heavy load, there are not enough hash buckets to deal with
the number of metadata buffers. Use the same techniques as the
regular linux buffer cache here.

use more hash buckets for holding xfs metadata, and use the same
hash algorithm as the regular buffer cache.
Merge of 2.4.x-xfs:slinx:139864a originally by lord on 02/14/03
  use more hash buckets for holding xfs metadata, and use the same
  hash algorithm as the regular buffer cache.
  initialize xfs_physmem before pagebuf

Revision 1.254 / (download) - annotate - [select for diffs], Wed Dec 18 04:27:20 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.253: +9 -2 lines
Diff to previous 1.253 (colored)

Fix up setting up of sector size for the superblock buffer after the
very first read on mount.  Make some of the surrounding code dealing
with buffers consistent.
Merge of 2.4.x-xfs:slinx:135452a by nathans.

Revision 1.253 / (download) - annotate - [select for diffs], Tue Dec 17 16:06:38 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.252: +12 -19 lines
Diff to previous 1.252 (colored)

merge up to 2.5.52

Revision 1.252 / (download) - annotate - [select for diffs], Mon Dec 9 20:05:40 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.251: +2 -0 lines
Diff to previous 1.251 (colored)

add a new xfs_mount parameter to xfs_blkdev_get
Merge of 2.4.x-xfs:slinx:134788a by hch.

  add a new xfs_mount parameter to xfs_blkdev_get.  It's unused so
  far but will be needed for proper kernel-level exclusion in 2.5

Revision 1.251 / (download) - annotate - [select for diffs], Fri Dec 6 22:28:51 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.250: +0 -12 lines
Diff to previous 1.250 (colored)

remove linvfs_put_inode
Merge of 2.4.x-xfs:slinx:134630a by hch.

  remove linvfs_put_inode

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

Undoes mod:     2.5.x-xfs:slinx:134198a
undo LOOKUP_POSITIVE changes

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

add missing LOOKUP_POSITIVE to path_lookup calls
add missing LOOKUP_POSITIVE

Revision 1.248 / (download) - annotate - [select for diffs], Mon Dec 2 16:56:50 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.247: +8 -0 lines
Diff to previous 1.247 (colored)

move remaining buftarg manpiluation from pagebuf to xfs
Merge of 2.4.x-xfs:slinx:134068a by hch.

  implement xfs_relse_buftarg

Revision 1.247 / (download) - annotate - [select for diffs], Mon Dec 2 06:09:49 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.246: +4 -3 lines
Diff to previous 1.246 (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.
Merge of 2.4.x-xfs:slinx:134065a by nathans.

  Don't unilaterally set the sector size to 512 bytes, remove unneeded code. 

Revision 1.246 / (download) - annotate - [select for diffs], Mon Nov 25 22:12:32 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.245: +0 -11 lines
Diff to previous 1.245 (colored)

remove dead pbr_flags field from struct xfs_buftarg
remove dead pbr_flags field from struct xfs_buftarg

Revision 1.245 / (download) - annotate - [select for diffs], Wed Nov 20 06:22:15 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.244: +18 -1 lines
Diff to previous 1.244 (colored)

pagebuf can now take a configurable sector size (512 -> 32K).
Merge of 2.4.x-xfs:slinx:132942a by nathans.

  When initialising a new pagebuf target, allow a sector size to be passed in.

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

Remove rootfs special-casing in the quota code
Merge of 2.4.x-xfs:slinx:132862a by hch.

  remove MNTOPT_MRQUOTA

Revision 1.243 / (download) - annotate - [select for diffs], Tue Nov 5 15:04:39 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.242: +1 -1 lines
Diff to previous 1.242 (colored)

Add XFS_POSIX_ACL to control ACL compilation in xfs
switch to CONFIG_XFS_POSIX_ACL

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

merge up to 2.5.45

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

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

Revision 1.240 / (download) - annotate - [select for diffs], Mon Nov 4 18:40:21 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.239: +0 -0 lines
Diff to previous 1.239 (colored)

Fix a typo - eediot!
Merge of 2.4.x-xfs:slinx:131471a by lord.

Revision 1.239 / (download) - annotate - [select for diffs], Wed Oct 30 04:08:10 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.238: +4 -4 lines
Diff to previous 1.238 (colored)

Fix a couple of issues on the error path when dealing with external
devices (log/realtime).  path_init was missing the LOOKUP_POSITIVE
flag, so it would fail to tell us if the file doesn't exist, there
was a spot where we were returning the wrong signedness for the code,
and when mount is failing, we can call into xfs_blkdev_put with a
NULL pointer depending on which devices were initialised and which
weren't.
Merge of 2.4.x-xfs:slinx:131469a by nathans.

Revision 1.238 / (download) - annotate - [select for diffs], Mon Oct 28 14:32:31 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.237: +36 -4 lines
Diff to previous 1.237 (colored)

fix kNFSD operation
implement get_dentry export operation

Revision 1.237 / (download) - annotate - [select for diffs], Wed Oct 23 04:34:02 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.236: +152 -20 lines
Diff to previous 1.236 (colored)

Move a couple of routines with knowledge of pagebuf targets, block devices,
and struct inodes down in with the rest of the Linux-specific code.
Merge of 2.4.x-xfs:slinx:130824a by nathans.

Revision 1.236 / (download) - annotate - [select for diffs], Mon Oct 21 05:15:04 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.235: +1 -1 lines
Diff to previous 1.235 (colored)

Fix compile error from non-DMAPI enabled builds.
Merge of 2.4.x-xfs:slinx:130575a by nathans.

  Fix compile error from non-DMAPI enabled builds.

Revision 1.235 / (download) - annotate - [select for diffs], Mon Oct 21 05:12:46 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.234: +26 -26 lines
Diff to previous 1.234 (colored)

Minor header reorg to get xfs_lrw.h back into line with the other linux
headers.  Allows us to not repeat the xfs_stratcb declaration in several
places.  Also rename linvfs_set_inode_ops to xfs_set_inodeops since its
an auxillary routine not a linvfs method.
Merge of 2.4.x-xfs:slinx:130573a by nathans.

  Rename linvfs_set_inode_ops to xfs_set_inodeops since its an auxillary routine
  not a linvfs method.

Revision 1.234 / (download) - annotate - [select for diffs], Mon Oct 21 03:51:32 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.233: +54 -15 lines
Diff to previous 1.233 (colored)

Fix an oversight in the mount option parsing code which would result in
a kernel panic on certain option strings.
Merge of 2.4.x-xfs:slinx:130571a by nathans.

  Fix an oversight in the mount option parsing code which would result in
  a kernel panic on certain option strings.

Revision 1.233 / (download) - annotate - [select for diffs], Fri Oct 11 17:09:52 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.232: +3 -0 lines
Diff to previous 1.232 (colored)

bring the 32 bit inode flag back into line with the Irix version.
Change the bit used for the flag, and pass it in from the mount
arguments rather than setting it at a lower level.
Merge of 2.4.x-xfs:slinx:128653a by lord.

  add the 32 bit inode flag to the mount arguments

Revision 1.232 / (download) - annotate - [select for diffs], Tue Oct 8 00:44:29 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.231: +75 -73 lines
Diff to previous 1.231 (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.
Merge of 2.4.x-xfs:slinx:129282a by nathans.

  Deprecate the irixsgid mount option.  Move the new code dealing with
  showing mount args closer to the parsing code, and also make it use
  the predefined mount option strings (fixes inconsistencies in quota
  option reporting in the process).

Revision 1.231 / (download) - annotate - [select for diffs], Wed Oct 2 20:17:00 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.230: +1 -11 lines
Diff to previous 1.230 (colored)

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

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

  remove a linvfs_revalidate_core call, remove the inode
  state checks and unlock_new_inode call from the
  linvfs_set_inode_ops function.

Revision 1.230 / (download) - annotate - [select for diffs], Wed Oct 2 20:03:26 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.229: +1 -2 lines
Diff to previous 1.229 (colored)

Remove dead variable.
Remove dead variable in linvfs_put_super.

Revision 1.229 / (download) - annotate - [select for diffs], Mon Sep 30 11:56:35 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.228: +0 -4 lines
Diff to previous 1.228 (colored)

Don't reset blocksize on umount
Remove setting of the blocksize to hardsect size in linvfs_put_super

Revision 1.228 / (download) - annotate - [select for diffs], Mon Sep 30 10:11:19 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.227: +0 -49 lines
Diff to previous 1.227 (colored)

More mount cleanups
Merge of 2.4.x-xfs:slinx:128571a by hch.

  Remove spectodev and spectodevs functions.

Revision 1.227 / (download) - annotate - [select for diffs], Fri Sep 13 03:10:49 2002 UTC (15 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.226: +143 -127 lines
Diff to previous 1.226 (colored)

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

  tidy up code consistency - same argument formatting throughout and make
  consistent use of STATIC.

Revision 1.226 / (download) - annotate - [select for diffs], Thu Sep 5 18:46:27 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.225: +0 -2 lines
Diff to previous 1.225 (colored)

Remove mrquota/QUOTAMAYBE mount option
Merge of 2.4.x-xfs:slinx:126776a by sandeen.

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

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

  remove an unneeded #include file.

Revision 1.224 / (download) - annotate - [select for diffs], Wed Sep 4 22:26:29 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.223: +74 -0 lines
Diff to previous 1.223 (colored)

Merge of 2.4.x-xfs:slinx:126637a originally by sandeen on 09/03/02
  add show_options sb method

Revision 1.223 / (download) - annotate - [select for diffs], Wed Aug 28 19:30:08 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.222: +0 -1 lines
Diff to previous 1.222 (colored)

simplify cred code
Merge of 2.4.x-xfs:slinx:126271a by lord.

Revision 1.222 / (download) - annotate - [select for diffs], Mon Aug 26 17:41:03 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.221: +2 -2 lines
Diff to previous 1.221 (colored)

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

  no parameters on xfs_init

Revision 1.221 / (download) - annotate - [select for diffs], Sat Aug 24 13:13:46 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.220: +1 -1 lines
Diff to previous 1.220 (colored)

remove unused flags
Merge of 2.4.x-xfs:slinx:125884a by lord.

Revision 1.220 / (download) - annotate - [select for diffs], Fri Aug 16 21:27:19 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.219: +4 -2 lines
Diff to previous 1.219 (colored)

extend the flush_inode interface in xfs
Merge of 2.4.x-xfs:slinx:125305a by lord.

Revision 1.219 / (download) - annotate - [select for diffs], Thu Aug 15 16:08:40 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.218: +0 -39 lines
Diff to previous 1.218 (colored)

Merge of 2.4.x-xfs:slinx:124892a originally by lord on 08/13/02
  rationalize xfs <-> pagebuf interface

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

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

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

Revision 1.217 / (download) - annotate - [select for diffs], Fri Aug 2 17:42:30 2002 UTC (15 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.216: +10 -0 lines
Diff to previous 1.216 (colored)

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

  fix build after dmapi src move

Revision 1.216 / (download) - annotate - [select for diffs], Wed Jul 31 18:55:34 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.215: +4 -2 lines
Diff to previous 1.215 (colored)

Add some versioning to XFS
Merge of 2.4.x-xfs:slinx:124066a by sandeen.

Revision 1.215 / (download) - annotate - [select for diffs], Mon Jul 29 21:31:37 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.214: +12 -32 lines
Diff to previous 1.214 (colored)

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

  Allow logbsize to be specified in kilobytes
  Remove bounds checks for logbsize,logbufs,iosize that are 
  duplicated in xfs_cmountfs.
  Don't allow "logbufs=none" option & subsequent fs trashing!

Revision 1.214 / (download) - annotate - [select for diffs], Fri Jul 26 22:50:28 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.213: +0 -1 lines
Diff to previous 1.213 (colored)

remove unnecessary includes, ensure config.h
Merge of 2.4.x-xfs:slinx:123787a by sandeen.

Revision 1.213 / (download) - annotate - [select for diffs], Fri Jul 26 22:39:57 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.212: +4 -29 lines
Diff to previous 1.212 (colored)

kill buftarg.bd_targ
Merge of 2.4.x-xfs:slinx:123688a by sandeen.

Revision 1.212 / (download) - annotate - [select for diffs], Thu Jul 25 18:50:28 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.211: +7 -0 lines
Diff to previous 1.211 (colored)

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

Revision 1.211 / (download) - annotate - [select for diffs], Wed Jul 24 17:57:10 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.210: +12 -12 lines
Diff to previous 1.210 (colored)

cosmetic stuff in xfs_super.c

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

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

Revision 1.209 / (download) - annotate - [select for diffs], Mon Jul 22 14:24:36 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.208: +21 -16 lines
Diff to previous 1.208 (colored)

remove kdev_t abuse from XFS

Revision 1.208 / (download) - annotate - [select for diffs], Fri Jul 19 15:43:59 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.207: +5 -5 lines
Diff to previous 1.207 (colored)

One more initializer format change

Revision 1.207 / (download) - annotate - [select for diffs], Thu Jul 18 23:03:01 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.206: +19 -20 lines
Diff to previous 1.206 (colored)

Merge of 2.4.x-xfs:slinx:123240a originally by lord on 07/18/02
  do not pass sys_cred into mount/umount or sync

Merge of 2.4.x-xfs:slinx:123241a originally by sandeen on 07/18/02
  update Designated initializer format

Revision 1.206 / (download) - annotate - [select for diffs], Thu Jul 18 18:38:16 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.205: +1 -2 lines
Diff to previous 1.205 (colored)

fix compiler warning

Revision 1.205 / (download) - annotate - [select for diffs], Thu Jul 18 15:13:49 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.204: +8 -15 lines
Diff to previous 1.204 (colored)

Merge of 2.4.x-xfs:slinx:123123a originally by lord on 07/16/02
  rename xfs_args to xfs_mount_args

Revision 1.204 / (download) - annotate - [select for diffs], Mon Jul 15 15:30:55 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.203: +0 -2 lines
Diff to previous 1.203 (colored)

xfs does export symbols
Merge of 2.4.x-xfs:slinx:122954a by lord.

Revision 1.203 / (download) - annotate - [select for diffs], Mon Jul 15 14:06:30 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.202: +4 -9 lines
Diff to previous 1.202 (colored)

rationalize mount arguments
Merge of 2.4.x-xfs:slinx:122852a by lord.

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

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

Revision 1.201 / (download) - annotate - [select for diffs], Tue Jul 9 20:48:37 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.200: +36 -16 lines
Diff to previous 1.200 (colored)

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

  Ease up on stack; allocate xfs_args struct for linvfs_read_super
  and linvfs_remount

Revision 1.200 / (download) - annotate - [select for diffs], Tue Jul 9 03:18:37 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.199: +5 -1 lines
Diff to previous 1.199 (colored)

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

  change write_inode method to call into VOP_IFLUSH

Revision 1.199 / (download) - annotate - [select for diffs], Mon Jul 8 19:35:46 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.198: +15 -19 lines
Diff to previous 1.198 (colored)

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

  Remove XFS mount opt flags that are handled in the Linux VFS: noatime, rw, ro
  Don't assign MS_RDONLY VFS flag to xfs args flags
  Don't fake out 32BITINODES as an argument, just default it later
  Message about "osyncisdsync" going away
  Rework linvfs_remount to allow modification of "noatime"

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

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

Revision 1.197 / (download) - annotate - [select for diffs], Mon Jun 24 14:30:46 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.196: +3 -27 lines
Diff to previous 1.196 (colored)

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

  Remove linvfs_dmapi_mount().

Revision 1.196 / (download) - annotate - [select for diffs], Mon Jun 24 14:02:36 2002 UTC (15 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.195: +13 -4 lines
Diff to previous 1.195 (colored)

Move the dmapi mount event entirely into XFS.  Add a new mount option,
borrowed from the Imprezzo folks, to specify the mountpoint for the dmapi
filesystem.

Now mount dmapi filesystems this way:

	mount -o dmapi -o mtpt=/mnts/dmi1 /dev/sda7 /mnts/dmi1
Merge of 2.4.x-xfs:slinx:121886a by lord.

  No Message Supplied

Revision 1.195 / (download) - annotate - [select for diffs], Tue Jun 18 20:50:00 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.194: +6 -2 lines
Diff to previous 1.194 (colored)

Merge of 2.4.x-xfs:slinx:121875b by lord.

  Parse new bufsize parameters

Revision 1.194 / (download) - annotate - [select for diffs], Tue Jun 18 20:10:28 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.193: +2 -1 lines
Diff to previous 1.193 (colored)

merge up to 2.5.22

Revision 1.193 / (download) - annotate - [select for diffs], Tue Jun 18 16:23:04 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.192: +5 -47 lines
Diff to previous 1.192 (colored)

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

  Remove covered vnode pointer - we do not need it

Revision 1.192 / (download) - annotate - [select for diffs], Mon Jun 17 15:47:07 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.191: +5 -20 lines
Diff to previous 1.191 (colored)

Merge of 2.4.x-xfs:slinx:121659a originally by lord on 06/14/02
  more small cleanups

Revision 1.191 / (download) - annotate - [select for diffs], Thu Jun 13 18:06:04 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.190: +0 -10 lines
Diff to previous 1.190 (colored)

remove grio code
Merge of 2.4.x-xfs:slinx:121492a by lord.

Revision 1.190 / (download) - annotate - [select for diffs], Tue Jun 11 19:11:07 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.189: +0 -11 lines
Diff to previous 1.189 (colored)

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

  Just remove delete_inode altogether; VFS will call clear_inode if it's not there

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

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

Revision 1.188 / (download) - annotate - [select for diffs], Sun Jun 9 12:38:16 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.187: +0 -98 lines
Diff to previous 1.187 (colored)

use more kernel builtins for dcache handling

Revision 1.187 / (download) - annotate - [select for diffs], Wed Jun 5 22:03:56 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.186: +11 -22 lines
Diff to previous 1.186 (colored)

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

  Clean up delete_inode path; just call clear_inode.

Revision 1.186 / (download) - annotate - [select for diffs], Wed Jun 5 18:10:42 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.185: +5 -6 lines
Diff to previous 1.185 (colored)

*** empty log message ***

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

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

Revision 1.184 / (download) - annotate - [select for diffs], Fri May 31 22:19:43 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.183: +2 -2 lines
Diff to previous 1.183 (colored)

merge up to 2.5.19

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

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

Revision 1.182 / (download) - annotate - [select for diffs], Thu May 30 06:47:06 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.181: +8 -0 lines
Diff to previous 1.181 (colored)

reconcile minor differences between the 2.4 and 2.5 XFS trees.
the ino64 mount option parsing code was missing on 2.5 only.

Revision 1.181 / (download) - annotate - [select for diffs], Tue May 28 22:48:05 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.180: +0 -3 lines
Diff to previous 1.180 (colored)

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

  Remove cvp, we set it but never use it.

Revision 1.180 / (download) - annotate - [select for diffs], Fri May 24 15:52:49 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.179: +3 -0 lines
Diff to previous 1.179 (colored)

Merge of 2.4.x-xfs:slinx:120152a originally by lord on 05/24/02
  Add nologflush mount option - noflush meaning the drive write cache

Revision 1.179 / (download) - annotate - [select for diffs], Wed May 22 15:26:34 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.178: +44 -3 lines
Diff to previous 1.178 (colored)

merge up to 2.5.17

Revision 1.178 / (download) - annotate - [select for diffs], Tue May 21 19:57:45 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.177: +3 -3 lines
Diff to previous 1.177 (colored)

Merge of 2.4.x-xfs:slinx:119308a originally by lord on 05/16/02
  Set s_blocksize based on filesystem blocksize, not always 512

Revision 1.177 / (download) - annotate - [select for diffs], Mon May 6 17:50:49 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.176: +17 -17 lines
Diff to previous 1.176 (colored)

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

  Change fh_to_dentry/dentry_to_fh methods to only use 32 
  bits of inode number

Revision 1.176 / (download) - annotate - [select for diffs], Fri May 3 15:00:23 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.175: +6 -1 lines
Diff to previous 1.175 (colored)

Merge of 2.4.x-xfs:slinx:118073a originally by sandeen on 05/02/02
  Remove linvfs_set_inode_ops from linvfs_read_super, done elsewhere now
  Return immediately from linvfs_set_inode_ops if it's not a new inode
  Unlock new inode when livnfs_set_inode_ops is finished.

Revision 1.175 / (download) - annotate - [select for diffs], Tue Apr 30 10:12:35 2002 UTC (15 years, 5 months ago) by sandeen
Branch: MAIN
Changes since 1.174: +3 -0 lines
Diff to previous 1.174 (colored)

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

  add irixsgid mount opton to mimic irix sgid bit inheritance

Revision 1.174 / (download) - annotate - [select for diffs], Wed Apr 24 14:52:56 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.173: +2 -2 lines
Diff to previous 1.173 (colored)

merge up to 2.5.9

Revision 1.173 / (download) - annotate - [select for diffs], Fri Apr 19 08:45:09 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.172: +4 -5 lines
Diff to previous 1.172 (colored)

merge up to 2.5.8

Revision 1.172 / (download) - annotate - [select for diffs], Tue Mar 26 17:26:50 2002 UTC (15 years, 7 months ago) by roehrich
Branch: MAIN
Changes since 1.171: +3 -2 lines
Diff to previous 1.171 (colored)

To fix dm_handle_to_path() I need to be able to open a file by its handle,
when I don't know which filesystem the handle belongs to--meaning, I don't
have an open filedescriptor that I could use in, say,
ioctl(XFS_IOC_OPEN_BY_HANDLE), which means I don't have access to a vfsmount
ptr, which means I can't fully populate a new "struct file", which means
I'm giving the user a new filedescriptor that isn't safe to use.

This mod allows DMAPI to keep a vfsmount pointer that was used during the
mount event, and in a followup mod I will use that pointer for an
open_by_handle operation.
Merge of 2.4.x-xfs:slinx:114620a by lord.

  Change linvfs_dmapi_mount to take vfsmount ptr rather than super_block.

Revision 1.171 / (download) - annotate - [select for diffs], Tue Mar 26 17:03:02 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.170: +7 -3 lines
Diff to previous 1.170 (colored)

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

  rationalize xfs vnode layer code

Revision 1.170 / (download) - annotate - [select for diffs], Thu Mar 14 20:12:00 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.169: +1 -1 lines
Diff to previous 1.169 (colored)

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

  Compiler fix for gcc 3.1, remove call to fss

Revision 1.169 / (download) - annotate - [select for diffs], Wed Mar 13 17:36:24 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.168: +1 -0 lines
Diff to previous 1.168 (colored)

merge up to 2.5.7-pre1

Revision 1.168 / (download) - annotate - [select for diffs], Fri Mar 8 21:05:27 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.167: +4 -10 lines
Diff to previous 1.167 (colored)

merge up to 2.5.6

Revision 1.167 / (download) - annotate - [select for diffs], Tue Mar 5 07:40:55 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.166: +6 -6 lines
Diff to previous 1.166 (colored)

Merge of 2.4.x-xfs:slinx:113294b originally by nathans on 03/04/02
  Update to match minor field renaming from Jans new patches.

Revision 1.166 / (download) - annotate - [select for diffs], Thu Feb 28 04:43:52 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.165: +3 -3 lines
Diff to previous 1.165 (colored)

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

  fix compile warning.

Revision 1.165 / (download) - annotate - [select for diffs], Tue Feb 26 04:01:45 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.164: +3 -6 lines
Diff to previous 1.164 (colored)

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

  rename EXT_ATTR -> XATTR.

Revision 1.164 / (download) - annotate - [select for diffs], Tue Feb 26 03:24:19 2002 UTC (15 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.163: +6 -1 lines
Diff to previous 1.163 (colored)

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

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

Revision 1.163 / (download) - annotate - [select for diffs], Wed Feb 20 03:12:35 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.162: +8 -1 lines
Diff to previous 1.162 (colored)

Merge of 2.4.x-xfs:slinx:111941a originally by sandeen on 02/15/02
  Watch out for negative dentries when looking up log, rtdev devices from
  mount options.

Merge of 2.4.x-xfs:slinx:111946a originally by sandeen on 02/15/02
  Handle new osyncisosync mount option, osyncisdsync is the default,
  so handling it is a no-op.

Revision 1.162 / (download) - annotate - [select for diffs], Tue Feb 12 20:25:39 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.161: +5 -3 lines
Diff to previous 1.161 (colored)

use defined constants for iclog counts
Merge of 2.4.x-xfs:slinx:111602a by lord.

Revision 1.161 / (download) - annotate - [select for diffs], Sat Feb 9 21:42:31 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.160: +19 -8 lines
Diff to previous 1.160 (colored)

merge up to 2.5.4-pre5

Revision 1.160 / (download) - annotate - [select for diffs], Thu Jan 31 11:48:25 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.159: +5 -13 lines
Diff to previous 1.159 (colored)

merge LINVFS_GET_VN_ADDRESS and LINVFS_GET_VP

Revision 1.159 / (download) - annotate - [select for diffs], Thu Jan 31 11:17:26 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.158: +2 -7 lines
Diff to previous 1.158 (colored)

Use PF_FSTRANS to detect being in a transaction

Revision 1.158 / (download) - annotate - [select for diffs], Fri Jan 25 23:31:26 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.157: +75 -7 lines
Diff to previous 1.157 (colored)

vnode/inode layout and allocation changed

Revision 1.157 / (download) - annotate - [select for diffs], Thu Jan 17 22:19:10 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.156: +2 -0 lines
Diff to previous 1.156 (colored)

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

  Turn off the fhandle to dentry and dentry to fhandle calls, they appear
  to cause some people problems.

Revision 1.156 / (download) - annotate - [select for diffs], Sun Jan 13 13:14:04 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.155: +5 -1 lines
Diff to previous 1.155 (colored)

Merge pagebuf module into XFS
Merge of 2.4.x-xfs:slinx:109482a by lord.

Revision 1.155 / (download) - annotate - [select for diffs], Wed Jan 9 05:59:58 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.154: +10 -2 lines
Diff to previous 1.154 (colored)

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

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

Revision 1.154 / (download) - annotate - [select for diffs], Mon Jan 7 20:06:57 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.153: +2 -4 lines
Diff to previous 1.153 (colored)

merge up to 2.5.2-pre9

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

merge up to 2.5.2-pre6

Revision 1.152 / (download) - annotate - [select for diffs], Thu Dec 20 16:00:03 2001 UTC (15 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.151: +0 -1 lines
Diff to previous 1.151 (colored)

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

  Remove unneeded bdput (blkdev_put does it now)

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

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

  Now make sure log parameters are initialized

Revision 1.150 / (download) - annotate - [select for diffs], Tue Dec 18 14:59:56 2001 UTC (15 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.149: +4 -1 lines
Diff to previous 1.149 (colored)

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

  If there are no arguments to parse, do not parse them.

Revision 1.149 / (download) - annotate - [select for diffs], Mon Dec 17 19:01:06 2001 UTC (15 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.148: +96 -1 lines
Diff to previous 1.148 (colored)

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

  Add fh_to_dentry and dentry_to_fh calls for xfs

Revision 1.148 / (download) - annotate - [select for diffs], Tue Dec 11 22:36:16 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.147: +0 -10 lines
Diff to previous 1.147 (colored)

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

  No Message Supplied

Revision 1.147 / (download) - annotate - [select for diffs], Tue Dec 11 22:33:45 2001 UTC (15 years, 10 months ago) by roehrich
Branch: MAIN
Changes since 1.146: +2 -2 lines
Diff to previous 1.146 (colored)

If I build dmapi as a module then CONFIG_XFS_DMAPI won't be set--it'll
be CONFIG_XFS_DMAPI_MODULE instead.  So switch to using CONFIG_HAVE_XFS_DMAPI
to see if DMAPI is being used, whether dmapi is a module or not.
Merge of 2.4.x-xfs:slinx:107752a by lord.

  No Message Supplied

Revision 1.146 / (download) - annotate - [select for diffs], Tue Dec 11 15:48:27 2001 UTC (15 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.145: +2 -0 lines
Diff to previous 1.145 (colored)

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

  Add 32 bit inode flag to mount options

Revision 1.145 / (download) - annotate - [select for diffs], Thu Dec 6 17:48:40 2001 UTC (15 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.144: +2 -3 lines
Diff to previous 1.144 (colored)

merge up to 2.5.1-pre5

Revision 1.144 / (download) - annotate - [select for diffs], Thu Oct 25 21:35:51 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.143: +11 -2 lines
Diff to previous 1.143 (colored)

Back out a bit of the code - I found a box which did not like it.

Revision 1.143 / (download) - annotate - [select for diffs], Thu Oct 25 19:19:10 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.142: +2 -11 lines
Diff to previous 1.142 (colored)

merge up to 2.4.13

Revision 1.142 / (download) - annotate - [select for diffs], Thu Oct 25 19:15:10 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.141: +0 -12 lines
Diff to previous 1.141 (colored)

fixup remount readonly code

Revision 1.141 / (download) - annotate - [select for diffs], Mon Oct 15 05:09:39 2001 UTC (16 years ago) by kaos
Branch: MAIN
Changes since 1.140: +3 -0 lines
Diff to previous 1.140 (colored)

Add MODULE_LICENSE() to XFS

Revision 1.140 / (download) - annotate - [select for diffs], Fri Oct 12 18:28:08 2001 UTC (16 years ago) by roehrich
Branch: MAIN
Changes since 1.139: +2 -1 lines
Diff to previous 1.139 (colored)

If dmapi decided to fail the mount, then it was removing the VFS_DMI
flag from the vfs--that's not a good thing to do if the filesystem is already
mounted in other places.

Revision 1.139 / (download) - annotate - [select for diffs], Wed Oct 10 07:12:17 2001 UTC (16 years ago) by nathans
Branch: MAIN
Changes since 1.138: +13 -55 lines
Diff to previous 1.138 (colored)

rework for new quotactl(2) interface changes where coopyin/out is done
outside the filesystem, up at the syscall level.

Revision 1.138 / (download) - annotate - [select for diffs], Tue Oct 2 14:11:15 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.137: +1 -1 lines
Diff to previous 1.137 (colored)

rename physmem to xfs_physmem

Revision 1.137 / (download) - annotate - [select for diffs], Fri Aug 31 03:53:05 2001 UTC (16 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.136: +33 -19 lines
Diff to previous 1.136 (colored)

rework slightly to use a s_qop vector instead of hanging a function pointer
off the s_dquot field.

Revision 1.136 / (download) - annotate - [select for diffs], Tue Aug 28 04:21:45 2001 UTC (16 years, 2 months ago) by kaos
Branch: MAIN
Changes since 1.135: +2 -0 lines
Diff to previous 1.135 (colored)

Remove unused warning message without quotas

Revision 1.135 / (download) - annotate - [select for diffs], Mon Aug 27 00:16:10 2001 UTC (16 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.134: +16 -2 lines
Diff to previous 1.134 (colored)

Fix cleanup in failed mount case, plus a couple of out of mem cases
during mount.

Revision 1.134 / (download) - annotate - [select for diffs], Thu Aug 23 11:23:54 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.133: +47 -44 lines
Diff to previous 1.133 (colored)

rework the quotactl entry point into a specific filesystem - use a vector
in the quota_mount_options structure rather than the super_operations one.

Revision 1.133 / (download) - annotate - [select for diffs], Mon Aug 20 07:39:46 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.132: +208 -218 lines
Diff to previous 1.132 (colored)

fix up STATIC functions.  fix up inline ifdefs somewhat.  rework the
argument parsing routine such that we can corrcetly handle external
log devices and realtime devices, make mount error messages consistent
with other error messages we produce.  rework spectodevs routine to
help with external devices handling also.  make read_super routine a
tad more readable.  misc formatting changes to make this code match
up with the way the rest of XFS is written.  fix a VNODE reference
count leak in the linvfs_unfreeze_fs routine (missing a VN_RELE).

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

merge upto 2.4.8

Revision 1.131 / (download) - annotate - [select for diffs], Fri Jul 6 08:00:03 2001 UTC (16 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.130: +3 -2 lines
Diff to previous 1.130 (colored)

Keith getting picky now ;) - the startup message is __initdata.

Revision 1.130 / (download) - annotate - [select for diffs], Fri Jul 6 06:22:46 2001 UTC (16 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored)

reinsert a startup message, now showing which XFS options were enabled
at start time.

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

Add nouuid mount option

Revision 1.128 / (download) - annotate - [select for diffs], Wed Jun 27 21:28:15 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.127: +0 -2 lines
Diff to previous 1.127 (colored)

remove initialization message

Revision 1.127 / (download) - annotate - [select for diffs], Mon Jun 11 20:54:07 2001 UTC (16 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.126: +0 -8 lines
Diff to previous 1.126 (colored)

remove call to start pagebuf daemon, this is done by pagebuf
itself now.

Revision 1.126 / (download) - annotate - [select for diffs], Tue Jun 5 19:58:19 2001 UTC (16 years, 4 months ago) by roehrich
Branch: MAIN
Changes since 1.125: +6 -0 lines
Diff to previous 1.125 (colored)

wrap a few things in CONFIG_XFS_DMAPI

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

remove unreachable case

Revision 1.124 / (download) - annotate - [select for diffs], Thu May 17 20:53:29 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.123: +1 -0 lines
Diff to previous 1.123 (colored)

When creating the root inode on a filesystem, make sure we fill in its
attributes.

Revision 1.123 / (download) - annotate - [select for diffs], Thu May 17 02:58:46 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.122: +32 -0 lines
Diff to previous 1.122 (colored)

Add write_super_lockfs and unlockfs methods to XFS - these call the
FREEZE and THAW ioctl calls. With an LVM patch these calls can be used
by lvm snapshotting to pause modifications during the snapshot creation.

Revision 1.122 / (download) - annotate - [select for diffs], Wed May 16 02:47:50 2001 UTC (16 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.121: +6 -3 lines
Diff to previous 1.121 (colored)

Pay attention to mount options already parsed by the vfs layer, noatime
and readonly are the ones affected here.

Revision 1.121 / (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.120: +4 -28 lines
Diff to previous 1.120 (colored)

change the structures we create to hold the metadata cache.

Revision 1.120 / (download) - annotate - [select for diffs], Fri Apr 20 15:19:04 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.119: +2 -28 lines
Diff to previous 1.119 (colored)

remove some code for getting hold of the root inode of the filesystem,
we do not actually use this in the places we were getting hold of it.

Revision 1.119 / (download) - annotate - [select for diffs], Thu Apr 19 20:12:15 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.118: +5 -0 lines
Diff to previous 1.118 (colored)

Fill in s_maxbytes

Revision 1.118 / (download) - annotate - [select for diffs], Tue Apr 17 22:46:17 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.117: +9 -13 lines
Diff to previous 1.117 (colored)

Cleanup xfs init code to use the automagic __init code

Revision 1.117 / (download) - annotate - [select for diffs], Tue Apr 17 05:16:51 2001 UTC (16 years, 6 months ago) by tes
Branch: MAIN
Changes since 1.116: +7 -0 lines
Diff to previous 1.116 (colored)

Turn on the acl flag for xfs.

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

Get rid of the last compiler warning OFF flags

Revision 1.115 / (download) - annotate - [select for diffs], Mon Apr 9 14:57:51 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.114: +1 -2 lines
Diff to previous 1.114 (colored)

change to api of pagebuf_delwri_flush

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

minor error return cleanups

Revision 1.113 / (download) - annotate - [select for diffs], Tue Apr 3 23:07:43 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.112: +0 -13 lines
Diff to previous 1.112 (colored)

Back out kiobuf based I/O path

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

support group quotas in Linux/XFS.

Revision 1.111 / (download) - annotate - [select for diffs], Fri Mar 9 15:55:37 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.110: +0 -1 lines
Diff to previous 1.110 (colored)

remove pagebuf_ioinitiate it is a) not used and b) not defined any more

Revision 1.110 / (download) - annotate - [select for diffs], Thu Mar 1 18:26:09 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.109: +8 -12 lines
Diff to previous 1.109 (colored)

Flush out delayed write buffers on a remount readonly before flushing
inodes, there are cases where inode buffers are in the delayed write
queue and will not be flushed until the pagebuf daemon finds them unless
we push here. Also remove the messages about remounting readonly or
readwrite.

Revision 1.109 / (download) - annotate - [select for diffs], Mon Feb 5 21:40:16 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.108: +2 -4 lines
Diff to previous 1.108 (colored)

Fix up mount message for kiobuf based I/O, it was a bit verbose.

Revision 1.108 / (download) - annotate - [select for diffs], Mon Feb 5 19:29:03 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.107: +4 -8 lines
Diff to previous 1.107 (colored)

revert truncate_inode_pages call to its original arguments. Make the kiocluster
mount option the same as the kio option for now, clustering happens all the
time now.

Revision 1.107 / (download) - annotate - [select for diffs], Sun Jan 14 04:36:07 2001 UTC (16 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.106: +237 -12 lines
Diff to previous 1.106 (colored)

put mount opt parsing code where it belongs.

Revision 1.106 / (download) - annotate - [select for diffs], Wed Jan 10 06:20:38 2001 UTC (16 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.105: +3 -1 lines
Diff to previous 1.105 (colored)

set i_op's in the case of a device file.
This was preventing permission updates from makeing it out to disk.

Revision 1.105 / (download) - annotate - [select for diffs], Tue Jan 9 18:38:27 2001 UTC (16 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.104: +11 -236 lines
Diff to previous 1.104 (colored)

This mod didn't seem to make much sense.
It's less modular
Besides the mount option code should be cleaned up
rather than merged.
Undoes mod:     2.4.x-xfs:slinx:81757a

Revision 1.104 / (download) - annotate - [select for diffs], Tue Jan 9 03:21:15 2001 UTC (16 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.103: +236 -11 lines
Diff to previous 1.103 (colored)

merge in mount option parsing code - this is only used here, so should
be a static routine, not off in its own file - make it so (consistent
with other fs code too).

Revision 1.103 / (download) - annotate - [select for diffs], Tue Dec 12 23:45:49 2000 UTC (16 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.102: +1 -1 lines
Diff to previous 1.102 (colored)

return a more correct error message for group quota until we return to this.

Revision 1.102 / (download) - annotate - [select for diffs], Tue Nov 28 23:46:39 2000 UTC (16 years, 10 months ago) by eric
Branch: MAIN
Changes since 1.101: +2 -0 lines
Diff to previous 1.101 (colored)

Module load copyright message

Revision 1.101 / (download) - annotate - [select for diffs], Tue Nov 28 05:49:21 2000 UTC (16 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.100: +1 -1 lines
Diff to previous 1.100 (colored)

make grp quota return einval till this is sorted out.

Revision 1.100 / (download) - annotate - [select for diffs], Thu Nov 23 00:18:12 2000 UTC (16 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.99: +0 -4 lines
Diff to previous 1.99 (colored)

remove a debug diagnostic.

Revision 1.99 / (download) - annotate - [select for diffs], Wed Nov 22 03:52:40 2000 UTC (16 years, 11 months ago) by eric
Branch: MAIN
Changes since 1.98: +0 -2 lines
Diff to previous 1.98 (colored)

remove/fix unused variables

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

rework the way we get into the xfs quota manager, fixing module build.

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

use XFS_NAME in place of "xfs".

Revision 1.96 / (download) - annotate - [select for diffs], Fri Oct 20 00:13:00 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.95: +1 -0 lines
Diff to previous 1.95 (colored)

ensure dq_op is initialized.

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

dmapi mounts are handled by do_mount via a callback.
Add linvfs_dmapi_mount().
In linvfs_read_super:
  initialize behavior head for covered vnode.
  set VFS_DMI in the vfs_flag field for dmapi mounts.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Oct 10 14:23:25 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.93: +1 -11 lines
Diff to previous 1.93 (colored)

Make xfs do module reference counting the correct way (from outside the
module)

Revision 1.93 / (download) - annotate - [select for diffs], Wed Oct 4 04:43:41 2000 UTC (17 years ago) by dxm
Branch: MAIN
Changes since 1.92: +0 -1 lines
Diff to previous 1.92 (colored)

pv 797165 remove call to uuid_init

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

remove explicit externs - get these from headers.

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

remove unused headers.

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

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

Revision 1.89 / (download) - annotate - [select for diffs], Fri Sep 22 09:46:30 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.88: +9 -0 lines
Diff to previous 1.88 (colored)

Add put_inode method to xfs

Revision 1.88 / (download) - annotate - [select for diffs], Fri Sep 15 22:13:36 2000 UTC (17 years, 1 month ago) by dxm
Branch: MAIN
Changes since 1.87: +12 -2 lines
Diff to previous 1.87 (colored)

pv 800992 rv lord don't leak ktrace buffer or inode on mount fail

Revision 1.87 / (download) - annotate - [select for diffs], Thu Sep 14 02:48:37 2000 UTC (17 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.86: +5 -4 lines
Diff to previous 1.86 (colored)

Call sync twice in the remount readonly case to deal with removed inodes
correctly.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Aug 28 20:34:04 2000 UTC (17 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.85: +5 -24 lines
Diff to previous 1.85 (colored)

Fix flags to PVFS_SYNC on read only remount.
Need to "WAIT" for everything to synced out.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Aug 21 00:25:12 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.84: +14 -0 lines
Diff to previous 1.84 (colored)

Include xfs_lrw.h for missing prototype (+the 13 other files needed
to get it to compile...)

Revision 1.84 / (download) - annotate - [select for diffs], Fri Aug 18 22:54:04 2000 UTC (17 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.83: +15 -4 lines
Diff to previous 1.83 (colored)

Call XFS_log_write_unmount_ro from remount.

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

remove put_inode method, replaced by d_iput

Revision 1.82 / (download) - annotate - [select for diffs], Wed Aug 16 18:07:38 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.81: +11 -4 lines
Diff to previous 1.81 (colored)

Add kiocluster mount option to control used of clustered writes for
delalloc page cleaning.

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

Stupid typo

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

check for kiobuf io and flag the superblock.

Initial changes to allow remounting a file system from read write to 
read only.

Revision 1.79 / (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.78: +2 -2 lines
Diff to previous 1.78 (colored)

Bring tree up to 2.4.0-test5

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

pv 797297 tidy handling of IRIX device numbers

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

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

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jul 18 14:02:16 2000 UTC (17 years, 3 months ago) by roehrich
Branch: MAIN
Changes since 1.75: +5 -1 lines
Diff to previous 1.75 (colored)

xfs_dmistubs now has stubs for dmapi_init and dmapi_uninit.  xfs_super
now calls those stubs.
add calls to dmapi_init/dmapi_uninit

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jul 17 22:11:42 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Make the inode put method happen if vnode tracing is turned off, we need
it now.

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

linvfs_put_inode now calls vn_rele.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Jul 12 20:52:12 2000 UTC (17 years, 3 months ago) by jtk
Branch: MAIN
Changes since 1.72: +3 -1 lines
Diff to previous 1.72 (colored)

Fix linvfs_set_ops for the VNON case.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jul 11 07:27:23 2000 UTC (17 years, 3 months ago) by ivanr
Branch: MAIN
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored)

add support for exporting f_fsid in the statfs structure
in this case it is mp->m_dev 

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

Change linvfs_set_inode_ops to handle the VNON case.
This routine to be changed again in a followup mod.
At read_inode time, call vn_initialize with a flag
denoting a read_inode situation.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jun 30 21:23:11 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.69: +5 -0 lines
Diff to previous 1.69 (colored)

Add address space operations for the metadata inode - just so we can have
a sync_page call. This should stop soft hangs out of the meta path with
kiobufs off.

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

Remove code which used the pagecleaner to convert delalloc pages during
unmount, we now use the sync call within xfs to do this, it knows which
inodes have delalloc space and can make a flush call on them.

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

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

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jun 12 22:19:02 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.66: +0 -8 lines
Diff to previous 1.66 (colored)

Changes to get XFS up and running in 2.4.0-test1

Revision 1.66 / (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.65: +184 -103 lines
Diff to previous 1.65 (colored)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Only use the 'read_inode', 'delete_inode' & 'clear_inode'
  methds, anything else is 'advisory' in terms of when
  the XFS vnode could be purged.
  Minor changes in 'put_super' allowing for the different
  reference counts held on the root inode/vnode.

Merge of 2.3.99pre2-xfs:slinx:62917a originally by jtk on 05/26/00
  #ifdef the call to pagebuf_delwri_flush on CONFIG_PAGE_BUF_META.
  This will likely come back out in a few days, but for now is needed.

Merge of 2.3.99pre2-xfs:slinx:62997a originally by lord on 05/30/00
  add EXPORT_NO_SYMBOLS

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

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

Merge of 2.3.99pre2-xfs:slinx:63051a originally by cattelan on 05/30/00
  Forgot to remove the includes.Forgot to remove the includes linux_to_xfs xfs_to_linux

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

Merge of 2.3.99pre2-xfs:slinx:63345a originally by lord on 06/05/00
  Simplified interface to pagebuf daemon startup, remove debug messages.

Merge of 2.3.99pre2-xfs:slinx:63642a originally by ananth on 06/07/00
  Force the page_daemon to convert all pages by setting
  low water-mark to zero.

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

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

  Ensure pages on metadata inode are gone before we tear it down - needed
  for failed mount case. Also before we disconnect the inode from the vnode,
  flush all pages out.

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

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

  Do not mess with lock state of super block in read_super
  method, this is all handled in the VFS now.

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

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

  Changes for XFS delayed allocation and page-cleaner daemon.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Jun 9 03:39:50 2000 UTC (17 years, 4 months ago) by nn100003
Branch: MAIN
Changes since 1.61: +6 -0 lines
Diff to previous 1.61 (colored)

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

  Adds a call to PVFS_SYNC before allowing FS to become read-only

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jun 9 03:38:31 2000 UTC (17 years, 4 months ago) by nn100003
Branch: MAIN
Changes since 1.60: +26 -2 lines
Diff to previous 1.60 (colored)

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

  No Message Supplied

Revision 1.60 / (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.59: +1 -1 lines
Diff to previous 1.59 (colored)

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

  Call init_special_inode for all special inode types, not
  jsut devices.

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

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

  Include linux/bitops.h

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jun 9 03:01:05 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.57: +1 -2 lines
Diff to previous 1.57 (colored)

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

  Fix compile warnings.

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

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

  Zero out the inode pointer in a vnode when iput is called
  on it.

Revision 1.56 / (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.55: +25 -11 lines
Diff to previous 1.55 (colored)

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

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jun 9 02:33:57 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.54: +12 -18 lines
Diff to previous 1.54 (colored)

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

  Fix statfs to follow the new interface - all copying is
  done at the calling level.

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

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

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

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jun 9 02:28:29 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.52: +0 -66 lines
Diff to previous 1.52 (colored)

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

  notify_change is now part of inode_operations.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jun 9 02:26:50 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.51: +13 -7 lines
Diff to previous 1.51 (colored)

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

  Bring XFS upto 2.3.99 (pre2).  

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

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

  Merge of 2.3.42-xfs:slinx:46976a by ananth.
  Don't set s_blocksize/bits to anything other than BBSIZE (512).
  Larger data blocksizes handled solely by pagebuf code.

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

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

  Merge of 2.3.42-xfs:slinx:46735a by ananth.
  spectodevs() gains an argument (struct xfs_args *args)
  spectodevs() does the Right Thing now, in terms of assigning ddev, logdev,
  and rtdev; previously it just set logdev = ddev; rtdev = 0;

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jun 9 01:53:03 2000 UTC (17 years, 4 months ago) by mostek
Branch: MAIN
Changes since 1.48: +7 -0 lines
Diff to previous 1.48 (colored)

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

  Merge of 2.3.42-xfs:slinx:46496a by ananth.
  Add delete_inode routine that does nothing.
  While put_inode with vnodes does all the releasing, iput
  keeps going (see fs/inode.c:iput).
  If there is no delete_inode routine for a file system,
  pages are not discarded when a file is removed that is no
  longer referenced: i.e. the following is skipped:
  if (inode->i_data.nrpages)
  truncate_inode_pages(inode, 0);
  This must be done on XFS so we need a dummy delete_inode routine.

Revision 1.48 / (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.47: +2 -9 lines
Diff to previous 1.47 (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.47 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:58 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.46: +10 -63 lines
Diff to previous 1.46 (colored)

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

  Merge of 2.3.42-xfs:slinx:46380a by ananth.
  make XFS_DATA_BLOCKSIZE_4K and CONFIG_PAGE_BUF_META mutually exclusive,
  replace linvfs_inode_attr_in with a call to linvfs_revalidate()
  or inode_setattr in the setattr case.

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

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

  Merge of 2.3.42-xfs:slinx:46369a by ananth.
  remove gcc compiler warning.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jun 9 01:16:13 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.44: +6 -0 lines
Diff to previous 1.44 (colored)

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

  Merge of 2.3.42-xfs:slinx:46362a by ananth.
  Change data block size to 4K.

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

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

  Merge of 2.3.42-xfs:slinx:45514a by ananth.
  Allow linvfs_release_inode to be called without an inode - this can
  happen during unmount.

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

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

  Merge of 2.3.42-xfs:slinx:45490a by ananth.
  Initialize the pagebuf daemon during mount, call cleanup functions
  at module unload and fix physical memory size calculation.

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

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

  Merge of 2.3.42-xfs:slinx:45039a by ananth.
  Move sys_cred & cred_init to xfs_cred.c

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

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

  Merge of 2.3.42-xfs:slinx:44925a by ananth.
  remove the EXPORT_NO_SYMBOLS definition

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

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

  Merge of 2.3.42-xfs:slinx:44783a by ananth.
  call new option parsing code, remove dead vfs fields, 
  use CONFIG_PAGE_BUF_META to decide if buf_t or pagebuf is
  being used for meta-data

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

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

  Merge of 2.3.42-xfs:slinx:44392a by ananth.
  change parameters on vfs_sync call

Revision 1.38 / (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.37: +4 -19 lines
Diff to previous 1.37 (colored)

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

  Merge of 2.3.42-xfs:slinx:44267a by ananth.
  Cleanup inode operations for dummy inode

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

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

  Merge of 2.3.42-xfs:slinx:43495a by ananth.
  Switch to new format of initializing function vectors   
  use linux function to get a name for the block device,
  fix some compiler warnings.

Revision 1.36 / (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.35: +13 -23 lines
Diff to previous 1.35 (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.35 / (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.34: +11 -16 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Thu Jan 27 15:27:21 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.33: +8 -0 lines
Diff to previous 1.33 (colored)

Initialize physmem variable which xfs uses to sizing calculations, it
was zero.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jan 21 21:49:41 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.32: +1 -0 lines
Diff to previous 1.32 (colored)

Make the vnode point at the linux inode

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 13 19:08:04 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31 (colored)

reinsert call to binit in the non-pagebuf case

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

XFS_* macro additions

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 12 22:17:09 2000 UTC (17 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.29: +6 -1 lines
Diff to previous 1.29 (colored)

Add parm to VFS_SYNC to get inodes sync'ed. Also, push
xfs_fs_bio.c buffers on each sync.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Dec 22 03:18:57 1999 UTC (17 years, 10 months ago) by tes
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Remove and change comments so that encumbrance line matches
aren't apparent.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Dec 21 04:22:06 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.27: +23 -0 lines
Diff to previous 1.27 (colored)

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

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 17 21:09:39 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.26: +2 -0 lines
Diff to previous 1.26 (colored)

Leave superblock sector size at 512 for xfs.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Dec 10 20:44:19 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored)

Change xfs_inode.h to xfs_iops.h. This was conflicting with xfs_inode.h
one level higher in the tree (see xfs_lrw.c).

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

Add linvfs_make_inode to construct a dummy inode for pagebuf
metadata handling. Also a dummy inode operations vector for
this inode. Setup the superblock and device blocksizes to
a default size before calling into xfs - pagebuf may need
this.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 1 21:31:34 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.23: +8 -3 lines
Diff to previous 1.23 (colored)

Make this compile on 2.2 and 2.3 linux

Revision 1.23 / (download) - annotate - [select for diffs], Mon Oct 25 15:38:29 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.22: +9 -0 lines
Diff to previous 1.22 (colored)

Reset blocksize at unmount time - this allows mkfs to operate
after an unmount.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Oct 22 23:01:25 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.21: +1 -12 lines
Diff to previous 1.21 (colored)

Set the device blocksize to the filesystem blocksize.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Oct 21 22:46:14 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.20: +3 -9 lines
Diff to previous 1.20 (colored)

Remove unneeded superop

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

Move the VN_RELE from linvfs_clear_inode to linvfs_put_inode

Revision 1.19 / (download) - annotate - [select for diffs], Mon Oct 18 16:37:39 1999 UTC (18 years ago) by mostek
Branch: MAIN
Changes since 1.18: +5 -0 lines
Diff to previous 1.18 (colored)

Force the blocksize to 512 for now. THis needs to be changed
to 4k.


Revision 1.18 / (download) - annotate - [select for diffs], Fri Oct 8 21:03:05 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.17: +0 -4 lines
Diff to previous 1.17 (colored)

Turn off messages from statvfs

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

Move uuid_init() call here

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 7 02:24:51 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.15: +6 -3 lines
Diff to previous 1.15 (colored)

perform xfs <-> linux dev_t mapping

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 5 14:38:16 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

fix linvfs_write_super

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

Small changes to clean up compiler warning messages.

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

Make mount less chatty, pass through the dev name as an fsname.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 1 16:28:47 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.11: +8 -15 lines
Diff to previous 1.11 (colored)

Modularize irix/linux type cooexistance

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 30 03:06:07 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.10: +45 -39 lines
Diff to previous 1.10 (colored)

Fix up header definitions to allow correct mixing of irix and linux
types in one file, this needs cleaning up and propogating to other
files.

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

Fix up read_super code, initialize buffers, vfs and xfs
subsystems on module load.

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

Added ENTER and EXIT to must functions for debug tracing

Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 10 18:00:00 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.7: +17 -3 lines
Diff to previous 1.7 (colored)

renamed sim.h to xfs_sim.h

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

Include asm/init.h for __init(

Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 2 22:52:53 1999 UTC (18 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored)

Fix a few compile problems with new code that Ken wrote.

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

No Message Supplied

Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 2 19:11:37 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Added defines... getting the undefined symbol list down.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 2 18:49:02 1999 UTC (18 years, 1 month ago) by mostek
Branch: MAIN
Changes since 1.2: +1 -63 lines
Diff to previous 1.2 (colored)

Remove fs_ routine that belongs in xfs_fs_subr.c

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 30 20:33:27 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.1: +9 -15 lines
Diff to previous 1.1 (colored)

Added include file xfs_coda_oops.h... which is a quick hack to to keep
us from including all of the coda headers files, which seem to have
type conflict problems with xfs.  

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

kern/fs/xfs/xfs_linux_ops_super.c 1.4 Renamed to kern/fs/xfs/linux/xfs_super.c

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>