CVS log for xfs-linux/xfs_itable.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.173 / (download) - annotate - [select for diffs], Thu Oct 23 15:02:31 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.172: +8 -13 lines
Diff to previous 1.172 (colored)

stop using xfs_itobp in xfs_bulkstat

xfs_bulkstat only wants the dinode, offset and buffer from a given
inode number.  Instead of using xfs_itobp on a fake inode which is
complicated and currently leads to leaks of the security data just use
xfs_inotobp which is designed to do exactly the kind of lookup
xfs_bulkstat wants.  The only thing that's missing in xfs_inotobp is
a flags paramter that let's us pass down XFS_IMAP_BULKSTAT, but that can
easily added.


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

  stop using xfs_itobp in xfs_bulkstat

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

implement generic xfs_btree_increment

From: Dave Chinner <dgc@sgi.com>

Because this is the first major generic btree routine this patch
includes some infrastrucure, first a few routines to deal with
a btree block that can be either in short or long form, second
xfs_btree_read_buf_block, which is the new central routine to read
a btree block given a cursor, and third the new xfs_btree_ptr_addr
routine to calculate the address for a given btree pointer record.

[hch: split out from bigger patch and minor adaptions]

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

  implement generic xfs_btree_increment

Revision 1.171 / (download) - annotate - [select for diffs], Wed Sep 24 16:11:20 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.170: +2 -4 lines
Diff to previous 1.170 (colored)

split up xfs_btree_init_cursor

xfs_btree_init_cursor contains close to little shared code for the different
btrees and will get even more non-common code in the future.  Split it up
into one routine per btree type.

Because xfs_btree_dup_cursor needs to call the init routine for a generic
btree cursor add a new btree operation vector that contains a dup_cursor
method that initializes a new cursor based on an existing one.

The btree operations vector is based on an idea and code from Dave Chinner
and will grow more entries later during this series.


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

  split up xfs_btree_init_cursor

