CVS log for xfs-linux/xfs_fsops.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


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

Always use struct xfs_btree_block instead of short / longform structures.

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


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

  Always use struct xfs_btree_block instead of short / longform structures.

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

cleanup btree record / key / ptr addressing macros.

Replace the generic record / key / ptr addressing macros that use cpp token
pasting with simpler macros that do the job for just one given btree type.
The new macros lose the cur argument and thus can be used outside the core
btree code, but also gain an xfs_mount * argument to allow for checking the
CRC flag in the near future.  Note that many of these macros aren't actually
used in the kernel code, but only in userspace (mostly in xfs_repair).


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

  cleanup btree record / key / ptr addressing macros.

Revision 1.136 / (download) - annotate - [select for diffs], Tue Aug 19 15:46:54 2008 UTC (9 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored)

convert beX_add to beX_add_cpu (new common API)

remove beX_add functions and replace all uses with beX_add_cpu

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Merge of xfs-linux-melb:xfs-kern:31920a by kenmcd.

  convert beX_add to beX_add_cpu (new common API)

Revision 1.135 / (download) - annotate - [select for diffs], Wed May 21 06:14:00 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.134: +3 -1 lines
Diff to previous 1.134 (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.

  Update fs_geometry ioctl implementation for ASCII CI flag

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

Don't double count reserved block changes on UP.

On uniprocessor machines, the incore superblock is used for
all in memory accounting of free blocks. in this situation,
changes to the reserved block count are accounted twice;
once directly and once via xfs_mod_incore_sb(). Seeing as
the modification on SMP is done via xfs_mod_incore_sb(),
make this the only update mechanism that UP uses as well.
Merge of xfs-linux-melb:xfs-kern:30997a by kenmcd.

  Don't double count reserved block changes on UP.

Revision 1.133 / (download) - annotate - [select for diffs], Tue Apr 22 03:59:31 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (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.132 / (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.131: +12 -12 lines
Diff to previous 1.131 (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.131 / (download) - annotate - [select for diffs], Fri Sep 21 06:16:14 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.130: +5 -8 lines
Diff to previous 1.130 (colored)

Unwrap XFS_SB_LOCK.

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

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

  Unwrap XFS_SB_LOCK

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

growlock should be a mutex

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


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

  convert m_growlock to a mutex.

Revision 1.129 / (download) - annotate - [select for diffs], Fri Aug 24 16:18:10 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.128: +2 -3 lines
Diff to previous 1.128 (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.128 / (download) - annotate - [select for diffs], Thu Aug 23 15:57:06 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.127: +1 -3 lines
Diff to previous 1.127 (colored)

superblock endianess annotations

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

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


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

  Add superblock endian notations.

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

Concurrent Multi-File Data Streams

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

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

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

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

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

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

  Concurrent Multi-File Data Streams feature check in.

Revision 1.126 / (download) - annotate - [select for diffs], Fri Jun 8 16:03:59 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.125: +7 -3 lines
Diff to previous 1.125 (colored)

Prevent ENOSPC from aborting transactions that need to succeed

During delayed allocation extent conversion or unwritten extent
conversion, we need to reserve some blocks for transactions
reservations. We need to reserve these blocks in case a btree
split occurs and we need to allocate some blocks.

Unfortunately, we've only ever reserved the number of data blocks we
are allocating, so in both the unwritten and delalloc case we can
get ENOSPC to the transaction reservation. This is bad because in
both cases we cannot report the failure to the writing application.

The fix is two-fold:

        1 - leverage the reserved block infrastructure XFS already
        has to reserve a small pool of blocks by default to allow
        specially marked transactions to dip into when we are at
        ENOSPC.

            Default setting is min(5%, 1024 blocks).

        2 - convert critical transaction reservations to be allowed
        to dip into this pool. Spots changed are delalloc
        conversion, unwritten extent conversion and growing a
        filesystem at ENOSPC.

This also allows growing the filesytsem to succeed at ENOSPC.
Merge of xfs-linux-melb:xfs-kern:28865a by kenmcd.

  Allow growfs transaction to use reserved space.

Revision 1.125 / (download) - annotate - [select for diffs], Fri Jun 8 16:02:26 2007 UTC (10 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.124: +1 -0 lines
Diff to previous 1.124 (colored)

Log the agf_length change in xfs_growfs_data_private().
Merge of xfs-linux-melb:xfs-kern:28856a by kenmcd.

  Log the agf_length change in xfs_growfs_data_private().

Revision 1.124 / (download) - annotate - [select for diffs], Tue May 22 15:50:48 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.123: +2 -0 lines
Diff to previous 1.123 (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.123 / (download) - annotate - [select for diffs], Fri May 11 06:05:23 2007 UTC (10 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.122: +2 -0 lines
Diff to previous 1.122 (colored)

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

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

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

  Check new volume size against the maximum the system can support.

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

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

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

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

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

Remove unused arguments from the XFS_BTREE_*_ADDR macros.

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

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

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

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

Fix block reservation mechanism.

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

  Fix the block reservation mechanism to work with per-cpu superblock
  counters.

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

Prevent free space oversubscription and xfssyncd looping.

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

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

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

  Prevent reserve space from using the space we need for AG freelists.

Revision 1.118 / (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.117: +0 -2 lines
Diff to previous 1.117 (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.117 / (download) - annotate - [select for diffs], Wed Jun 7 04:18:20 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.116: +4 -5 lines
Diff to previous 1.116 (colored)

Fix mismerge of the fs_writable cleanup patch causing a freeze/thaw test hang.
Merge of xfs-linux-melb:xfs-kern:26182a by kenmcd.

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

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

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

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

Revision 1.114 / (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.113: +1 -1 lines
Diff to previous 1.113 (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.113 / (download) - annotate - [select for diffs], Tue Mar 14 05:06:55 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored)

Merge back dopey braces-on-return removal from clowns trawling mainline sources.
Merge of xfs-linux-melb:xfs-kern:25448a by kenmcd.

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

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

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

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

Write log dummy record when freezing filesystem

Revision 1.110 / (download) - annotate - [select for diffs], Wed Nov 9 07:11:31 2005 UTC (11 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.109: +1 -1 lines
Diff to previous 1.109 (colored)

handle error returns from freeze_bdev
handle error returns from freeze_bdev

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

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

Revision 1.108 / (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.107: +44 -50 lines
Diff to previous 1.107 (colored)

Endianess annotations for various allocator data structures

Revision 1.107 / (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.106: +12 -26 lines
Diff to previous 1.106 (colored)

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

Revision 1.106 / (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.105: +12 -13 lines
Diff to previous 1.105 (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.105 / (download) - annotate - [select for diffs], Fri Sep 16 15:10:21 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.104: +4 -2 lines
Diff to previous 1.104 (colored)

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

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

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

Revision 1.103 / (download) - annotate - [select for diffs], Wed May 18 09:18:24 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.102: +0 -26 lines
Diff to previous 1.102 (colored)

Remove dead code.

Patch from Adrian Bunk

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

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

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

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

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

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

Revision 1.99 / (download) - annotate - [select for diffs], Fri Jul 9 05:30:21 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.98: +4 -5 lines
Diff to previous 1.98 (colored)

Fix signed/unsigned issues in xfs_reserve_blocks routine.

Revision 1.98 / (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.97: +11 -52 lines
Diff to previous 1.97 (colored)

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

Revision 1.97 / (download) - annotate - [select for diffs], Mon May 10 06:42:59 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.96: +2 -1 lines
Diff to previous 1.96 (colored)

Fixup a couple of incorrect xfs_trans_commit calls (bad flags/casts).

Revision 1.96 / (download) - annotate - [select for diffs], Tue Feb 10 03:00:00 2004 UTC (13 years, 8 months ago) by tes
Branch: MAIN
Changes since 1.95: +25 -0 lines
Diff to previous 1.95 (colored)

Add XFS_FS_GOINGDOWN ioctl to xfs.
My motivation is for log recovery testing.
The code to call to do the work for GOINGDOWN ioctl.
It does the force_shutdowns.

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

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

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

remove doubly-included header files

Revision 1.93 / (download) - annotate - [select for diffs], Fri Aug 15 01:28:24 2003 UTC (14 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.92: +1 -1 lines
Diff to previous 1.92 (colored)

Use the rounded down size value for all growfs calculations, else the last AG can be updated incorrectly

Revision 1.92 / (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.91: +628 -0 lines
Diff to previous 1.91 (colored)

The Big Move
linux/fs/xfs/xfs_fsops.c 1.90 Renamed to xfs_fsops.c

Revision 1.91 / (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.90: +0 -628 lines
Diff to previous 1.90 (colored)

Nuke

Revision 1.90 / (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.89: +31 -1 lines
Diff to previous 1.89 (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.89 / (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.88: +6 -6 lines
Diff to previous 1.88 (colored)

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

Revision 1.88 / (download) - annotate - [select for diffs], Mon Dec 2 05:53:26 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.87: +46 -46 lines
Diff to previous 1.87 (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.
Macros for calculating address/size of sector-sized data structures     
(sb,agf,agi,agfl) are now sector size aware.

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

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

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

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

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

fix unchecked pointer dereferences

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

rationalize xfs <-> pagebuf interface

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

remove kdev_t abuse from XFS

Revision 1.82 / (download) - annotate - [select for diffs], Thu Jul 18 17:30:41 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

do not pass sys_cred into mount/umount or sync

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

clean up the check frozen interface

Revision 1.80 / (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.79: +28 -28 lines
Diff to previous 1.79 (colored)

whitespace cleanup

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

New geometry version

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

Update copyright dates

Revision 1.77 / (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.76: +2 -2 lines
Diff to previous 1.76 (colored)

switch xfs perag log to a rw_semaphore

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

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

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

more irq changes to unsigned long

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

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

Revision 1.73 / (download) - annotate - [select for diffs], Mon Feb 4 16:39:30 2002 UTC (15 years, 8 months ago) by sandeen
Branch: MAIN
Changes since 1.72: +0 -3 lines
Diff to previous 1.72 (colored)

Remove xfs_iflush_all() from xfs_fs_freeze().  This doesn't play well with
Linux, leaving us with dentries no longer connected to xfs_inodes.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Dec 6 19:26:09 2001 UTC (15 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.71: +1 -0 lines
Diff to previous 1.71 (colored)

Add in the 32 bit inode mount flag before re initializing the perag
structures in growfs.

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

Reinitialize the xfs_initialize_perag after a growfs

Revision 1.70 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:43 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.69: +11 -5 lines
Diff to previous 1.69 (colored)

Work around gcc compiler bug

Revision 1.69 / (download) - annotate - [select for diffs], Mon Sep 17 17:20:15 2001 UTC (16 years ago) by sandeen
Branch: MAIN
Changes since 1.68: +0 -1 lines
Diff to previous 1.68 (colored)

Back out part of irix6.5f:irix:101630a mrege
Don't dirty log in xfs_fs_freeze(), as this affects more than just umount -k
In Irix this will probably move to xfs_goingdown()

Revision 1.68 / (download) - annotate - [select for diffs], Thu Aug 30 19:19:42 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.67: +2 -5 lines
Diff to previous 1.67 (colored)

delete unused "error" variable; gets rid of gcc warning

Revision 1.67 / (download) - annotate - [select for diffs], Tue Aug 28 15:31:39 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.66: +28 -0 lines
Diff to previous 1.66 (colored)

Merge irix6.5f:irix:101630a
Adds dummy log record after umount -k to force recovery.

Revision 1.66 / (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.65: +52 -0 lines
Diff to previous 1.65 (colored)

"Merge" of irix6.5f:irix:100627b
Add xfs_fs_freeze, thaw functions

Revision 1.65 / (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.64: +2 -2 lines
Diff to previous 1.64 (colored)

Get rid of the last compiler warning OFF flags

Revision 1.64 / (download) - annotate - [select for diffs], Wed Mar 7 20:19:24 2001 UTC (16 years, 7 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.63: +0 -22 lines
Diff to previous 1.63 (colored)

move growfs_rt code out of here

Revision 1.63 / (download) - annotate - [select for diffs], Thu Nov 16 00:17:05 2000 UTC (16 years, 11 months ago) by dxm
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62 (colored)

drop XFS_kmem_realloc alias

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

Split XFS support code into xfs_support module

Revision 1.61 / (download) - annotate - [select for diffs], Wed Nov 8 03:03:48 2000 UTC (16 years, 11 months ago) by ajag
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Fix broken assert that was causing one class of growfs operation to die.
This (finally) allows the growfs qa test (041) to pass on debug kernels.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Oct 11 22:32:07 2000 UTC (17 years ago) by lord
Branch: MAIN
Changes since 1.59: +1 -1 lines
Diff to previous 1.59 (colored)

When updating super blocks in growfs ask for a superblock sized
buffer rather than an fs block size buffer. This prevents us from
overlapping with other buffers previously written.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Oct 2 22:42:24 2000 UTC (17 years ago) by ajag
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58 (colored)

When writing redundant superblocks to an expanded filesystem
xfs_growfs_data_private was writing non-endian converted data to disk.
This mod adds a call to xfs_xlatesb to convert the data.

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

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

Revision 1.57 / (download) - annotate - [select for diffs], Fri Aug 18 06:48:52 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.56: +8 -8 lines
Diff to previous 1.56 (colored)

fix do_div problem causing growfs to go belly up.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Aug 13 22:53:45 2000 UTC (17 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored)

include xfs_fs.h also.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Aug 12 11:45:40 2000 UTC (17 years, 2 months ago) by ajag
Branch: MAIN
Changes since 1.54: +60 -5 lines
Diff to previous 1.54 (colored)

Existing xfs_growfs_data(), xfs_growfs_log(), xfs_growfs_rt()
moved to xfs_growfs_data_private(), xfs_growfs_log_private(), etc..
Replaced with wrapper functions which do correct locking.
Added xfs_growfs_rt() stub.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Aug 9 03:57:49 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.53: +14 -131 lines
Diff to previous 1.53 (colored)

export XFS_IOC_FSCOUNTS, XFS_IOC_GET_RESBLKS & XFS_IOC_SET_RESBLKS through
ioctl

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

Make 64 bit divide and modulus operations explicit

Revision 1.52 / (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.51: +51 -52 lines
Diff to previous 1.51 (colored)

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

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jun 9 03:49:36 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.50: +4 -2 lines
Diff to previous 1.50 (colored)

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

  Changed kmem_realloc to include oldsize.

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

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

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

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

  architecture independence for btree header data structures.

Revision 1.48 / (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.47: +15 -14 lines
Diff to previous 1.47 (colored)

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

  architecture independence for the agi structure.

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

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

  architecture independence for the allocation group freespace structure.

Revision 1.46 / (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.45: +25 -12 lines
Diff to previous 1.45 (colored)

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

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

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

  Include updated xfs_fs.h, remove static from
  fs_geometry() routine.

Revision 1.44 / (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.43: +1 -1 lines
Diff to previous 1.43 (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.43 / (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.42: +3 -5 lines
Diff to previous 1.42 (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.42 / (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.41: +19 -1 lines
Diff to previous 1.41 (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.41 / (download) - annotate - [select for diffs], Wed Nov 24 21:48:45 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored)

hide read_buf and get_buf calls

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

make all xfs buffer access be buftarg_t based

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

virtualize brelse() call

Revision 1.38 / (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.37: +3 -3 lines
Diff to previous 1.37 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.37 / (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.36: +4 -1 lines
Diff to previous 1.36 (colored)

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

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

Change includes for v2 directory support.
Add v2 support in geometry reporting.
Fix some formatting.  Remove a bad assert.

Revision 1.35 / (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.34: +1 -1 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Thu Dec 3 01:35:48 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.33: +35 -7 lines
Diff to previous 1.33 (colored)

Add another version of the geometry fsop call with more fields,
including a flags word that interprets the superblock version,
and multiple sector sizes, and a directory block size (not yet
different from the fs blocksize).
pv: 608727

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 28 22:02:49 1998 UTC (19 years, 8 months ago) by kayuri
Branch: MAIN
Changes since 1.32: +27 -17 lines
Diff to previous 1.32 (colored)

rv: doucette@engr
pv: 565896
Changed xfs_fs_geometry() to take a version number to indicate whether this
is a irix6.5 xfs_fsop_geom_t structure which includes the sunit and swidth
fields or whether it is a pre irix6.5 structure. Depending on this, the
sunit and swidth is passed from the mount structure to the caller of the
syssgi sycall with XFS_FS_GEOMETRY. Also modified xfs_fsoperations to handle
the older and newer XFS_FS_GEOMETRY_VI and XFS_FS_GEOMETRY opcodes.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jan 18 08:53:21 1998 UTC (19 years, 8 months ago) by rcc
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

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

Revision 1.31 / (download) - annotate - [select for diffs], Fri Dec 19 19:35:47 1997 UTC (19 years, 9 months ago) by gnuss
Branch: MAIN
Changes since 1.30: +90 -6 lines
Diff to previous 1.30 (colored)

Added 2 new ops: XFS_SET_RESBLKS and XFS_GET_RESBLKS for getting and setting
reserved block params in in-core mount table

Revision 1.30 / (download) - annotate - [select for diffs], Thu Dec 18 16:16:48 1997 UTC (19 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.29: +7 -7 lines
Diff to previous 1.29 (colored)

pv: 276922 rv: rcc@engr
Use new xfs error reporting function which prints filesystem name

Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 29 22:28:10 1997 UTC (20 years ago) by kayuri
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

Modified xfs_fs_geometry to return the stripe unit and width information from
the superblock (bug 525413).

Revision 1.28 / (download) - annotate - [select for diffs], Wed Sep 17 17:15:12 1997 UTC (20 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

Fix the missing assignment to b_target in xfs_growfs_data()

Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 12 17:45:26 1997 UTC (20 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.26: +7 -3 lines
Diff to previous 1.26 (colored)

Add buffer targeting stuff

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

Move xfs_growfs_rt out to xfs_rtalloc.c.

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

Get space reservations from xfs_trans_space.h macros.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:07 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.23: +30 -17 lines
Diff to previous 1.23 (colored)

First cut of XFS I/O error handling changes.

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

vfile restructure

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

Remove setting of sb_versionnum during growfs for the secondary
superblocks, just use the main version.  (part of bug 385316)

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_fsops.c,v
> ----------------------------
> revision 1.20
> date: 1995/10/13 00:28:24;  author: doucette;  state: Exp;  lines: +1 -0
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_fsops.c,v
> ----------------------------
> revision 1.20
> date: 1995/10/13 00:28:24;  author: doucette;  state: Exp;  lines: +1 -0
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

Revision 1.19 / (download) - annotate - [select for diffs], Tue Oct 10 10:45:42 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.18: +20 -4 lines
Diff to previous 1.18 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_fsops.c,v
> ----------------------------
> revision 1.19
> date: 1995/10/10 00:58:27;  author: doucette;  state: Exp;  lines: +20 -4
> Add imaxpct to geometry output (in a pad space).  Also add imaxpct
> to data growfs.  Allow data growfs with no change in data size.
> =============================================================================

Revision 1.18 / (download) - annotate - [select for diffs], Tue Oct 3 04:19:34 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.17: +5 -4 lines
Diff to previous 1.17 (colored)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_fsops.c,v
> ----------------------------
> revision 1.18
> date: 1995/09/29 17:26:47;  author: doucette;  state: Exp;  lines: +5 -4
> Fix copyin/copyout error checking in xfs fsoperations, it would
> return -1 instead of a good errno on error.
> =============================================================================

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

Change tables in fsops from int to short, to save a tiny bit of space.

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

Add include of xfs_macros.h.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 8 00:37:59 1995 UTC (22 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.14: +1 -0 lines
Diff to previous 1.14 (colored)

set version number on secondary superblocks to version high on
growfs.  allows us to detect repair/fs version mismatches when
the primary superblock gets blasted.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 22 23:23:21 1995 UTC (22 years, 3 months ago) by rcc
Branch: MAIN
Changes since 1.13: +11 -4 lines
Diff to previous 1.13 (colored)

changed to use new agi header good version macros

and changed to issue console warnings if a write error is
detected on bwriting out secondary superblocks on a growfs

Revision 1.13 / (download) - annotate - [select for diffs], Fri May 19 22:55:02 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.12: +10 -2 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Wed Apr 26 22:49:45 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

Fixing up recovery from disk errors.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 13 03:15:07 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.10: +45 -10 lines
Diff to previous 1.10 (colored)

First cut at disk error handling

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 7 02:50:02 1995 UTC (22 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.9: +5 -2 lines
Diff to previous 1.9 (colored)

Fix bug 261003.  Neglected to brelse the buffer at the end of the
filesystem, if the read_buf on it failed.  This causes subsequent
calls trying the same thing to block or get an error.

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

Use the precomputed value of maxrecs for xfs_alloc structures, instead
of using the macro XFS_BTREE_BLOCK_MAXRECS.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 21 22:08:32 1994 UTC (22 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.7: +23 -2 lines
Diff to previous 1.7 (colored)

Add XFS_FS_COUNTS operation to support df -r option.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 18 20:12:22 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.6: +23 -17 lines
Diff to previous 1.6 (colored)

Change the SGI_XFS_FSOPERATIONS syssgi so that each operation for growfs
has a different structure.  Put the log-internal flag and a new value
for rt extent size in the new structures.  Add the -e extsize option to
the command.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 12 22:02:23 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)

Fix growfs-data's block reservation, we were passing in bytes where
blocks were expected.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 7 21:14:41 1994 UTC (23 years ago) by miken
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Implement transaction types

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

Change from EINVAL to ENOSYS for rt/log growth not yet implemented.

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

Move the fd to mp conversion into xfs_itable.c.
Fix get_buf calls that were passing a size in bytes instead of BBs.

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

Add locking around growfs routines so we can't have multiple operations
in progress at once.  Return EWOULDBLOCK if it happens, and the
utility will recognize the error.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 27 02:25:26 1994 UTC (23 years 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>