CVS log for xfs-linux-nodel/xfs_trans.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.155 / (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.154: +0 -3 lines
Diff to previous 1.154 (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.154 / (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.153: +1 -0 lines
Diff to previous 1.153 (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.153 / (download) - annotate - [select for diffs], Thu Oct 16 05:21:47 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.152: +0 -1 lines
Diff to previous 1.152 (unified)

move the AIl traversal over to a consistent interface

With the new cursor interface, it makes sense to make all the
traversing code use the cursor interface and make the old one go
away. This means more of the AIL interfacing is done by passing
struct xfs_ail pointers around the place instead of struct
xfs_mount pointers.

We can replace the use of xfs_trans_first_ail() in
xfs_log_need_covered() as it is only checking if the AIL is empty.
We can do that with a call to xfs_trans_ail_tail() instead, where a
zero LSN returned indicates and empty AIL...

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

  move the AIl traversal over to a consistent interface

Revision 1.152 / (download) - annotate - [select for diffs], Wed Oct 1 04:30:30 2008 UTC (9 years ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.151: +156 -161 lines
Diff to previous 1.151 (unified)

Sync up kernel and user-space headers
Merge of xfs-linux-melb:xfs-kern:32231a by kenmcd.

  Sync up kernel and user-space headers

Revision 1.151 / (download) - annotate - [select for diffs], Thu Jul 24 15:42:45 2008 UTC (9 years, 3 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.150: +0 -11 lines
Diff to previous 1.150 (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.150 / (download) - annotate - [select for diffs], Wed Jul 23 16:38:25 2008 UTC (9 years, 3 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.149: +1 -0 lines
Diff to previous 1.149 (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.149 / (download) - annotate - [select for diffs], Tue Mar 11 15:02:32 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.148: +1 -6 lines
Diff to previous 1.148 (unified)

Replace custom AIL linked-list code with struct list_head

Replace the xfs_ail_entry_t with a struct list_head and clean
the surrounding code up. Also fixes a livelock in
xfs_trans_first_push_ail() by terminating the loop at the
head of the list correctly.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Merge of xfs-linux-melb:xfs-kern:30636a by kenmcd.

  Replace custom AIL linked-list code with struct list_head

Revision 1.148 / (download) - annotate - [select for diffs], Thu Feb 28 03:30:00 2008 UTC (9 years, 8 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.147: +0 -1 lines
Diff to previous 1.147 (unified)

kill t_sema member of struct xfs_trans

It's completely unused so we might aswell kill it.  Note that there is
another t_sema in struct xlog_ticket, which is used and actually an sv_t
despite the name.  That one is left untouched by this patch.
Merge of xfs-linux-melb:xfs-kern:30591a by kenmcd.

  kill t_sema member of struct xfs_trans

Revision 1.147 / (download) - annotate - [select for diffs], Fri Jan 18 15:06:09 2008 UTC (9 years, 9 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.146: +3 -2 lines
Diff to previous 1.146 (unified)

Move AIL pushing into it's own thread

When many hundreds to thousands of threads all try to do simultaneous
transactions and the log is in a tail-pushing situation (i.e. full),
we can get multiple threads walking the AIL list and contending on
the AIL lock.

The AIL push is, in effect, a simple I/O dispatch algorithm complicated
by the ordering constraints placed on it by the transaction subsystem.
It really does not need multiple threads to push on it - even when
only a single CPU is pushing the AIL, it can push the I/O out far faster
that pretty much any disk subsystem can handle.

So, to avoid contention problems stemming from multiple list walkers,
move the list walk off into another thread and simply provide a "target"
to push to. When a thread requires a push, it sets the target and wakes
the push thread, then goes to sleep waiting for the required amount
of space to become available in the log.

This mechanism should also be a lot fairer under heavy load as the
waiters will queue in arrival order, rather than queuing in "who completed
a push first" order.

Also, by moving the pushing to a separate thread we can do more effectively
overload detection and prevention as we can keep context from loop iteration
to loop iteration. That is, we can push only part of the list each loop and not
have to loop back to the start of the list every time we run. This should
also help by reducing the number of items we try to lock and/or push items
that we cannot move.

Note that this patch is not intended to solve the inefficiencies in the
AIL structure and the associated issues with extremely large list contents.
That needs to be addresses separately; parallel access would cause problems
to any new structure as well, so I'm only aiming to isolate the structure
from unbounded parallelism here.
Merge of xfs-linux-melb:xfs-kern:30371a by kenmcd.

  Add prototypes for new/changed AIL interfaces.

Revision 1.146 / (download) - annotate - [select for diffs], Fri Nov 2 03:09:06 2007 UTC (9 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.145: +2 -0 lines
Diff to previous 1.145 (unified)

Fix up sparse warnings.

These are mostly locking annotations, marking things static,
casts where needed and declaring stuff in header files.
Merge of xfs-linux-melb:xfs-kern:30002a by kenmcd.

  Fix up sparse warnings.

Revision 1.145 / (download) - annotate - [select for diffs], Tue May 22 15:50:48 2007 UTC (10 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.144: +2 -1 lines
Diff to previous 1.144 (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.144 / (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.143: +1 -3 lines
Diff to previous 1.143 (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.143 / (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.142: +21 -21 lines
Diff to previous 1.142 (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.

  Transaction deltas converted to explicit 64bit types.

Revision 1.142 / (download) - annotate - [select for diffs], Fri Dec 1 05:07:33 2006 UTC (10 years, 10 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.141: +0 -4 lines
Diff to previous 1.141 (unified)

Get rid of old 5.3/6.1 v1 log items.
Cleanup patch sent in by Eric Sandeen.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:27596a by kenmcd.

  Get rid of old 5.3/6.1 v1 log items.
  Cleanup patch sent in by Eric Sandeen.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.141 / (download) - annotate - [select for diffs], Thu Aug 10 15:30:19 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.140: +0 -2 lines
Diff to previous 1.140 (unified)

Remove unused iop_abort log item operation

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

  Remove unused iop_abort log item operation

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

Reduce size of xfs_trans_t structure.
* remove ->t_forw, ->t_back -- unused
* ->t_ag_freeblks_delta, ->t_ag_flist_delta, ->t_ag_btree_delta
  are debugging aid -- wrap them in everyone's favourite way.

As a result, cut "xfs_trans" slab object size from 592 to 572 bytes here.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Merge of xfs-linux-melb:xfs-kern:26319a by kenmcd.

  Reduce size of xfs_trans_t structure.

Revision 1.139 / (download) - annotate - [select for diffs], Thu Jun 15 06:03:31 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.138: +2 -5 lines
Diff to previous 1.138 (unified)

Missed a header in the v1 directory purge.
Merge of xfs-linux-melb:xfs-kern:26259a by kenmcd.

Revision 1.138 / (download) - annotate - [select for diffs], Thu Mar 23 02:48:21 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.137: +1 -1 lines
Diff to previous 1.137 (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.137 / (download) - annotate - [select for diffs], Mon Feb 6 05:01:49 2006 UTC (11 years, 8 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.136: +1 -1 lines
Diff to previous 1.136 (unified)

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

Revision 1.136 / (download) - annotate - [select for diffs], Fri Dec 2 02:48:45 2005 UTC (11 years, 10 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.135: +0 -1 lines
Diff to previous 1.135 (unified)

Sort out cosmetic differences between user and kernel copies of some sources.
Merge of xfs-linux-melb:xfs-kern:24659a by kenmcd.

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

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

Revision 1.134 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.133: +59 -61 lines
Diff to previous 1.133 (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.133 / (download) - annotate - [select for diffs], Wed Sep 21 10:40:45 2005 UTC (12 years, 1 month ago) by hch
Branch: MAIN
Changes since 1.132: +0 -13 lines
Diff to previous 1.132 (unified)

remove unused struct xfs_ail_ticket

Revision 1.132 / (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.131: +6 -1 lines
Diff to previous 1.131 (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.131 / (download) - annotate - [select for diffs], Tue Aug 23 15:06:53 2005 UTC (12 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.130: +1 -0 lines
Diff to previous 1.130 (unified)

Fixes a bug in the quota code when allocating a new dquot record which
can cause an extent hole to be filled and a free extent to be processed.
In this case, we make a few mistakes: forget to pass back the transaction,
forget to put a hold on the buffer and forget to add the buf to the new
transaction.
Merge of xfs-linux-melb:xfs-kern:23594a by kenmcd.

  create xfs_trans_bhold_release prototype.

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

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

Revision 1.129 / (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.128: +0 -3 lines
Diff to previous 1.128 (unified)

Remove dead code.

Patch from Adrian Bunk

Revision 1.128 / (download) - annotate - [select for diffs], Wed Oct 27 12:06:24 2004 UTC (13 years ago) by hch
Branch: MAIN
Changes since 1.127: +1 -1 lines
Diff to previous 1.127 (unified)

handle inode creating race
xfs_iget gained another parameter

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

Handle inode creating race
xfs_iget gained another parameter

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

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

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

Remove unused xfs_trans_bhold_until_committed and related macros.

Revision 1.124 / (download) - annotate - [select for diffs], Wed Mar 17 00:52:31 2004 UTC (13 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.123: +8 -1 lines
Diff to previous 1.123 (unified)

Add space for inode and allocation btrees to ITRUNCATE log reservation
Add XFS_ALLOCFREE_LOG_RES to IFREE log reservation.

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

Implement deletion of inode clusters in XFS.
Change log reservation for deallocating an inode

Revision 1.122 / (download) - annotate - [select for diffs], Wed Sep 24 19:08:34 2003 UTC (14 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.121: +0 -1 lines
Diff to previous 1.121 (unified)

remove dead function xfs_trans_iput
nuke prototype for xfs_trans_iput

Revision 1.121 / (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.120: +1 -0 lines
Diff to previous 1.120 (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.120 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.119: +1029 -0 lines
Diff to previous 1.119 (unified)

The Big Move
linux/fs/xfs/xfs_trans.h 1.118 Renamed to xfs_trans.h

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

Nuke

Revision 1.118 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.117: +179 -179 lines
Diff to previous 1.117 (unified)

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

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

Cleanup/remove a bunch of macros, comments and code.
Remove an unused macro and forward declarations of several routines
which do not actually exist.

Revision 1.116 / (download) - annotate - [select for diffs], Fri Jan 24 20:11:43 2003 UTC (14 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.115: +3 -2 lines
Diff to previous 1.115 (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.
change prototype for unpin operations and IOP_UNPIN, define a new
flag for log item descriptors.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Dec 2 05:34:30 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.114: +0 -5 lines
Diff to previous 1.114 (unified)

Remove an unused function prototype from xfs_trans.h.

Revision 1.114 / (download) - annotate - [select for diffs], Fri Oct 11 20:39:00 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.113: +4 -1 lines
Diff to previous 1.113 (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.
Add t_commit_lsn to the transaction structure

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

rationalize xfs <-> pagebuf interface

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

whitespace cleanup

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

Update copyright dates

Revision 1.110 / (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.109: +33 -0 lines
Diff to previous 1.109 (unified)

Add to the transaction structure a list of per-AG busy list entries.



Revision 1.109 / (download) - annotate - [select for diffs], Tue Sep 11 19:25:00 2001 UTC (16 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.108: +1 -1 lines
Diff to previous 1.108 (unified)

fix min max typing issues

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

Merge irix6.5f:irix:101630a
Add _xfs_trans_alloc declaration.

Revision 1.107 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10, Linux-2_4_5-merge
Changes since 1.106: +82 -69 lines
Diff to previous 1.106 (unified)

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

Revision 1.106 / (download) - annotate - [select for diffs], Fri Jun 16 20:57:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.105: +5 -2 lines
Diff to previous 1.105 (unified)

the transaction reservation size needs to be big enough
  to accomidate the superblock.  If we write a version 2 inode, the
  superblock version has to support version 2 inodes... we might need to
  update the superblock.  Therefore the transaction reservation needs to
  be big enough for the superblock.

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

Revision 1.104 / (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.103: +32 -1 lines
Diff to previous 1.103 (unified)

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

Revision 1.103 / (download) - annotate - [select for diffs], Tue Nov 23 20:52:36 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.102: +3 -2 lines
Diff to previous 1.102 (unified)

make all xfs buffer access be buftarg_t based

Revision 1.102 / (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.101: +15 -15 lines
Diff to previous 1.101 (unified)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.101 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.100: +11 -6 lines
Diff to previous 1.100 (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.100 / (download) - annotate - [select for diffs], Sat Mar 6 00:22:19 1999 UTC (18 years, 7 months ago) by cwf
Branch: MAIN
Changes since 1.99: +1 -0 lines
Diff to previous 1.99 (unified)

pv:512169
Added swapext transaction define.

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

Fix log reservations for directory operations, account for v2 directories.

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

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

Revision 1.97 / (download) - annotate - [select for diffs], Fri Dec 19 19:35:54 1997 UTC (19 years, 10 months ago) by gnuss
Branch: MAIN
Changes since 1.96: +2 -1 lines
Diff to previous 1.96 (unified)

new transaction flag: XFS_TRANS_RESERVE

Revision 1.96 / (download) - annotate - [select for diffs], Fri Dec 19 03:24:58 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.95: +111 -88 lines
Diff to previous 1.95 (unified)

Improve a whole bunch of log reservations to allow for more
allocation btree blocks.  Should fix the scenario seen in this
bug.
pv: 552459
rv: rcc@engr

Revision 1.95 / (download) - annotate - [select for diffs], Tue Nov 25 01:34:52 1997 UTC (19 years, 11 months ago) by rcc
Branch: MAIN
Changes since 1.94: +3 -1 lines
Diff to previous 1.94 (unified)

545936 - add IOP_UNPIN_REMOVE signatures. pv: 545936, rv: doucette@engr

Revision 1.94 / (download) - annotate - [select for diffs], Fri Sep 12 17:49:59 1997 UTC (20 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.93: +4 -2 lines
Diff to previous 1.93 (unified)

change prototypes

Revision 1.93 / (download) - annotate - [select for diffs], Thu Aug 28 16:25:56 1997 UTC (20 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.92: +57 -10 lines
Diff to previous 1.92 (unified)

Add log space reservation calculations for attribute operations

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

Add log reservation values and superblock updates for growfs rt.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Jun 30 23:20:06 1997 UTC (20 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (unified)

Fix name of transaction type XFS_ATRUNCATE => XFS_TRANS_ATRUNCATE.

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

XFS_LI_ABORTED flag.

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

341879 - add fsync timestamp transaction type

Revision 1.88 / (download) - annotate - [select for diffs], Sat Mar 15 00:41:51 1997 UTC (20 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.87: +5 -6 lines
Diff to previous 1.87 (unified)

Change some buffer reference count values, remove the "generic" btree ones.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Mar 11 19:12:27 1997 UTC (20 years, 7 months ago) by kayuri
Branch: MAIN
Changes since 1.86: +8 -1 lines
Diff to previous 1.86 (unified)

Added a new transaction type, XFS_TRANS_SB_UNIT. Also added two dummy
transaction types so that xlog_recover_print_trans_head() will work correctly.
(bug 397746).

Revision 1.86 / (download) - annotate - [select for diffs], Fri Feb 21 02:03:36 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.85: +5 -4 lines
Diff to previous 1.85 (unified)

Add SB to the ICHANGE_LOG_RES. It may log the superblock
as well now.

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

First cut of XFS I/O error handling changes.

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

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

Revision 1.83 / (download) - annotate - [select for diffs], Thu Dec 12 02:32:41 1996 UTC (20 years, 10 months ago) by sup
Branch: MAIN
Changes since 1.82: +4 -2 lines
Diff to previous 1.82 (unified)

Add XFS_ITEM_PUSHBUF and IOP_PUSHBUF.

Revision 1.82.1.1 / (download) - annotate - [select for diffs], Sat Dec 7 00:13:09 1996 UTC (20 years, 10 months ago) by sup
CVS Tags: DELETE-1
Changes since 1.82: +4 -2 lines
Diff to previous 1.82 (unified) next main 1.83 (unified)

Add XFS_ITEM_PUSHBUF and IOP_PUSHBUF.

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

Added DQUOT, QUOTAOFF logitems, XFS_TRANS_DQ_DIRTY flag to identify
dquot changes within transactions, DQUOT_REF flag for dquot buffers,
a t_dqinfo ptr in trans_t to handle quota accounting within transactions.
/

Revision 1.81 / (download) - annotate - [select for diffs], Wed Feb 21 05:00:37 1996 UTC (21 years, 8 months ago) by ack
Branch: MAIN
Changes since 1.80: +1 -1 lines
Diff to previous 1.80 (unified)

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

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

auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_trans.h,v
> ----------------------------
> revision 1.80
> date: 1996/01/30 19:08:38;  author: doucette;  state: Exp;  lines: +23 -22
> 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.79 / (download) - annotate - [select for diffs], Tue Oct 31 06:13:32 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.78: +11 -21 lines
Diff to previous 1.78 (unified)

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

Revision 1.78 / (download) - annotate - [select for diffs], Tue Oct 10 10:45:49 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.77: +3 -1 lines
Diff to previous 1.77 (unified)

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

Revision 1.77 / (download) - annotate - [select for diffs], Thu Aug 31 20:57:27 1995 UTC (22 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (unified)

Fix the IFREE transaction reservation to account for the
fact that we log inode clusters, not inode blocks.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Aug 16 05:46:39 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.75: +55 -5 lines
Diff to previous 1.75 (unified)

Turn some macros into functions for 32-bit kernels, to save some memory.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Aug 16 00:39:20 1995 UTC (22 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.74: +1 -1 lines
Diff to previous 1.74 (unified)

change XFS_LI_OBUF to XFS_LI_5_3_BUF to make it consistent with _INODE items

Revision 1.74 / (download) - annotate - [select for diffs], Tue Aug 8 01:13:30 1995 UTC (22 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.73: +10 -9 lines
Diff to previous 1.73 (unified)

284911 - for 8K inode clusters, added new inode and buffer formats and
renamed older formats.  this is to prevent older kernels from mounting
filesystems with 8K inode clusters and let new kernels deal with old
format logs.

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

261533 Add macros for calculating the transaction reservation for
the new transaction for clearing bad unlinked inode lists.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Jun 7 21:41:13 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.71: +1 -0 lines
Diff to previous 1.71 (unified)

Add support for new buf log item with a 64 bit blkno.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Jun 7 00:24:51 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (unified)

270466 Add a prototype for xfs_efi_release().

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

Add new attribute transaction types and log reservation calculations.

Revision 1.69 / (download) - annotate - [select for diffs], Thu May 25 23:23:00 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.68: +14 -1 lines
Diff to previous 1.68 (unified)

Add defines for attribute fork truncation transactions.

Revision 1.68 / (download) - annotate - [select for diffs], Fri May 19 22:41:57 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.67: +1 -0 lines
Diff to previous 1.67 (unified)

Add LOG_COUNT for ADDAFORK transaction.

Revision 1.67 / (download) - annotate - [select for diffs], Thu May 18 21:27:06 1995 UTC (22 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.66: +20 -3 lines
Diff to previous 1.66 (unified)

Add tr_addafork log reservation size.

Revision 1.66 / (download) - annotate - [select for diffs], Wed May 17 02:52:11 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.65: +0 -1 lines
Diff to previous 1.65 (unified)

Fix editting error in last checkin.

Revision 1.65 / (download) - annotate - [select for diffs], Wed May 17 02:48:52 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.64: +11 -0 lines
Diff to previous 1.64 (unified)

268729 - Add macros for the log reservation
for clearing setuid bits in xfs_write().

Revision 1.64 / (download) - annotate - [select for diffs], Thu May 11 01:23:21 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (unified)

272139 - Change xFS to XFS

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

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

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

Changed the names of the directory-related #defines used, as result of
the directory/attribute code restructuring.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Apr 26 22:49:59 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.60: +6 -12 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:42 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.59: +6 -5 lines
Diff to previous 1.59 (unified)

First cut at disk error handling

Revision 1.59 / (download) - annotate - [select for diffs], Sat Apr 1 06:05:08 1995 UTC (22 years, 7 months ago) by yohn
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (unified)

at_sema changed to sync-variable

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

Add an #ident line.
Use struct xxx * instead of xxx_t * in xfs header files to avoid
unnecessary dependencies between header files.

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

Add macros to precompute the transaction reservation
values.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Feb 9 03:16:12 1995 UTC (22 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (unified)

259540 - Change the types of the buf and inode log items since the
inode log item and the buffers logged for inodes have changed.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Dec 23 23:43:42 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (unified)

Add casts to counter macros.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Dec 8 19:28:24 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.53: +1 -0 lines
Diff to previous 1.53 (unified)

Add a prototype for xfs_trans_inode_alloc_buf().

Revision 1.53 / (download) - annotate - [select for diffs], Wed Nov 30 19:51:12 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.52: +4 -2 lines
Diff to previous 1.52 (unified)

Raise the size of the truncate log reservation to account
for more blocks that I forgot about earlier.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Nov 18 00:31:58 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.51: +7 -0 lines
Diff to previous 1.51 (unified)

Add definitions for the new transaction added for sync writes.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Oct 7 21:14:44 1994 UTC (23 years ago) by miken
Branch: MAIN
Changes since 1.50: +19 -5 lines
Diff to previous 1.50 (unified)

Implement transaction types

Revision 1.50 / (download) - annotate - [select for diffs], Mon Oct 3 18:39:19 1994 UTC (23 years ago) by ajs
Branch: MAIN
Changes since 1.49: +3 -2 lines
Diff to previous 1.49 (unified)

Raise the truncation path log reservation.  It wasn't enough.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Sep 28 15:11:08 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (unified)

Add a little extra log reservation to the new XFS_GROW_LOG_RES
to take into account the transaction mechanism overhead and
add a prototype for xfs_trans_inode_buf().

Revision 1.48 / (download) - annotate - [select for diffs], Tue Sep 27 02:25:23 1994 UTC (23 years, 1 month ago) by doucette
Branch: MAIN
Changes since 1.47: +25 -10 lines
Diff to previous 1.47 (unified)

Add dblocks and agcount delta fields.  Add GROWDATA log reservation.
Make the delta values longs instead of ints, so for 64-bit kernels
they'll actually hold all the necessary values (i.e. for dblocks).

Revision 1.47 / (download) - annotate - [select for diffs], Fri Sep 23 16:45:35 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.46: +190 -30 lines
Diff to previous 1.46 (unified)

Made the log reservations much more explicit and accurate.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Aug 31 22:34:49 1994 UTC (23 years, 2 months ago) by ajs
Branch: MAIN
Changes since 1.45: +41 -7 lines
Diff to previous 1.45 (unified)

Make the log reservations for create and mkdir more
accurate.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jul 4 17:22:21 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (unified)

Bump up some of the log reservations.  It turns out that they
were a bit short.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 27 23:54:05 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.43: +3 -0 lines
Diff to previous 1.43 (unified)

Add debugging accounting for agf btree blocks.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 24 20:46:47 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.42: +10 -0 lines
Diff to previous 1.42 (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.42 / (download) - annotate - [select for diffs], Tue Jun 14 01:06:23 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.41: +1 -0 lines
Diff to previous 1.41 (unified)

Add a macro for making a transaction synchronous.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jun 13 07:35:07 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.40: +7 -5 lines
Diff to previous 1.40 (unified)

Renumber log item numbers to help with debugging.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jun 9 01:38:58 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.39: +20 -8 lines
Diff to previous 1.39 (unified)

Use new log reservation scheme

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

Fix prototype for xfs_trans_getsb().

Revision 1.38 / (download) - annotate - [select for diffs], Thu May 26 01:30:29 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (unified)

Add flags for synchronous transactions.

Revision 1.37 / (download) - annotate - [select for diffs], Wed May 25 23:38:33 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.36: +1 -0 lines
Diff to previous 1.36 (unified)

Add an extern for xfs_trans_binval().

Revision 1.36 / (download) - annotate - [select for diffs], Wed May 11 18:14:12 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.35: +7 -3 lines
Diff to previous 1.35 (unified)

Add more transaction flags.

Revision 1.35 / (download) - annotate - [select for diffs], Tue May 10 21:54:21 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.34: +25 -1 lines
Diff to previous 1.34 (unified)

Define the xfs_ail_ticket_t and change some prototypes.

Revision 1.34 / (download) - annotate - [select for diffs], Mon May 9 03:58:58 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.33: +3 -0 lines
Diff to previous 1.33 (unified)

Add comment explaining about changing the xfs_trans_header structure

Revision 1.33 / (download) - annotate - [select for diffs], Wed May 4 00:21:11 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.32: +6 -7 lines
Diff to previous 1.32 (unified)

Fix inode allocation log reservation block counts, for the new inode
allocation scheme.

Revision 1.32 / (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.31: +10 -10 lines
Diff to previous 1.31 (unified)

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

Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 12 01:16:49 1994 UTC (23 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.30: +11 -11 lines
Diff to previous 1.30 (unified)

Split xfs_fsblock_t into multiple types.
Use mp instead of sbp in all the address macros.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 17 00:38:57 1994 UTC (23 years, 7 months ago) by miken
Branch: MAIN
Changes since 1.29: +1 -0 lines
Diff to previous 1.29 (unified)

Move xfs_trans_push_ail() prototype

Revision 1.29 / (download) - annotate - [select for diffs], Sat Mar 12 00:07:29 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.28: +19 -11 lines
Diff to previous 1.28 (unified)

Change the log res macros to take the fs block size into
account.  This requires passing them the fs superblock.

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

Redefine the log res value for xfs_create().

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 8 21:56:41 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26 (unified)

Add log res value for freeing an inode.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 7 21:42:10 1994 UTC (23 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.25: +21 -0 lines
Diff to previous 1.25 (unified)

Added a list of log reservation values (they should all go here),
and added macros for accessing the reservation fields in the
transaction structure.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 25 02:02:01 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.24: +16 -10 lines
Diff to previous 1.24 (unified)

Add new prototypes and log item types.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 18 23:54:17 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.23: +0 -4 lines
Diff to previous 1.23 (unified)

Removing prototypes for unimplemented functions.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 16 23:24:22 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (unified)

Add transaction type for file space allocation.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 9 02:03:08 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Tue Feb 8 19:53:19 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.20: +2 -0 lines
Diff to previous 1.20 (unified)

Add t_res_frextents_delta to trans structure.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Feb 2 20:19:38 1994 UTC (23 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (unified)

Fix lint problems.  Clean up formatting

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 28 20:00:59 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.18: +11 -0 lines
Diff to previous 1.18 (unified)

Add defines for field parameter to xfs_trans_mod_sb().  Also
add a field to the trans structure to hold RES_FDBLOCKS deltas.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 25 22:24:07 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (unified)

Add a prototype and the log callback structure.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 21 21:53:27 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.16: +18 -3 lines
Diff to previous 1.16 (unified)

Add log item types for the efi and efd items.
Add prototypes for the xfs_trans_*efi* and xfs_trans_*efd* routines.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 14 20:06:32 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.15: +12 -6 lines
Diff to previous 1.15 (unified)

More stuff for the AIL.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 5 01:35:06 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (unified)

Use new buffer cache interfaces.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 31 22:48:43 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.13: +27 -29 lines
Diff to previous 1.13 (unified)

Fix up some prototypes.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 31 01:55:30 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.12: +19 -19 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Wed Dec 29 03:07:20 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (unified)

Fix up some prototypes.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 10 00:23:11 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.10: +24 -14 lines
Diff to previous 1.10 (unified)

Add comments and prototypes.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 25 01:27:09 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.9: +12 -9 lines
Diff to previous 1.9 (unified)

Comments!

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

Fix XFS_LI_INODE definition.

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

Code cleanup.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 17 01:43:11 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Sat Nov 13 00:43:44 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (unified)

Fixed xfs_trans_log_inode() prototype.

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

Get rid of nested includes.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 30 00:26:31 1993 UTC (24 years ago) by doucette
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (unified)

Add xfs_inum.h; remove xfs_types.h includes.  Add xfs_mount empty struct.

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

Include xfs_types.h for xfs_ino_t.

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

Fix includes, get rid of warnings.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 29 00:20:34 1993 UTC (24 years 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>