Revision 1.170 / (download) - annotate - [select for diffs], Wed Aug 20 04:10:16 2008 UTC (9 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.169: +7 -7 lines
Diff to previous 1.169 (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.169 / (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.168: +1 -3 lines
Diff to previous 1.168 (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.168 / (download) - annotate - [select for diffs], Fri Jul 25 06:13:14 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.167: +2 -0 lines
Diff to previous 1.167 (colored)

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

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

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

remove mounpoint UUID code

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

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

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

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

Revision 1.166 / (download) - annotate - [select for diffs], Wed Jul 23 16:34:13 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.165: +1 -1 lines
Diff to previous 1.165 (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.165 / (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.164: +3 -3 lines
Diff to previous 1.164 (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.164 / (download) - annotate - [select for diffs], Mon Apr 21 06:14:44 2008 UTC (9 years, 5 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.163: +0 -6 lines
Diff to previous 1.163 (colored)

kill di_mode checks after xfs_iget

Unless XFS_IGET_CREATE is passed xfs_iget will return ENOENT if it
encounters an inode with di_mode == 0.  Remove the duplicated checks
in the callers.

(the log recovery case is not touched for now)


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

  kill di_mode checks after xfs_iget

Revision 1.163 / (download) - annotate - [select for diffs], Thu Apr 10 04:30:43 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.162: +1 -3 lines
Diff to previous 1.162 (colored)

xfs_bulkstat_one_dinode() never returns an error.

Mark it void.
Merge of xfs-linux-melb:xfs-kern:30828a by kenmcd.

  Make xfs_bulkstat_one_dinode() void.

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

remove shouting-indirection macros from xfs_sb.h

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

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

  remove shouting-indirection macros from xfs_sb.h

Revision 1.161 / (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.160: +2 -1 lines
Diff to previous 1.160 (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.

  Added new buffer flag parameter to xfs_itobp().

Revision 1.160 / (download) - annotate - [select for diffs], Fri Nov 30 05:10:36 2007 UTC (9 years, 10 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored)

Remove CFORK macros and use code directly in IFORK and DFORK macros.

Currently XFS_IFORK_* and XFS_DFORK* are implemented by means of
XFS_CFORK* macros.  But given that XFS_IFORK_* operates on an
xfs_inode that embedds and xfs_icdinode_core and XFS_DFORK_* operates
on an xfs_dinode that embedds a xfs_dinode_core one will have to do
endian swapping while the other doesn't.  Instead of having the current
mess with the CFORK macros that have byteswapping and non-byteswapping
version (which are inconsistantly named while we're at it) just define
each family of the macros to stand by itself and simplify the whole
matter.

A few direct references to the CFORK variants were cleaned up to
use IFORK or DFORK to make this possible.

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

  Remove CFORK macros and use code directly in IFORK and DFORK macros.

Revision 1.159 / (download) - annotate - [select for diffs], Tue Nov 20 05:08:44 2007 UTC (9 years, 10 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.158: +2 -2 lines
Diff to previous 1.158 (colored)

Remove the BPCSHIFT and NB* based macros from XFS.

The BPCSHIFT based macros, btoc*, ctob*, offtoc* and ctooff
are either not used or don't need to be used.
The NDPP, NDPP, NBBY macros don't need to be used but instead
are replaced directly by PAGE_SIZE and PAGE_CACHE_SIZE
where appropriate.
Initial patch and motivation from Nicolas Kaiser.
Merge of xfs-linux-melb:xfs-kern:30096a by kenmcd.

  simplify and use PAGE_SIZE

Revision 1.158 / (download) - annotate - [select for diffs], Mon Nov 19 14:46:07 2007 UTC (9 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.157: +29 -14 lines
Diff to previous 1.157 (colored)

Undoes mod:     xfs-linux-melb:xfs-kern:29840a
Various fixups for xfs_bulkstat().

- sanity check for NULL user buffer in xfs_ioc_bulkstat[_compat]()

- remove the special case for XFS_IOC_FSBULKSTAT with count == 1.  This special
  case causes bulkstat to fail because the special case uses xfs_bulkstat_single()
  instead of xfs_bulkstat() and the two functions have different semantics.
  xfs_bulkstat() will return the next inode after the one supplied while skipping
  internal inodes (ie quota inodes).  xfs_bulkstate_single() will only lookup the
  inode supplied and return an error if it is an internal inode.

- in xfs_bulkstat(), need to initialise 'lastino' to the inode supplied so in cases
  were we return without examining any inodes the scan wont restart back at zero.

- sanity check for valid *ubcountp values.  Cannot sanity check for valid ubuffer
  here because some users of xfs_bulkstat() don't supply a buffer.

- checks against 'ubleft' (the space left in the user's buffer) should be against
  'statstruct_size' which is the supplied minimum object size.  The mixture of
  checks against statstruct_size and 0 was one of the reasons we were skipping
  inodes.

- if the formatter function returns BULKSTAT_RV_NOTHING and an error and the error
  is not ENOENT or EINVAL then we need to abort the scan.  ENOENT is for inodes that
  are no longer valid and we just skip them.  EINVAL is returned if we try to lookup
  an internal inode so we skip them too.  For a DMF scan if the inode and DMF
  attribute cannot fit into the space left in the user's buffer it would return
  ERANGE.  We didn't handle this error and skipped the inode.  We would continue to
  skip inodes until one fitted into the user's buffer or we completed the scan.

- put back the recalculation of agino (that got removed with the last fix) at the
  end of the while loop.  This is because the code at the start of the loop expects
  agino to be the last inode examined if it is non-zero.

- if we found some inodes but then encountered an error, return success this time
  and the error next time.  If the formatter aborted with ENOMEM we will now return
  this error but only if we couldn't read any inodes.  Previously if we encountered
  ENOMEM without reading any inodes we returned a zero count and no error which
  falsely indicated the scan was complete.
Merge of xfs-linux-melb:xfs-kern:30089a by kenmcd.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Oct 19 04:06:50 2007 UTC (9 years, 11 months ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.156: +2 -2 lines
Diff to previous 1.156 (colored)

Make xfs_bulkstat() to report unlinked but referenced inodes

We need xfs_bulkstat() to report inode stat for inodes with
link count zero but reference count non zero.

The fix here:

http://oss.sgi.com/archives/xfs/2007-09/msg00266.html

changed this behavior and made xfs_bulkstat() to filter all
unlinked inodes including those that are not destroyed yet but
held by reference.

The attached patch returns back to the original behavior by
marking the on-disk inode buffer "dirty" when di_mode is cleared
(at that time both inode link and reference counter are zero).
Merge of xfs-linux-melb:xfs-kern:29914a by kenmcd.

  pv 972004, rv dgc - Make xfs_bulkstat() to report unlinked but referenced inodes

Revision 1.156 / (download) - annotate - [select for diffs], Fri Oct 5 04:09:12 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.155: +9 -6 lines
Diff to previous 1.155 (colored)

This fix prevents bulkstat from spinning in an infinite loop.

Here 'agino' increments through the inodes in an allocation group.
At the end of the innermost 'for' loop it will hold the value of the
next inode to look at (ie the first inode in the next cluster/chunk).
Assigning 'lastino' to 'agino' resets it to the last inode in the
last inode cluster we just looked at.  This causes us to look up
the very same cluster and examine all the inodes all over again,
and again, and again...

We also want to set 'lastino' for the cases when we're not interested
in the inode so that the next call to bulkstat wont re-examine the
same uninteresting inodes.
Merge of xfs-linux-melb:xfs-kern:29840a by kenmcd.

  fix infinite loop in bulkstat

Revision 1.155 / (download) - annotate - [select for diffs], Tue Sep 25 04:01:22 2007 UTC (10 years ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.154: +9 -1 lines
Diff to previous 1.154 (colored)

get_bulkall() could return incorrect inode state

In the following scenario xfs_bulkstat() returns incorrect
stale inode state:

1. File_A is created and its inode synced to disk.
2. File_A is unlinked and doesn't exist anymore.
3. Filesystem sync is invoked.
4. File_B is created. File_B happens to reclaim File_A's inode.
5. xfs_bulkstat() is called and detects File_B but reports the
 incorrect File_A inode state.

Explanation for the incorrect inode state is that inodes are not immediately
synced on file create for performance reasons. This leaves the on-disk inode
buffer uninitialized (or with old state from a previous generation inode)
and this is what xfs_bulkstat() would report.

The patch marks the on-disk inode buffer "dirty" on unlink. When the inode
is reclaimed (by a new file create), xfs_bulkstat() would filter this inode
by the "dirty" mark. Once the inode is flushed to disk, the on-disk buffer
"dirty" mark is automatically removed and a following xfs_bulkstat() would
return the correct inode state.

Marking the on-disk inode buffer "dirty" on unlink is achieved by setting the
on-disk di_nlink field to 0. Note that the in-core di_nlink has already been
set to 0 and a corresponding transaction logged by xfs_droplink().
This is an exception from the rule that any on-disk inode buffer changes
has to be followed by a disk write (inode flush).
Synchronizing the in-core to on-disk di_nlink values in advance (before the
actual inode flush to disk) should be fine in this case because the inode
is already unlinked and it would never change its di_nlink again for this
inode generation.
Merge of xfs-linux-melb:xfs-kern:29757a by kenmcd.

  pv 970842 - get_bulkall() could return incorrect inode stat

Revision 1.154 / (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.153: +1 -1 lines
Diff to previous 1.153 (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.153 / (download) - annotate - [select for diffs], Thu Aug 23 15:56:14 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.152: +27 -28 lines
Diff to previous 1.152 (colored)

dinode endianess annotations

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

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

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

  add endian notations for the dinode.

Revision 1.152 / (download) - annotate - [select for diffs], Mon Jul 9 15:45:29 2007 UTC (10 years, 3 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.151: +34 -8 lines
Diff to previous 1.151 (colored)

Fix XFS_IOC_FSBULKSTAT{,_SINGLE} and XFS_IOC_FSINUMBERS in compat mode

* 32bit struct xfs_fsop_bulkreq has different size and layout of
  members, no matter the alignment. Move the code out of the #else
  branch (why was it there in the first place?). Define _32 variants of
  the ioctl constants.
* 32bit struct xfs_bstat is different because of time_t and on
  i386 because of different padding. Make xfs_bulkstat_one() accept a
  custom "output formatter" in the private_data argument which takes care
  of the xfs_bulkstat_one_compat() that takes care of the different
  layout in the compat case.
* i386 struct xfs_inogrp has different padding. Add a similar "output
  formatter" mecanism to xfs_inumbers().

Signed-Off-By: Michal Marek <mmarek@suse.cz>
Merge of xfs-linux-melb:xfs-kern:29102a by kenmcd.

  Fix XFS_IOC_FSBULKSTAT{,_SINGLE} and XFS_IOC_FSINUMBERS in compat mode

Revision 1.151 / (download) - annotate - [select for diffs], Mon Sep 18 06:12:51 2006 UTC (11 years ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.150: +2 -0 lines
Diff to previous 1.150 (colored)

955947: Infinite loop in xfs_bulkstat() on formatter() error
Merge of xfs-linux-melb:xfs-kern:26986a by kenmcd.

  pv 955947, rv: nathans - update lastino on non critical errors returned by formatter()

Revision 1.150 / (download) - annotate - [select for diffs], Fri Sep 15 12:33:25 2006 UTC (11 years, 1 month ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.149: +14 -10 lines
Diff to previous 1.149 (colored)

pv 956241, author: nathans, rv: vapo - make ino validation checks consistent in bulkstat
Merge of xfs-linux-melb:xfs-kern:26984a by kenmcd.

  pv 956241, author: nathans, rv: vapo - make ino validation checks consistent in bulkstat

Revision 1.149 / (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.148: +1 -0 lines
Diff to previous 1.148 (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.148 / (download) - annotate - [select for diffs], Mon Sep 4 03:51:38 2006 UTC (11 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.147: +1 -1 lines
Diff to previous 1.147 (colored)

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

Revision 1.147 / (download) - annotate - [select for diffs], Mon Aug 28 03:50:08 2006 UTC (11 years, 1 month ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.146: +3 -3 lines
Diff to previous 1.146 (colored)

pv 955157, rv bnaujok - break the loop on EFAULT formatter() error
Merge of xfs-linux-melb:xfs-kern:26869a by kenmcd.

  pv 955157, rv bnaujok - break the loop on EFAULT formatter() error

Revision 1.146 / (download) - annotate - [select for diffs], Fri Aug 25 15:38:37 2006 UTC (11 years, 1 month ago) by vapo.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.145: +5 -0 lines
Diff to previous 1.145 (colored)

pv 955157, rv bnaujok - break the loop on formatter() error
Merge of xfs-linux-melb:xfs-kern:26866a by kenmcd.

  pv 955157, rv bnaujok - break the loop on formatter() error

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

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

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

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

Revision 1.143 / (download) - annotate - [select for diffs], Fri Aug 4 13:29:45 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.142: +16 -6 lines
Diff to previous 1.142 (colored)

Increase the size of the buffer holding the local inode cluster list, to increase our potential readahead window and in turn improve bulkstat performance.
Merge of xfs-linux-melb:xfs-kern:26607a by kenmcd.

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

Drop unneeded endian conversion in bulkstat and start readahead for batches of inode cluster buffers at once, before any blocking reads are issued.
Merge of xfs-linux-melb:xfs-kern:26606a by kenmcd.

Revision 1.141 / (download) - annotate - [select for diffs], Fri Aug 4 13:26:42 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.140: +55 -10 lines
Diff to previous 1.140 (colored)

Rework DMAPI bulkstat calls in such a way that we can directly extract inline attributes out of the bulkstat buffer (for that case), rather than using an (extremely expensive for large icount filesystems) iget for fetching attrs.
Merge of xfs-linux-melb:xfs-kern:26602a by kenmcd.

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

endianess annotations for xfs_inobt_rec_t / xfs_inobt_key_t

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

  endianess annotations for xfs_inobt_rec_t / xfs_inobt_key_t

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

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

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

Remove dead code from come bulkstat paths.
Merge of xfs-linux-melb:xfs-kern:26102a by kenmcd.

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

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

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

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

Revision 1.134 / (download) - annotate - [select for diffs], Wed Dec 21 14:33:42 2005 UTC (11 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.133: +1 -3 lines
Diff to previous 1.133 (colored)

Fix some build fallout from atime changes.
Merge of xfs-linux-melb:xfs-kern:24899a by kenmcd.

Revision 1.133 / (download) - annotate - [select for diffs], Wed Dec 7 19:02:48 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.132: +5 -2 lines
Diff to previous 1.132 (colored)

fix, speedup and simplify atime handling

let the VFS handle atime updates and only sync back to the xfs inode when
nessecary

Revision 1.132 / (download) - annotate - [select for diffs], Fri Oct 21 18:08:47 2005 UTC (11 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.131: +1 -1 lines
Diff to previous 1.131 (colored)

Endianess annotations for various allocator data structures

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

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

Revision 1.130 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.129: +7 -7 lines
Diff to previous 1.129 (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.129 / (download) - annotate - [select for diffs], Wed Jan 12 22:38:29 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.128: +164 -112 lines
Diff to previous 1.128 (colored)

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

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

handle inode creating race
xfs_iget gained another parameter

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

Handle inode creating race
xfs_iget gained another parameter

Revision 1.126 / (download) - annotate - [select for diffs], Fri Aug 13 05:31:26 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.125: +5 -5 lines
Diff to previous 1.125 (colored)

Use sparse whitespace approach that Al took to be more consistent.  Couple more sparse fixes.

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

sparse: rework previous mods to fix warnings in DMAPI code.  From Chris Wedgwood.

Revision 1.124 / (download) - annotate - [select for diffs], Mon Jun 28 10:03:43 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.123: +6 -6 lines
Diff to previous 1.123 (colored)

sparse: annotate source for user pointers.  From Chris Wedgwood.

Revision 1.123 / (download) - annotate - [select for diffs], Mon May 10 06:17:46 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.122: +1 -24 lines
Diff to previous 1.122 (colored)

Make uses of extended inode flags consistent, remove duplicated code.

Revision 1.122 / (download) - annotate - [select for diffs], Tue May 4 19:27:00 2004 UTC (13 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.121: +14 -8 lines
Diff to previous 1.121 (colored)

fix direct user memory dereference in bulkstat
do copy_to_user in xfs_bulkstat_one, always pass user buffer in xfs_bulkstat_single

Revision 1.121 / (download) - annotate - [select for diffs], Mon May 3 07:00:36 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.120: +22 -24 lines
Diff to previous 1.120 (colored)

Remove unused transaction pointer from bulkstat.

Revision 1.120 / (download) - annotate - [select for diffs], Thu Jan 8 21:24:26 2004 UTC (13 years, 9 months ago) by roehrich
Branch: MAIN
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored)

In xfs_bulkstat, we need to do the readahead loop always.
In xfs_bulkstat, we need to do the readahead loop always.
Change some (ubleft/statstruct_size > 0) to (ubleft >= statstruct_size).

Revision 1.119 / (download) - annotate - [select for diffs], Thu Oct 16 19:31:15 2003 UTC (14 years ago) by roehrich
Branch: MAIN
Changes since 1.118: +36 -14 lines
Diff to previous 1.118 (colored)

Implement dm_get_bulkall
Merge of 2.4.x-xfs-kern:slinx:159760a by roehrich.

  Change xfs_bulkstat() to take a pointer to private data that
  the formatter will use for its own purposes.  Keep track of the buffer
  size in bytes rather than in units of statstruct_size.  Tell the
  formatter how big the buffer is, and let the formatter tell us
  how much it used.

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

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

Revision 1.117 / (download) - annotate - [select for diffs], Mon Sep 15 03:40:38 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.116: +1 -11 lines
Diff to previous 1.116 (colored)

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

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

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

Revision 1.115 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.114: +793 -0 lines
Diff to previous 1.114 (colored)

The Big Move
linux/fs/xfs/xfs_itable.c 1.113 Renamed to xfs_itable.c

Revision 1.114 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
CVS Tags: DENUKE
Changes since 1.113: +0 -793 lines
Diff to previous 1.113 (colored)

Nuke

Revision 1.113 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.112: +24 -1 lines
Diff to previous 1.112 (colored)

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

Revision 1.112 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.111: +15 -15 lines
Diff to previous 1.111 (colored)

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

Revision 1.111 / (download) - annotate - [select for diffs], Wed Oct 9 03:06:48 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.110: +1 -1 lines
Diff to previous 1.110 (colored)

Global search and replace of the b* memory routines to their mem* equivalents.
(bcopy->memcopy, ovbcopy->memmove, bzero->memset, bcmp->memcmp).

Revision 1.110 / (download) - annotate - [select for diffs], Wed Sep 4 20:22:39 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

remove copyin/copyout

Revision 1.109 / (download) - annotate - [select for diffs], Wed Aug 28 19:44:54 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored)

fix a use after free in bulkstat

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

remove unneeded vfs locking code

Revision 1.107 / (download) - annotate - [select for diffs], Wed Jul 10 19:00:42 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.106: +66 -66 lines
Diff to previous 1.106 (colored)

whitespace cleanup

Revision 1.106 / (download) - annotate - [select for diffs], Mon Jun 10 18:29:39 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.105: +0 -54 lines
Diff to previous 1.105 (colored)

remove dead code

Revision 1.105 / (download) - annotate - [select for diffs], Tue Jun 4 16:30:46 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.104: +1 -1 lines
Diff to previous 1.104 (colored)

Update copyright dates

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

switch xfs perag log to a rw_semaphore

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

Use xfs_iput_new for new inodes that are still locked

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

remove i_dev

Revision 1.101 / (download) - annotate - [select for diffs], Sun Oct 14 07:09:57 2001 UTC (16 years ago) by nathans
Branch: MAIN
Changes since 1.100: +9 -13 lines
Diff to previous 1.100 (colored)

stich the inumbers interface back in (was commented out) for xfs_imap.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Aug 21 05:08:16 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.99: +1 -0 lines
Diff to previous 1.99 (colored)

Merge irix6.5f:irix:101107a
Clear bp upon error so it's not reused.

Revision 1.99 / (download) - annotate - [select for diffs], Thu Aug 16 20:34:51 2001 UTC (16 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.98: +4 -2 lines
Diff to previous 1.98 (colored)

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

Revision 1.98 / (download) - annotate - [select for diffs], Wed Apr 11 01:44:54 2001 UTC (16 years, 6 months ago) by cattelan
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.97: +5 -5 lines
Diff to previous 1.97 (colored)

Get rid of the last compiler warning OFF flags

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

support group quotas in Linux/XFS.

Revision 1.96 / (download) - annotate - [select for diffs], Wed Mar 14 15:21:39 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.95: +3 -0 lines
Diff to previous 1.95 (colored)

Ifdef out a function we do not use yet.

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

remove explicit externs - get these from headers.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Sep 26 05:02:06 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.93: +0 -1 lines
Diff to previous 1.93 (colored)

remove an extern in a .c file - sourced from a hdr now.

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

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

Revision 1.92 / (download) - annotate - [select for diffs], Fri Sep 22 09:32:32 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.91: +4 -4 lines
Diff to previous 1.91 (colored)

move incorrectly positioned ifdef which would break bulkstat if the
case there was no user buffer passed int.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Aug 30 04:56:37 2000 UTC (17 years, 1 month ago) by dxm
Branch: MAIN
Changes since 1.90: +10 -1 lines
Diff to previous 1.90 (colored)

comment re warning messages from xfs_itobp

Revision 1.90 / (download) - annotate - [select for diffs], Tue Aug 22 01:46:01 2000 UTC (17 years, 1 month ago) by dxm
Branch: MAIN
Changes since 1.89: +1 -65 lines
Diff to previous 1.89 (colored)

remove unused xfs_itable

Revision 1.89 / (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.88: +2 -2 lines
Diff to previous 1.88 (colored)

Remove reference to vp->v_rdev it is gone, this breaks xfs_fd_to_mp, but
it is already broken since the getf call is uses is an unimplemented
irix call. Also this function is only currently used for error injection
which we have not used yet.

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

Change how bulkstat locates an inode in a buffer to not depend on the buffer
being mapped.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Jul 22 04:20:01 2000 UTC (17 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (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.86 / (download) - annotate - [select for diffs], Thu Jun 15 03:01:24 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

ongoing code cleanup, remove unused headers, dead code.

Revision 1.85 / (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.84: +15 -15 lines
Diff to previous 1.84 (colored)

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

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

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

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

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

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

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

  Remove "STATIC" from xfs_bulkstat_single() & xfs_bulkstat_one().

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

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

  architecture independence for the agi structure.

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

add ARCH_GET macro
Merge of 2.3.99pre2-xfs:slinx:56110a by ananth.

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

fix CONFIG_XFS_ARCH_MIPS case
Merge of 2.3.99pre2-xfs:slinx:56101a by ananth.

Revision 1.78 / (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.77: +25 -11 lines
Diff to previous 1.77 (colored)

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

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jun 9 02:29:42 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.76: +1 -4 lines
Diff to previous 1.76 (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.76 / (download) - annotate - [select for diffs], Fri Jun 9 02:22:51 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.75: +41 -30 lines
Diff to previous 1.75 (colored)

architecture changes: dinode_core, sf(1) dirs, dev files, dir(1) leaves
Merge of 2.3.99pre2-xfs:slinx:50068a by ananth.

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

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

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

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

Revision 1.74 / (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.73: +2 -13 lines
Diff to previous 1.73 (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.73 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:34 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.72: +1 -1 lines
Diff to previous 1.72 (colored)

use linux security mechanisms
Merge of 2.3.99pre2-xfs:slinx:46379a by ananth.

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

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

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:34629a created by overby on 12/02/99
  xfs_bulkstat now skips inode clusters with read errors instead of
  returning.  This fixes a mismatched useracc and kmem_alloc.  
  Add an XFS_ERROR_TEST() to xfs_bulkstat's reading of inode clusters.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Jan 3 21:41:53 2000 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.68: +24 -1 lines
Diff to previous 1.68 (colored)

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

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

ifdef out useracc()

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

virtualize interface to buffer data

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

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

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

Description:     Integrate the 'grove' tree CXFS & XVM changes.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Sep 3 01:13:18 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.63: +1 -0 lines
Diff to previous 1.63 (colored)

First checkin of a loadable module

Revision 1.63 / (download) - annotate - [select for diffs], Wed Aug 25 02:22:32 1999 UTC (18 years, 1 month ago) by cattelan
Branch: MAIN
Changes since 1.62: +10 -1 lines
Diff to previous 1.62 (colored)

Many more header file fix ups.
Many more to come.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Jun 18 18:00:02 1999 UTC (18 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.61: +1 -0 lines
Diff to previous 1.61 (colored)

Add #pragma mips_frequency_hint NEVER to CXFS specific code path

Revision 1.61 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.60: +33 -10 lines
Diff to previous 1.60 (colored)

Merge from irix/cxfs-f to irix/irix6.5f
Merge of cxfs-f:irix:15011b created by lord on 05/11/99
  Merge from irix/cxfs to irix/cxfs-f
  Merge of cxfs:irix:13423a created by lord on 04/19/99
  CXFS infrastructure checkin
  Merge of cxfs:irix:14262a created by clk on 04/29/99
  Change xfs_bulkstat so that the flag arg is now a bit mask.
  Check for new flag, BULKSTAT_FG_VFSLOCKED, and don't call
  vfs_busy (or vfs_unbusy) if the vfs is already locked.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Apr 28 22:21:32 1999 UTC (18 years, 5 months ago) by cwf
Branch: MAIN
Changes since 1.59: +14 -1 lines
Diff to previous 1.59 (colored)

pv:677035
Fix to the cluster index calculation. 

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

Change includes for v2 directory support.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Dec 15 16:46:24 1998 UTC (18 years, 10 months ago) by overby
Branch: MAIN
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

pv: 613214 rv: mostek, doucette
Change the permission check in xfs_fd_to_mp, which is used by SGI_XFS_BULKSTAT
and SGI_XFS_XFSOPERATIONS, to allow xfs operations that read data to be
executed by non-superuser processes.  This involves adding a flag to
xfs_fd_to_mp that indicates whether or not the super-user permission check is
done for non-device files.  Bulkstat always requires super-user.
pv: 613214 rv: mostek, doucette
Change the permission check in xfs_fd_to_mp, which is used by SGI_XFS_BULKSTAT
and SGI_XFS_XFSOPERATIONS, to allow xfs operations that read data to be
executed by non-superuser processes.  This involves adding a flag to
xfs_fd_to_mp that indicates whether or not the super-user permission check is
done for non-device files.  Bulkstat always requires super-user.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Dec 3 21:03:07 1998 UTC (18 years, 10 months ago) by cwf
Branch: MAIN
Changes since 1.56: +18 -3 lines
Diff to previous 1.56 (colored)

Increment the busy count on the device when doing xfs_bulkstat.  
Without this, it's possible that the device will be unmounted 
while bulkstat is walking the incode clusters.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Jun 11 21:06:39 1998 UTC (19 years, 4 months ago) by cwf
Branch: MAIN
Changes since 1.55: +91 -67 lines
Diff to previous 1.55 (colored)

pv: 609396
rv: kfr@cray.com
Fix xfs_bulkstat_one to do xfs_iget's unless presented with a
dinode from which to pull the stat information.  This is so
upto date stat information can be had by requesting a stat
on a single file (via SGI_FS_BULKSTAT_SINGLE or SGI_FS_BULKSTAT).

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jan 30 23:23:39 1998 UTC (19 years, 8 months ago) by cwf
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54 (colored)

rv: ram@cray.com
pv: 565130
Change to check the users buffer pointer to make sure it's not NULL.
This avoids a panic should a null pointer be passed to the system
call.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jan 15 22:27:05 1998 UTC (19 years, 9 months ago) by cwf
Branch: MAIN
Changes since 1.53: +136 -48 lines
Diff to previous 1.53 (colored)

rv: ram@cray.com
pv: 463104,499744
Gives xfs_bulkstat the option and performance improvement of reading stat
information directly from the on-disk inode buffer instead of repeated
calls to xfs_iget.  Using igets is still supported with the
BULKSTAT_FG_IGET flag argument.

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

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

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 19 22:50:11 1997 UTC (20 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.51: +69 -55 lines
Diff to previous 1.51 (colored)

Fixed the interface from xfs_bulkstat to the formatter routines, so
we can tell if the formatter wants us to quit.  Add separate syssgi
for single bulkstat.

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

Error detection/recovery enhancements.  Check more result codes from
btree operations, returning corruption if bad results.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:16 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.49: +4 -1 lines
Diff to previous 1.49 (colored)

First cut of XFS I/O error handling changes.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Dec 23 19:58:13 1996 UTC (20 years, 9 months ago) by jtk
Branch: MAIN
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored)

Remove an unnecessary #include of snode.h

Revision 1.48 / (download) - annotate - [select for diffs], Wed Nov 13 15:26:27 1996 UTC (20 years, 11 months ago) by montep
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

merge ficus into kudzu (1.44.1.2 ... 1.44.1.3)
> ----------------------------
> revision 1.44.1.3
> date: 1996/10/31 03:21:16;  author: rcc;  state: Exp;  lines: +3 -2
> 439128 - change inum checking to deal with very large inode numbers
> =============================================================================

Revision 1.47 / (download) - annotate - [select for diffs], Wed Oct 2 22:31:46 1996 UTC (21 years ago) by pjr
Branch: MAIN
Changes since 1.46: +5 -2 lines
Diff to previous 1.46 (colored)

macro'ize access to an open file's underlyng vnode or vsocket to guard against bugs; checks to prevent a vsocket to be used as a vnode

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 23 02:46:37 1996 UTC (21 years ago) by montep
Branch: MAIN
Changes since 1.45: +9 -3 lines
Diff to previous 1.45 (colored)

merge ficus into kudzu (1.44 ... 1.44.1.1)
> ----------------------------
> revision 1.44.1.1
> date: 1996/09/19 18:41:22;  author: doucette;  state: Exp;  lines: +9 -3
> In conversion of fd to mount point (for bulkstat & friends), when given
> a char hwg device, find the corresponding block device.  If the device
> isn't a mount point, use the containing filesystem.
> =============================================================================

Revision 1.45 / (download) - annotate - [select for diffs], Tue Sep 17 16:00:17 1996 UTC (21 years, 1 month ago) by henseler
Branch: MAIN
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored)

vfile restructure

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jun 23 11:36:35 1996 UTC (21 years, 3 months ago) by sup
Branch: MAIN
Changes since 1.43: +21 -4 lines
Diff to previous 1.43 (colored)

bulkstat can now propagate an error received by its formatter
function. this is needed by the quota code.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 21 17:22:28 1996 UTC (21 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42 (colored)

Fix bug in bulkstat where if given a count of 1 and an inode of 0,
it tries the bulkstat_single path (and fails to get an inode 0)
rather than the normal path.

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

Use new superblock version macros (bug 385316).

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jun 1 10:16:24 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.40: +2 -7 lines
Diff to previous 1.40 (colored)

projid added to xfs_bstat_t

Revision 1.40 / (download) - annotate - [select for diffs], Wed May 29 17:06:31 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.39: +10 -2 lines
Diff to previous 1.39 (colored)

bulkstat doesn't return quota inodes anymore.
we don't want quota blks to get dumped and restored.

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

Disk quota hooks.
bulkstat is used from within the kernel by quotas to iterate through
inodes. Lock the ubuffer only if it is actually a user buffer now.
Since quotas doesn't need to fill in a buffer of any kind, it sends NULL
and now bulkstat can handle a null buffer.

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

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

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

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

Revision 1.36 / (download) - annotate - [select for diffs], Fri Feb 16 21:37:34 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

Use XFS_ERROR macro where it was missing in several places.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Feb 3 21:49:47 1996 UTC (21 years, 8 months ago) by pjr
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

Rest of support for file descriptor table

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jan 16 03:54:36 1996 UTC (21 years, 9 months ago) by ack
Branch: MAIN
Changes since 1.33: +6 -5 lines
Diff to previous 1.33 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_itable.c,v
> ----------------------------
> revision 1.35
> date: 1996/01/10 21:06:35;  author: ajs;  state: Exp;  lines: +7 -6
> 326000 Use the new xfs_btree_del_cursor interface.
> =============================================================================

Revision 1.33 / (download) - annotate - [select for diffs], Wed Dec 13 12:57:52 1995 UTC (21 years, 10 months ago) by ack
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_itable.c,v
> ----------------------------
> revision 1.34
> date: 1995/12/11 22:36:07;  author: ajs;  state: Exp;  lines: +3 -3
> 325739 Change the useracc() call to use B_PHYS so we don't
> take page faults.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_itable.c,v
> ----------------------------
> revision 1.33
> date: 1995/10/20 02:17:11;  author: doucette;  state: Exp;  lines: +1 -3
> Replace loop looking for dev in vfs list with call to vfs_devsearch.
> ----------------------------
> revision 1.32
> date: 1995/10/13 00:28:31;  author: doucette;  state: Exp;  lines: +3 -3
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> Remove bs_uuid field from bulkstat, replace it with padding.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_itable.c,v
> ----------------------------
> revision 1.32
> date: 1995/10/13 00:28:31;  author: doucette;  state: Exp;  lines: +3 -3
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> Remove bs_uuid field from bulkstat, replace it with padding.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_itable.c,v
> ----------------------------
> revision 1.31
> date: 1995/10/05 01:04:51;  author: ajs;  state: Exp;  lines: +2 -1
> 310776 Always return a 0 uuid for the inode.
> ----------------------------
> revision 1.30
> date: 1995/10/04 00:47:30;  author: ajs;  state: Exp;  lines: +1 -2
> 310776 Back out last change.
> ----------------------------
> revision 1.29
> date: 1995/10/03 23:06:24;  author: ajs;  state: Exp;  lines: +3 -2
> 310776 Always return a 0 uuid for the inode.
> =============================================================================

Revision 1.29 / (download) - annotate - [select for diffs], Thu Oct 5 20:23:11 1995 UTC (22 years ago) by jwag
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

convert useracc usage to new return semantics.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Sep 3 01:20:28 1995 UTC (22 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.27: +262 -169 lines
Diff to previous 1.27 (colored)

Fix a locking bug in bulkstat by rewriting it.  Now we collect a page
full of inode btree records, then drop the locks, then get the inode data.
This avoids the deadlock caused when the iget code needs to walk the
inode allocation btree.  Performance is also improved, up to over
7500/sec on an IP26.

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

Add include of xfs_macros.h.

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

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

Revision 1.25 / (download) - annotate - [select for diffs], Mon Aug 7 19:27:31 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.24: +38 -5 lines
Diff to previous 1.24 (colored)

Recognize case where we're looking for exactly one inode, and remove
all the bulk optimizations for that case - just do the iget.
This helps xfsdump's performance.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jun 22 21:34:07 1995 UTC (22 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Remove B_PHYS flag from the useracc calls for bulkstat and getdents.
Curt and Chris say it's not necessary.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 19 22:15:08 1995 UTC (22 years, 4 months ago) by nigel
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

kthreads: remove u-area refs

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 12 21:05:35 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.21: +18 -40 lines
Diff to previous 1.21 (colored)

Minor improvement in xfs bulkstat performance by locking down
the caller's buffer & thus avoiding a bcopy.

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

Add btree block and inode readahead for bulkstat.

Rewrite loop of bulkstat to not drop the cursor every time through.
Add HASATTR flag and aextents field to bulkstat output.

Revision 1.20 / (download) - annotate - [select for diffs], Fri May 19 22:55:03 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.19: +20 -4 lines
Diff to previous 1.19 (colored)

Allow device files (of the mounted-on partition) to be passed to the
syssgi calls for xfs: inumbers, bulkstat, growfs, geometry, counts.

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

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

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

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

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

First cut at disk error handling

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 1 01:02:15 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.15: +0 -13 lines
Diff to previous 1.15 (colored)

Remove the bulkstat_one_pf declaration, move to xfs_itable.h.

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

Include xfs_dir.h before xfs_dinode.h since it now has a dependency.
Include fs/specfs/snode.h from $ROOT location instead of the source tree.

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

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

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

Add assert that xfs_iget doesn't return null.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 18 00:30:20 1994 UTC (22 years, 11 months ago) by sup
Branch: MAIN
Changes since 1.11: +65 -24 lines
Diff to previous 1.11 (colored)

changed the internal interface  of xfs_bulkstat() to accomodate
future use by dm_get_bulkattr(). xfs_bulkstat now takes a pointer
to xfs_bulkstat_one().

Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 16 17:05:55 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.10: +7 -1 lines
Diff to previous 1.10 (colored)

convert XFS_DIFLAGs to XFS_XFLAGs during bulkstat call.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 1 00:52:15 1994 UTC (22 years, 11 months ago) by tap
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

change bulkstat to return extent size in bytes instead of fs system
blocks.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 13 20:19:34 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Remove the rtsum and rtbm inodes from bulkstat's output, so as not
to confuse dump or DMI programs.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 27 22:04:48 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.7: +69 -2 lines
Diff to previous 1.7 (colored)

Move fd to mp conversion here from syssgi.  Make the routine that
syssgi calls be "xfs_itable", defined here.  It switches out to
inumbers or bulkstat after doing the conversions & copyins/outs.

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

Add locking around use of m_perag for growfs.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 6 22:00:59 1994 UTC (23 years, 1 month ago) by orosz
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

Fill in new bulkstat fields bs_dmevmask and bs_dmstate.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 2 20:26:26 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Fix uninitialized variable in new loop code.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 31 20:37:35 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.3: +14 -22 lines
Diff to previous 1.3 (colored)

Rewrite bulk stat's loop so it doesn't hold the agi buffer locked
across its iget calls; this is a no-no since it conflicts with the
lock order used during create.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 29 00:16:02 1994 UTC (23 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.2: +181 -11 lines
Diff to previous 1.2 (colored)

Implement bulk stat routine.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 21 02:02:14 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Fix bug on call with non-zero inode number.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 19 21:58:47 1994 UTC (23 years, 3 months ago) by doucette
Branch: MAIN

Initial revision

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




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