CVS log for xfs-linux/xfs_trans.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.191 / (download) - annotate - [select for diffs], Fri Oct 17 02:58:35 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.190: +2 -4 lines
Diff to previous 1.190 (unified)

Finish removing the mount pointer from the AIL API

Change all the remaining AIL API functions that are passed
struct xfs_mount pointers to pass pointers directly to the
struct xfs_ail being used. With this conversion, all external
access to the AIL is via the struct xfs_ail. Hence the operation
and referencing of the AIL is almost entirely independent of
the xfs_mount that is using it - it is now much more tightly
tied to the log and the items it is tracking in the log than
it is tied to the xfs_mount.

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

  Finish removing the mount pointer from the AIL API

Revision 1.190 / (download) - annotate - [select for diffs], Fri Oct 17 02:57:36 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.189: +6 -3 lines
Diff to previous 1.189 (unified)

Add ail pointer into log items

Add an xfs_ail pointer to log items so that the log items can
reference the AIL directly during callbacks without needed a
struct xfs_mount.

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

  Add ail pointer into log items

Revision 1.189 / (download) - annotate - [select for diffs], Thu Oct 16 05:23:50 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.188: +2 -2 lines
Diff to previous 1.188 (unified)

Move the AIL lock into the struct xfs_ail

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

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

  Move the AIL lock into the struct xfs_ail

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

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.187 / (download) - annotate - [select for diffs], Thu Jul 24 15:42:45 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.186: +6 -6 lines
Diff to previous 1.186 (unified)

remove shouting-indirection macros  from xfs_trans.h

compile-tested, fairly easy to inspect with:

quilt diff --diff="diff -iu"

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

Revision 1.186 / (download) - annotate - [select for diffs], Wed Jul 23 16:38:25 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.185: +63 -0 lines
Diff to previous 1.185 (unified)

Move xfs_attr_rolltrans to xfs_trans_roll

Move it from the attr code to the transaction code and make the attr
code call the new function.

We rolltrans is really usefull whenever we want to use rolling
transaction, should be generic, it isn't dependent on any part of the
attr code anyway.

We use this excuse to change all the:
 if ((error = xfs_attr_rolltrans()))

calls into:
 error = xfs_trans_roll();
 if (error)

Signed-off-by: Niv Sardi <xaiki@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31729a by kenmcd.

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

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

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

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

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.182 / (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.181: +33 -39 lines
Diff to previous 1.181 (unified)

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.181 / (download) - annotate - [select for diffs], Tue Jun 5 15:40:51 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.180: +40 -37 lines
Diff to previous 1.180 (unified)

Apply transaction delta counts atomically to incore counters

With the per-cpu superblock counters, batch updates are no longer
atomic across the entire batch of changes. This is not an issue
if each individual change in teh batch is applied atomically.
Unfortunately, free block count changes are not applied atomically,
and they are applied in a manner guaranteed to cause problems.

Essentially, the free block count reservation that the transaction
took initially is returned to the in core counters before a second
delta takes away what is used. because these two operations are
not atomic, we can race with another thread that can use the
returned transaction reservation before the transaction takes
the space away again and we can then get ENOSPC being reported
in a spot where we don't have an ENOSPC condition, nor should
we ever see one there.

Fix it up by rolling the two deltas into the one so it can be
applied safely (i.e. atomically) to the incore counters.
Merge of xfs-linux-melb:xfs-kern:28796a by kenmcd.

  Apply transaction deltas atomically by ensuring we only ever update
  each counter once per transaction.

Revision 1.180 / (download) - annotate - [select for diffs], Tue May 22 15:51:36 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.179: +1 -1 lines
Diff to previous 1.179 (unified)

Fix the transaction flags to make lazy superblock counters work.
Merge of xfs-linux-melb:xfs-kern:28653a by kenmcd.

  Only conditionally dirty the superblock in the transaction is
  lazy superblock counters are being used.

Revision 1.179 / (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.178: +46 -12 lines
Diff to previous 1.178 (unified)

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.178 / (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.177: +0 -6 lines
Diff to previous 1.177 (unified)

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.177 / (download) - annotate - [select for diffs], Wed Jan 10 14:42:05 2007 UTC (10 years, 9 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.176: +16 -16 lines
Diff to previous 1.176 (unified)

Make growfs work for amounts greater than 2TB

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

  Superblock modification deltas changed to 64 bit types to allow
  single modifications of greater than 32 bits on 32 bit platforms.

Revision 1.176 / (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.175: +0 -2 lines
Diff to previous 1.175 (unified)

Remove version 1 directory code.  Never functioned on Linux, just pure bloat.
Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.

Revision 1.175 / (download) - annotate - [select for diffs], Tue May 30 15:58:42 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.174: +5 -12 lines
Diff to previous 1.174 (unified)

Cleanup a missed porting conversion, and freezing.
Merge of xfs-linux-melb:xfs-kern:26109a by kenmcd.

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

Make the pflags test/set wrappers more legible for us mere humans.
Merge of xfs-linux-melb:xfs-kern:26099a by kenmcd.

Revision 1.173 / (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.172: +2 -2 lines
Diff to previous 1.172 (unified)

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.172 / (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.171: +3 -3 lines
Diff to previous 1.171 (unified)

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.171 / (download) - annotate - [select for diffs], Fri Mar 17 14:28:53 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.170: +1 -1 lines
Diff to previous 1.170 (unified)

Correct the dquot reservation component for the link transation.
Merge of xfs-linux-melb:xfs-kern:25476a by kenmcd.

Revision 1.170 / (download) - annotate - [select for diffs], Fri Mar 3 05:02:10 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.169: +153 -34 lines
Diff to previous 1.169 (unified)

Reduce complexity in xfs_trans_init by pushing complex macros out into functions and hence reduce the stack footprint there.
Merge of xfs-linux-melb:xfs-kern:25360a by kenmcd.

Revision 1.169 / (download) - annotate - [select for diffs], Fri Dec 16 09:31:20 2005 UTC (11 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.168: +2 -2 lines
Diff to previous 1.168 (unified)

Fix a thinko when generating a forced shutdown stack trace.

Revision 1.168 / (download) - annotate - [select for diffs], Wed Dec 14 16:21:45 2005 UTC (11 years, 10 months ago) by hankins
Branch: MAIN
Changes since 1.167: +7 -5 lines
Diff to previous 1.167 (unified)

Add a stack trace in the case of xfs_forced_shutdown.
Add a stack trace in the case of xfs_forced_shutdown.

Revision 1.167 / (download) - annotate - [select for diffs], Wed Oct 26 03:53:14 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.166: +6 -37 lines
Diff to previous 1.166 (unified)

Remove old, broken nolog-mode code - noone plans to ever fix it.
Merge of xfs-linux-melb:xfs-kern:24213a by kenmcd.

Revision 1.166 / (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.165: +12 -26 lines
Diff to previous 1.165 (unified)

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

Revision 1.165 / (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.164: +10 -10 lines
Diff to previous 1.164 (unified)

Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.
Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.

Revision 1.164 / (download) - annotate - [select for diffs], Tue Sep 6 22:44:36 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.163: +8 -5 lines
Diff to previous 1.163 (unified)

write barrier support

Issue all log sync operations as ordered writes.  In addition flush the
disk cache on fsync if the sync cached operation didn't sync the log to
disk (this requires some additional bookeping in the transaction and log
code).
If the device doesn't claim to support barriers, the filesystem has an
extern log volume or the trial superblock write with barriers enabled
failed we disable barriers and print a warning.  We should probably fail
the mount completely, but that could lead to nasty boot failures for
the root filesystem.

Not enabled by default yet, needs more destructive testing first.

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

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

Revision 1.162 / (download) - annotate - [select for diffs], Wed May 18 09:29:33 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.161: +1 -1 lines
Diff to previous 1.161 (unified)

mark various symbols static

Patch from Adrian Bunk

Revision 1.161 / (download) - annotate - [select for diffs], Wed May 18 09:18:24 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.160: +0 -19 lines
Diff to previous 1.160 (unified)

Remove dead code.

Patch from Adrian Bunk

Revision 1.160 / (download) - annotate - [select for diffs], Tue Jun 22 23:11:39 2004 UTC (13 years, 3 months ago) by overby
Branch: MAIN
Changes since 1.159: +3 -0 lines
Diff to previous 1.159 (unified)

Permit buffered writes to the real-time subvolume.

Add transaction space reservation of real-time subvolume extents, and split
out the space reservation for what is metadata and what is user data, putting
the user data on the real-time when appropriate.

Revision 1.159 / (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.158: +3 -1 lines
Diff to previous 1.158 (unified)

Integrate freeze/unfrezze with Linux 2.6 VFS infrastructure
use fs_check_frozen

Revision 1.158 / (download) - annotate - [select for diffs], Fri May 21 07:11:39 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.157: +0 -4 lines
Diff to previous 1.157 (unified)

Undoes mod:     xfs-linux:xfs-kern:172230a
Remove unused xfs_trans_bhold_until_committed and related macros.

Revision 1.157 / (download) - annotate - [select for diffs], Fri May 21 06:35:11 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.156: +0 -0 lines
Diff to previous 1.156 (unified)

Remove unused xfs_trans_bhold_until_committed and related macros.

Revision 1.156 / (download) - annotate - [select for diffs], Wed May 19 06:38:41 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.155: +20 -4 lines
Diff to previous 1.155 (unified)

Fix a use-after-free during transaction commit when the log is in error state.

Revision 1.155 / (download) - annotate - [select for diffs], Mon Mar 8 22:45:20 2004 UTC (13 years, 7 months ago) by sandeen
Branch: MAIN
Changes since 1.154: +6 -6 lines
Diff to previous 1.154 (unified)

Use PFLAGS_RESTORE_FSTRANS in place of PFLAGS_RESTORE,
only restore previously saved FSTRANS state.  Otherwise
we can lose process flags.

Revision 1.154 / (download) - annotate - [select for diffs], Tue Dec 9 00:03:48 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.153: +1 -1 lines
Diff to previous 1.153 (unified)

No need to initialise struct xfs_trans field to null after a zalloc.

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

Implement deletion of inode clusters in XFS.
remove assert that the inode count always increments

Revision 1.152 / (download) - annotate - [select for diffs], Thu Aug 21 19:47:57 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.151: +3 -3 lines
Diff to previous 1.151 (unified)

Re-work xfs stats macros to support per-cpu data

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

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

Revision 1.150 / (download) - annotate - [select for diffs], Fri Jul 11 20:22:33 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.149: +9 -8 lines
Diff to previous 1.149 (unified)

Remove use after free of transaction structure for saving process state
and fix leak of the FS_FSTRANS flag outside of a transaction.
Remove use after free of transaction structure for saving process state

Revision 1.149 / (download) - annotate - [select for diffs], Fri Jul 11 05:34:46 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.148: +1 -2 lines
Diff to previous 1.148 (unified)

rework last fix, hide the flag manipulation, and retain
the PF_FSTRANS flag instead of dropping it.
Merge of 2.4.x-xfs-kern:slinx:152949a by nathans.

  use PFLAGS_DUP to move the saved state from one transaction to the
  next.

Revision 1.148 / (download) - annotate - [select for diffs], Thu Jul 10 17:46:14 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.147: +2 -0 lines
Diff to previous 1.147 (unified)

Keep task structure flags straight across a rolling transaction
Merge of 2.4.x-xfs-kern:slinx:152892a by lord.

  in xfs_trans_dup, propogate the saved flags over to the new transaction,
  clear PF_FSTRANS in the transaction which is about to be completed
  as we do not want to drop the flag from the process in that case.

Revision 1.147 / (download) - annotate - [select for diffs], Thu Jul 10 02:21:36 2003 UTC (14 years, 3 months ago) by dxm
Branch: MAIN
Changes since 1.146: +7 -7 lines
Diff to previous 1.146 (unified)

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

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

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

The Big Move
linux/fs/xfs/xfs_trans.c 1.144 Renamed to xfs_trans.c

Revision 1.145 / (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.144: +0 -1297 lines
Diff to previous 1.144 (unified)

Nuke

Revision 1.144 / (download) - annotate - [select for diffs], Mon May 19 14:31:43 2003 UTC (14 years, 5 months ago) by overby
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.143: +0 -10 lines
Diff to previous 1.143 (unified)

Remove a use after free which was introduced in the debug
build.
Merge of irix6.5f:irix:148158a by lord.

  Move SIM xfs_trans_committed to happen later to avoid use-after-free
  of log items.

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

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.142 / (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.141: +14 -14 lines
Diff to previous 1.141 (unified)

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

Revision 1.141 / (download) - annotate - [select for diffs], Mon Mar 17 06:02:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.140: +6 -19 lines
Diff to previous 1.140 (unified)

Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.
Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.

Revision 1.140 / (download) - annotate - [select for diffs], Thu Feb 13 17:41:15 2003 UTC (14 years, 8 months ago) by overby
Branch: MAIN
Changes since 1.139: +27 -16 lines
Diff to previous 1.139 (unified)

fix one more set of transaction callback ordering issues,
this was always there, but exposed by the last change in
this area and made much more likely.
Merge of irix6.5f:irix:139655a by lord.

  in xfs_trans_commit, eliminate a race betweeen unlocking items and adding the
  transaction to the iclog's callback by adding the callbacks before unlocking
  the items.  The reference to the iclog acquired in xfs_log_done is held until
  after the unlocks are done.

Revision 1.139 / (download) - annotate - [select for diffs], Fri Jan 24 20:15:45 2003 UTC (14 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.138: +17 -8 lines
Diff to previous 1.138 (unified)

Do not release the last iclog of a transaction before we get our
callbacks attached to it. Otherwise we can end up executing the
callback out of order.
when committing a transaction the log code passes us back a handle to
the iclog with our commit record in it. We pass this into xfs_log_notify
so that we can attach callbacks to it prior to dropping our hold in it.

Revision 1.138 / (download) - annotate - [select for diffs], Fri Jan 24 20:11:43 2003 UTC (14 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.137: +5 -2 lines
Diff to previous 1.137 (unified)

Transaction A is in callback processing unpinning a buffer,
Transaction B is in the process of marking the buffer stale.
Between transaction A dropping its reference and checking
the stale state, transaction B gets a reference and stales
the buffer. A ends up freeing the log item and releasing
the buffer. End result is we have a reference to free memory
and an unlocked buffer.
when unpining a log item, pass the buffer stale state from the
log item descriptor flags into the unpin operation, this tells
the function that we are actually the transaction which staled
it.

Revision 1.137 / (download) - annotate - [select for diffs], Wed Oct 23 04:21:07 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.136: +14 -14 lines
Diff to previous 1.136 (unified)

Undoes mod:     2.4.x-xfs:slinx:130826a
Revert STATIC->static change

Revision 1.136 / (download) - annotate - [select for diffs], Wed Oct 23 03:54:05 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.135: +14 -14 lines
Diff to previous 1.135 (unified)

Replace STATIC with static in xfs code

Revision 1.135 / (download) - annotate - [select for diffs], Fri Oct 11 20:39:00 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.134: +1 -0 lines
Diff to previous 1.134 (unified)

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

Revision 1.134 / (download) - annotate - [select for diffs], Wed Jul 31 21:19:39 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.133: +1 -1 lines
Diff to previous 1.133 (unified)

move from xfs_zone back to kmem_zone

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

clean up the check frozen interface

Revision 1.132 / (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.131: +60 -60 lines
Diff to previous 1.131 (unified)

whitespace cleanup

Revision 1.131 / (download) - annotate - [select for diffs], Mon Jul 8 20:25:42 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.130: +2 -0 lines
Diff to previous 1.130 (unified)

Mark the super block dirty after a transaction

Revision 1.130 / (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.129: +1 -1 lines
Diff to previous 1.129 (unified)

Update copyright dates

Revision 1.129 / (download) - annotate - [select for diffs], Fri Feb 15 20:47:53 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.128: +25 -0 lines
Diff to previous 1.128 (unified)

Add to each transaction a list of per-AG busy list entries.  When the
transaction commits, clear those entries.



Revision 1.128 / (download) - annotate - [select for diffs], Tue Feb 5 21:52:14 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.127: +1 -1 lines
Diff to previous 1.127 (unified)

remove KM_SLEEP_IO flag

Revision 1.127 / (download) - annotate - [select for diffs], Thu Jan 31 11:10:15 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.126: +16 -0 lines
Diff to previous 1.126 (unified)

keep track of if we are in a transaction or not.

Revision 1.126 / (download) - annotate - [select for diffs], Sat Jan 26 04:58:11 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.125: +0 -16 lines
Diff to previous 1.125 (unified)

Undoes mod:     2.4.x-xfs:slinx:110277a

Revision 1.125 / (download) - annotate - [select for diffs], Fri Jan 25 17:47:08 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.124: +16 -0 lines
Diff to previous 1.124 (unified)

Maintain the current transaction in the current->journal_info pointer,
this will allow us to always tell if code is being called from within
a transaction or not.

Revision 1.124 / (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.123: +9 -2 lines
Diff to previous 1.123 (unified)

Merge irix6.5f:irix:101630a
Split xfs_trans_alloc into freezeable and non-freezable versions.

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

fix a compile warning generated in that last sync with IRIX code.

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

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

Revision 1.121 / (download) - annotate - [select for diffs], Tue Aug 14 13:35:18 2001 UTC (16 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.120: +1 -1 lines
Diff to previous 1.120 (unified)

Merge of irix6.5f:irix:99901a
Add xfs_ioerror_alert calls on I/O errors

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

Add freeze synchronization points to trans_alloc, trans_dup and trans_free
calls.

Revision 1.119 / (download) - annotate - [select for diffs], Thu Apr 19 02:37:23 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.118: +4 -4 lines
Diff to previous 1.118 (unified)

change XFS_STATS macro so that it doesn't rely on cpp ## to construct
individual field names for the xfsstats structure.  fixes up some gcc
compiler warnings, for recent versions of gcc.

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

Add new memory flag to indicate IO during allocation is OK

Revision 1.117 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.116: +6 -72 lines
Diff to previous 1.116 (unified)

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

Revision 1.116 / (download) - annotate - [select for diffs], Tue Jul 25 23:18:16 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.115: +14 -17 lines
Diff to previous 1.115 (unified)

clean up early architecture hangover

Revision 1.115 / (download) - annotate - [select for diffs], Tue Jul 18 01:41:36 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.114: +4 -4 lines
Diff to previous 1.114 (unified)

rework the xfs stats interface to facilitate code sharing.  if there
is no interface available to export the stats (i.e. procfs), don't
bother compiling them in.

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

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

Merge of 2.3.99pre2-xfs:slinx:63295a originally by nathans on 06/03/00
  remove all references to stuff from ksa.h and psa.h.

Merge of 2.3.99pre2-xfs:slinx:63664a originally by nathans on 06/08/00
  more housekeeping - remove unused headers & dead code.

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

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

Revision 1.112 / (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.111: +1 -1 lines
Diff to previous 1.111 (unified)

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

Revision 1.111 / (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.110: +25 -12 lines
Diff to previous 1.110 (unified)

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

Revision 1.110 / (download) - annotate - [select for diffs], Fri Jun 9 02:16:21 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
CVS Tags: DELETE
Changes since 1.109: +25 -21 lines
Diff to previous 1.109 (unified)

sb architecture mods
Merge of 2.3.99pre2-xfs:slinx:46749a by ananth.

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

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

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.108 / (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.107: +1 -3 lines
Diff to previous 1.107 (unified)

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.107 / (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.106: +0 -1 lines
Diff to previous 1.106 (unified)

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.106 / (download) - annotate - [select for diffs], Fri Jun 9 00:03:30 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.105: +19 -1 lines
Diff to previous 1.105 (unified)

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

  Merge of 2.3.42-xfs:slinx:44186a by ananth.
  Copied GPL from slinx-xfs tree.

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

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

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

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

Revision 1.103 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.102: +21 -6 lines
Diff to previous 1.102 (unified)

Merge from irix/cxfs-f to irix/irix6.5f
Merge of cxfs-f:irix:15011b created by lord on 05/11/99
  Merge from irix/cxfs to irix/cxfs-f
  Merge of cxfs:irix:13423a created by lord on 04/19/99
  CXFS infrastructure checkin

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

Change includes for v2 directory support.

Revision 1.101 / (download) - annotate - [select for diffs], Fri Dec 4 21:44:23 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.100: +48 -36 lines
Diff to previous 1.100 (unified)

Add casts to make this compile cleanly -64.
pv: 617654

Revision 1.100 / (download) - annotate - [select for diffs], Wed Aug 5 14:26:44 1998 UTC (19 years, 2 months ago) by gnuss
Branch: MAIN
Changes since 1.99: +6 -22 lines
Diff to previous 1.99 (unified)

remove reserve block allocation from xfs_trans_apply_sb_deltas

Revision 1.99 / (download) - annotate - [select for diffs], Fri Mar 20 01:34:19 1998 UTC (19 years, 7 months ago) by kayuri
Branch: MAIN
Changes since 1.98: +3 -2 lines
Diff to previous 1.98 (unified)

rv: doucette@engr
pv: 576216
Changed xfs_trans_cancel() to assert if the log item type is XFS_LI_EFD and
this is not the forced shutdown case.

Revision 1.98 / (download) - annotate - [select for diffs], Tue Jan 27 23:48:51 1998 UTC (19 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.97: +7 -1 lines
Diff to previous 1.97 (unified)

In xfs_trans_cancel, if XFS_TRANS_ABORT is passed in flags, and the
transaction is not XFS_TRANS_DIRTY, then kill the abort flag.  The caller
was just being lazy.  This matters because if abort is passed we
should be shutting down, and so buffers are summarily unlocked.
pv: 564854
rv: rcc@engr

Revision 1.97 / (download) - annotate - [select for diffs], Sun Jan 18 09:05:49 1998 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.96: +11 -3 lines
Diff to previous 1.96 (unified)

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

Revision 1.96 / (download) - annotate - [select for diffs], Mon Jan 12 21:56:23 1998 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.95: +4 -5 lines
Diff to previous 1.95 (unified)

In xfs_trans_commit of an empty transaction, don't interpret
xfs_log_done return value as an error code, it's an lsn.
pv: 559265
rv: jtk@cray.com

Revision 1.95 / (download) - annotate - [select for diffs], Sat Dec 20 00:57:42 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.94: +10 -10 lines
Diff to previous 1.94 (unified)

In xfs_trans_cancel, do a shutdown if the transaction is
dirty and the caller hasn't done it.
Fix simulation build warnings.
pv: 538827
rv: lord@cray.com

Revision 1.94 / (download) - annotate - [select for diffs], Fri Dec 19 19:35:52 1997 UTC (19 years, 10 months ago) by gnuss
Branch: MAIN
Changes since 1.93: +32 -11 lines
Diff to previous 1.93 (unified)

propogate new transaction flag, XFS_TRANS_RESERVE, in a trans_dup call

Revision 1.93 / (download) - annotate - [select for diffs], Thu Dec 18 16:17:01 1997 UTC (19 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.92: +16 -1 lines
Diff to previous 1.92 (unified)

pv: 515588 rv: rcc@engr
Make a panic where a dirty transaction has no items in it a
filesystem shutdown instead - will still panic in DEBUG kernels.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Nov 25 01:34:36 1997 UTC (19 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (unified)

545936 - change xfs_trans_uncommit to call IOP_UNPIN_REMOVE.  That
cleans up the xaction structures for us.  pv: 545936, rv: doucette@engr

Revision 1.91 / (download) - annotate - [select for diffs], Wed Jul 23 21:45:35 1997 UTC (20 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.90: +65 -2 lines
Diff to previous 1.90 (unified)

Add log reservation values and superblock updates for growfs rt.

Revision 1.90 / (download) - annotate - [select for diffs], Fri May 16 00:13:16 1997 UTC (20 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (unified)

Fix warning (bad cast) caught by 7.2 compilers.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Apr 30 22:40:20 1997 UTC (20 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.88: +61 -40 lines
Diff to previous 1.88 (unified)

xfs_trans_committed and xfs_trans_chunk_committed take a flag indicating whether the
transaction was aborted or not. The IOP_UNLOCK/ABORT routines have to deal with that
accordingly. This is needed specially for EFI/EFD style inter-transaction dependencies.
More error handling changes to xfs_trans_commit and cancel.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Apr 6 03:08:11 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.87: +30 -30 lines
Diff to previous 1.87 (unified)

Make xfs_trans_commit return a real status as opposed to always 0.
While the former model kept things simpler, error handling issues
esp. in EFI/EFD style transactions got too hairy. This made things cleaner,
and makes the external interface a little closer to a database style model.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Mar 28 01:54:55 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.86: +32 -19 lines
Diff to previous 1.86 (unified)

disk error handling changes

Revision 1.86 / (download) - annotate - [select for diffs], Sat Mar 22 01:08:19 1997 UTC (20 years, 7 months ago) by rcc
Branch: MAIN
Changes since 1.85: +1 -15 lines
Diff to previous 1.85 (unified)

remove some cruft

Revision 1.85 / (download) - annotate - [select for diffs], Thu Mar 13 05:57:18 1997 UTC (20 years, 7 months ago) by sup
Branch: MAIN
Changes since 1.84: +27 -7 lines
Diff to previous 1.84 (unified)

xlog_debug global variable is a DEBUG/SIM only now.
This was an old debugging stuff that we forgot to clean up.
Also made XLOG_NOLOG to build again so that we can
actually disable the log to measure its performance impact.
xlog_debug __is__ still being used by the simulation code.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:43 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.83: +56 -9 lines
Diff to previous 1.83 (unified)

First cut of XFS I/O error handling changes.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jan 13 18:41:19 1997 UTC (20 years, 9 months ago) by kayuri
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (unified)

Cleaned up xfs_trans_getsb() which was accessing a null pointer.
Added xfs_mount_t parameter to xfs_trans_getsb().

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jul 26 21:20:01 1996 UTC (21 years, 2 months ago) by alexp
Branch: MAIN
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (unified)

Convert AIL_LOCK from mutex_spinlock to mutex under "ifdef INTR_KTHREADS"

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jun 24 08:45:01 1996 UTC (21 years, 3 months ago) by sup
Branch: MAIN
Changes since 1.80: +13 -2 lines
Diff to previous 1.80 (unified)

dquot reservations don't mark the TRANS_DIRTY flag anymore.
Doing so can unnecessarily cause trans_cancel to complain that
we're aborting a dirty transaction.
Also added unreserve_quota call to the (trans-not-dirty)
path of trans_commit.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jun 12 01:32:19 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.79: +15 -13 lines
Diff to previous 1.79 (unified)

Added dquot reservations to applicable log reservations.

Revision 1.79 / (download) - annotate - [select for diffs], Wed May 15 22:13:21 1996 UTC (21 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.78: +22 -2 lines
Diff to previous 1.78 (unified)

disk quota changes
trans_t now has a t_dqinfo ptr (which stays NULL when quotaoff), that
needs care. All the actual handling of 'deltas' and 'applying' at
commit time is in xfs_trans_dquot.c

Revision 1.78 / (download) - annotate - [select for diffs], Tue Mar 5 07:59:03 1996 UTC (21 years, 7 months ago) by limes
Branch: MAIN
Changes since 1.77: +3 -1 lines
Diff to previous 1.77 (unified)

fix some compiler messages

Revision 1.77 / (download) - annotate - [select for diffs], Fri Feb 9 01:14:27 1996 UTC (21 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (unified)

Move the include of sys/debug.h under #define _KERNEL for compile errors.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jan 31 05:40:45 1996 UTC (21 years, 8 months ago) by ack
Branch: MAIN
Changes since 1.75: +19 -32 lines
Diff to previous 1.75 (unified)

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_trans.c,v
> ----------------------------
> revision 1.74
> date: 1996/01/30 19:08:37;  author: doucette;  state: Exp;  lines: +19 -32
> Change xfs_mod_incore_sb and friends to use field numbers instead of
> a bitmask for the sb fields, this makes the values passed be 32 not 64 bits.
> Do lazy initialization of the transaction log item chunks, since the
> initialization at transaction allocation time is expensive, and we
> normally use only a few of the array entries.
> =============================================================================

Revision 1.75 / (download) - annotate - [select for diffs], Thu Nov 9 04:16:42 1995 UTC (21 years, 11 months ago) by jwag
Branch: MAIN
Changes since 1.74: +1 -2 lines
Diff to previous 1.74 (unified)

cleaned out useless headers.

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

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

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_trans.c,v
> ----------------------------
> revision 1.72
> date: 1995/10/13 00:28:41;  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.72 / (download) - annotate - [select for diffs], Tue Oct 17 08:20:21 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.71: +1 -0 lines
Diff to previous 1.71 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_trans.c,v
> ----------------------------
> revision 1.72
> date: 1995/10/13 00:28:41;  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.71 / (download) - annotate - [select for diffs], Tue Oct 10 10:45:49 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.70: +14 -1 lines
Diff to previous 1.70 (unified)

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_trans.c,v
> ----------------------------
> revision 1.71
> date: 1995/10/10 00:58:32;  author: doucette;  state: Exp;  lines: +14 -1
> Add support for max % inode space checking (sb_imax_pct field).
> =============================================================================

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

Add include of xfs_macros.h.

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

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

Revision 1.68 / (download) - annotate - [select for diffs], Wed Jun 21 23:12:43 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (unified)

261533 Initialize the entry in the transaction reservation table
for the new transaction for clearing bad unlinked inode lists.

Revision 1.67 / (download) - annotate - [select for diffs], Sat May 27 03:17:34 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.66: +4 -1 lines
Diff to previous 1.66 (unified)

Add code to fill in attribute transaction log reservation sizes.

Revision 1.66 / (download) - annotate - [select for diffs], Fri May 26 18:35:13 1995 UTC (22 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.65: +3 -1 lines
Diff to previous 1.65 (unified)

Ifdef out an assert in xfs_trans_commit for simulation.

Revision 1.65 / (download) - annotate - [select for diffs], Thu May 25 23:22:59 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.64: +3 -1 lines
Diff to previous 1.64 (unified)

Add initialization of the attribute invalidation
transaction precomputed log reservations.

Revision 1.64 / (download) - annotate - [select for diffs], Thu May 18 21:27:05 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (unified)

Add tr_addafork log reservation size.

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

268729 - Add initialization of reservation
for clearing setuid bits in xfs_write().

Revision 1.62 / (download) - annotate - [select for diffs], Mon May 8 19:59:34 1995 UTC (22 years, 5 months ago) by curtis
Branch: MAIN
Changes since 1.61: +4 -2 lines
Diff to previous 1.61 (unified)

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

Revision 1.61 / (download) - annotate - [select for diffs], Wed Apr 26 22:49:55 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.60: +27 -28 lines
Diff to previous 1.60 (unified)

Fixing up recovery from disk errors.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Apr 13 03:15:33 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.59: +9 -4 lines
Diff to previous 1.59 (unified)

First cut at disk error handling

Revision 1.59 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:51 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (unified)

Add an #ident line.
Include xfs_dir.h before xfs_dinode.h since it now has a dependency.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Mar 9 04:08:01 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.57: +51 -18 lines
Diff to previous 1.57 (unified)

Avoid the kmem_alloc in the commit code and deal
with the new AIL locking scheme.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jan 31 18:59:55 1995 UTC (22 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.56: +2 -6 lines
Diff to previous 1.56 (unified)

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

Revision 1.56 / (download) - annotate - [select for diffs], Fri Dec 30 23:50:07 1994 UTC (22 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.55: +1 -3 lines
Diff to previous 1.55 (unified)

Move #include for sys/param.h inside #define _KERNEL 1 to make
ragnarok compile errors go away, for cmd/xfs/sim.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Dec 22 00:42:21 1994 UTC (22 years, 10 months ago) by tap
Branch: MAIN
Changes since 1.54: +0 -2 lines
Diff to previous 1.54 (unified)

cleanup code so file will compile without warnings.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 27 02:25:22 1994 UTC (23 years ago) by doucette
Branch: MAIN
Changes since 1.53: +44 -9 lines
Diff to previous 1.53 (unified)

Add agcount, dblocks to superblock fields that can be changed in
a transaction, for growfs..

Revision 1.53 / (download) - annotate - [select for diffs], Thu Sep 8 20:29:57 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.52: +7 -2 lines
Diff to previous 1.52 (unified)

Add xfs statistics support for osview (per-processor counters for
file system actions).

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jul 27 22:00:41 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.51: +5 -2 lines
Diff to previous 1.51 (unified)

In xfs_trans_reserve() add the blocks reserved to the total
rather than replacing the total so that if we get multiple
reservations we won't lose track of the first.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jun 27 23:53:59 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.50: +2 -3 lines
Diff to previous 1.50 (unified)

Add debugging accounting for agf btree blocks.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jun 25 21:42:57 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.49: +0 -1 lines
Diff to previous 1.49 (unified)

Remove include of obsolete xfs_bio.h.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jun 24 20:46:45 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.48: +8 -0 lines
Diff to previous 1.48 (unified)

Add calls to track agf counter changes in the transaction
so we can ensure that they are consistent with the changes
to the superblock.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jun 13 07:34:29 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.47: +2 -0 lines
Diff to previous 1.47 (unified)

Add trans magic number to in-core structure to facilitate debugging.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jun 9 19:39:04 1994 UTC (23 years, 4 months ago) by wei_hu
Branch: MAIN
Changes since 1.46: +0 -1 lines
Diff to previous 1.46 (unified)

Eliminate include of <sys/uuid.h>.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 9 01:38:56 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.45: +57 -168 lines
Diff to previous 1.45 (unified)

Use new log reservation scheme

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 8 01:35:42 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44 (unified)

Fix up usage of xfs_getsb() for new parameter.

Revision 1.44 / (download) - annotate - [select for diffs], Thu May 26 16:20:18 1994 UTC (23 years, 4 months ago) by tap
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (unified)

change assert statement so that it will not fail when xlog_debug is set to 0.

Revision 1.43 / (download) - annotate - [select for diffs], Thu May 26 01:30:19 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.42: +13 -83 lines
Diff to previous 1.42 (unified)

Add support for synchronous transactions.

Revision 1.42 / (download) - annotate - [select for diffs], Wed May 25 04:30:42 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41 (unified)

add count argument to xfs_log_reserve()

Revision 1.41 / (download) - annotate - [select for diffs], Mon May 23 21:52:02 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.40: +1 -2 lines
Diff to previous 1.40 (unified)

Move initialization of zone allocator to xfs_init().

Revision 1.40 / (download) - annotate - [select for diffs], Wed May 11 18:14:04 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.39: +59 -6 lines
Diff to previous 1.39 (unified)

Implement new chained transaction scheme.  We just manage
permanent log reservations correctly now.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 26 00:38:27 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (unified)

Use XFS_ERROR to return error values.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Apr 17 23:34:30 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37 (unified)

Change "functional" macros' names from lower to uppercase, for consistency
with everything else.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Apr 8 22:49:32 1994 UTC (23 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.36: +7 -2 lines
Diff to previous 1.36 (unified)

Manage block reservations across xfs_trans_dup()
properly.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Apr 8 20:12:38 1994 UTC (23 years, 6 months ago) by tap
Branch: MAIN
Changes since 1.35: +11 -0 lines
Diff to previous 1.35 (unified)

in xfs_trans_unreserve_and_mod_sb(), take into account the
deltas that have already been made to the number of real time extents
when computing the final values for the incore superblock.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Apr 7 00:07:30 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (unified)

change log_* to xlog_* and LOG_* to XLOG_*

Revision 1.34 / (download) - annotate - [select for diffs], Mon Mar 28 21:18:04 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33 (unified)

change XFS_TRANSACTION_MANAGER to XFS_TRANSACTION

Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 22 07:05:18 1994 UTC (23 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.32: +1 -0 lines
Diff to previous 1.32 (unified)

Fix xfs_trans_free, add a freesema to take the embedded semaphore
off the semalist.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Mar 11 18:23:04 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.31: +47 -14 lines
Diff to previous 1.31 (unified)

Add code for reservation undo when subsequent reservations fail.
Properly manage block reservation inheritance in xfs_trans_dup().

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

Fix xfs_trans_dup() to zero uninitialized fields.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Mar 9 23:48:21 1994 UTC (23 years, 7 months ago) by tap
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (unified)

modify xfs_trans_reserve() to return ENOSPC when not enough blocks are
avaliable. Previously, it was returning EINVAL.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Mar 8 21:56:28 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.28: +25 -18 lines
Diff to previous 1.28 (unified)

Make it work with the new log_debug scheme.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Mar 4 01:49:58 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.27: +1 -0 lines
Diff to previous 1.27 (unified)

Modify xfs_trans_dup() to fill in the t_log_res
field of the new transaction.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 25 02:01:45 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.26: +83 -12 lines
Diff to previous 1.26 (unified)

Added the ability to "duplicate" a transaction for
use by chained transactions using permanent reservations.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Feb 9 02:03:00 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.25: +18 -2 lines
Diff to previous 1.25 (unified)

Add rtextents reserved argument to xfs_trans_reserve.
Add t_rtx_res and t_rtx_res_used fields to trans structure, to implement it.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Feb 8 19:52:59 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.24: +26 -4 lines
Diff to previous 1.24 (unified)

Add some realtime file support.  Add XFS_TRANS_SB_RES_FREXTENTS by
analogy to sb_fdblocks support.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 4 04:38:28 1994 UTC (23 years, 8 months ago) by miken
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (unified)

Fix case where we were calling xfs_log_done() when xfs_log_reserve()
was never called.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 28 20:00:27 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.22: +19 -4 lines
Diff to previous 1.22 (unified)

Adding XFS_TRANS_SB_RES_FDBLOCKS to xfs_trans_mod_sb() so
that we can apply changes to the on-disk superblock which have
already been applied to the in-core superblock.  This is
specifically to support delayed allocation of file blocks.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 25 22:23:32 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.21: +22 -20 lines
Diff to previous 1.21 (unified)

Make it use the real log code if compiled
with _LOG_DEBUG.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 19 00:30:45 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.20: +5 -12 lines
Diff to previous 1.20 (unified)

Move definitions for kmem_... functions out of sim.h, use sys/kmem.h instead.
Add zone allocation support to the simulation.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jan 14 20:06:21 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.19: +8 -2 lines
Diff to previous 1.19 (unified)

Add functionality to support unlocking items from
xfs_trans_committed instead of xfs_trans_commit.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 7 01:33:01 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.18: +5 -6 lines
Diff to previous 1.18 (unified)

Fix use of xfs_log_done and xfs_log_reserve so they'll compile.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 5 01:34:49 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.17: +14 -172 lines
Diff to previous 1.17 (unified)

Make it compile without warnings or errors in the kernel.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Dec 31 22:48:32 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.16: +47 -4 lines
Diff to previous 1.16 (unified)

Change the simulation xfs_trans_do_commit() to do a lot
more of what it will do for real.  This gets a bunch more
of our code running.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 31 01:55:28 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.15: +190 -174 lines
Diff to previous 1.15 (unified)

First cut at making the transaction
code use the log manager interfaces.  xfs_trans.h now
depends on xfs_log.h, so we need to include it.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Dec 15 01:11:20 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.14: +0 -1 lines
Diff to previous 1.14 (unified)

Remove include for xfs.h, this file has been removed.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Dec 11 01:48:54 1993 UTC (23 years, 10 months ago) by miken
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (unified)

rearrange include files to prepare for new xfs_log.h file

Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 10 00:22:51 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.12: +216 -722 lines
Diff to previous 1.12 (unified)

Pull out buf and inode code.
Add superblock handling code.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 9 06:07:09 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.11: +20 -3 lines
Diff to previous 1.11 (unified)

Various cleanups to get kernel-mode make to work.  Fix includes and
other problems for #ifndef SIM code.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 25 01:26:51 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.10: +33 -19 lines
Diff to previous 1.10 (unified)

Added more inode logging support and
made multiple iodone callbacks work.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 19 21:45:54 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.9: +1 -0 lines
Diff to previous 1.9 (unified)

Include sys/uuid.h everywhere.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 17 02:16:44 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.8: +51 -32 lines
Diff to previous 1.8 (unified)

Implemented inode transaction routines.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 17 01:43:02 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.7: +9 -16 lines
Diff to previous 1.7 (unified)

Get rid of warnings from ragnarok compilers by adding casts, changing
types, adding lint comments.
Get rid of xfs_extdesc_t, replace with xfs_bmbt_rec_t.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 12 01:25:22 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.6: +66 -10 lines
Diff to previous 1.6 (unified)

Changing trans buffer routines to default to normal buffer
routines when tp is NULL.  Also changing xfs_trans_brelse()
to allow it to be called whether the buffer is dirty or not,
but to only unlock the buffer if it is not dirty within the
transaction.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 9 01:41:48 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (unified)

Include files for btree.h changes.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Nov 6 22:08:44 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.4: +8 -2 lines
Diff to previous 1.4 (unified)

Get rid of nested includes.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 29 21:18:18 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.3: +2 -0 lines
Diff to previous 1.3 (unified)

Add xfs_mount.h, xfs_mount_t is there now.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 29 20:36:18 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.2: +9 -6 lines
Diff to previous 1.2 (unified)

Fix includes, get rid of warnings.

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

Repair faulty assertion in xfs_trans_log_buf.

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