CVS log for linux-2.6-xfs/fs/xfs/xfs_buf_item.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.172 / (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.171: +9 -15 lines
Diff to previous 1.171 (colored)

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.171 / (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.170: +4 -1 lines
Diff to previous 1.170 (colored)

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.170 / (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.169: +2 -2 lines
Diff to previous 1.169 (colored)

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.169 / (download) - annotate - [select for diffs], Wed Sep 3 06:13:25 2008 UTC (9 years, 1 month ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.168: +20 -24 lines
Diff to previous 1.168 (colored)

Fix use-after-free with buffers

We have a use-after-free issue where log completions access buffers via the
buffer log item and the buffer has already been freed.  Fix this by taking
a reference on the buffer when attaching the buffer log item and release
the hold when the buffer log item is detached and we no longer need the
buffer.  Also create a new function xfs_buf_item_free() to combine some
common code and move an ASSERT in xfs_buf_rele() so that we can catch more
cases.
Merge of xfs-linux-melb:xfs-kern:32025a by kenmcd.

  Fix use-after-free with buffers

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

Use KM_NOFS for debug trace buffers

Use KM_NOFS to prevent recursion back into the filesystem which can
cause deadlocks.

In the case of xfs_iread() we hold the lock on the inode cluster buffer
while allocating memory for the trace buffers.  If we recurse back into
XFS to flush data that may require a transaction to allocate extents
which needs log space.  This can deadlock with the xfsaild thread which
can't push the tail of the log because it is trying to get the inode
cluster buffer lock.
Merge of xfs-linux-melb:xfs-kern:31838a by kenmcd.

  Use KM_NOFS for debug trace buffers

Revision 1.167 / (download) - annotate - [select for diffs], Tue Aug 5 16:29:38 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.166: +1 -1 lines
Diff to previous 1.166 (colored)

replace the XFS buf iodone semaphore with a completion

The xfs_buf_t b_iodonesema is really just a semaphore that wants to be a
completion.  Change it to a completion and remove the last user of the sema_t
from XFS.

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

  replace the XFS buf iodone semaphore with a completion

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

Remove unused arg from kmem_free()

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

This patch removes size argument from all callsites.

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

  Remove unused arg from kmem_free()

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

Ensure xfs_bawrite() errors are checked.

xfs_bawrite() can return immediate error status on async writes.
Unlike xfsbdstrat() we don't ever check the error on the buffer
after the call, so we currently do not catch errors at all here.
Ensure we catch and propagate or warn to the syslog about
up-front async write errors.
Merge of xfs-linux-melb:xfs-kern:30824a by kenmcd.

  Ensure xfs_bawrite() errors are checked.

Revision 1.164 / (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.163: +4 -6 lines
Diff to previous 1.163 (colored)

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

Revision 1.163 / (download) - annotate - [select for diffs], Thu Aug 23 16:00:34 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.162: +1 -0 lines
Diff to previous 1.162 (colored)

Radix tree based inode caching

One of the perpetual scaling problems XFS has is indexing
it's incore inodes. We currently uses hashes and the default
hash sizes chosen can only ever be a tradeoff between memory
consumption and the maximum realistic size of the cache.

As a result, anyone who has millions of inodes cached on a
filesystem needs to tunes the size of the cache via the ihashsize
mount option to allow decent scalability with inode cache
operations.

A further problem is the separate inode cluster hash, whose size is
based on the ihashsize but is smaller, and so under certain
conditions (sparse cluster cache population) this can become
a limitation long before the inode hash is causing issues.

The following patchset removes the inode hash and cluster hash
and replaces them with radix trees to avoid the scalability
limitations of the hashes. It also reduces the size of the
inodes by 3 pointers....
Merge of xfs-linux-melb:xfs-kern:29481a by kenmcd.

  Convert xfs inode caches from hashes to radix trees.

Revision 1.162 / (download) - annotate - [select for diffs], Wed Jun 20 06:07:40 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored)

Kill off xfs_count_bits

xfs_count_bits is only called once, and is then compared to 0.
IOW, what it really wants to know is, is the bitmap empty.
This can be done more simply, certainly.

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

  Use xfs_bitmap_empty instead of xfs_count_bits to determine
  if the buf item is clean.

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

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

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

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

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

  noinline static function declaration cleanup.

Revision 1.160 / (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.159: +0 -20 lines
Diff to previous 1.159 (colored)

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.159 / (download) - annotate - [select for diffs], Thu Aug 10 15:29:31 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.158: +0 -2 lines
Diff to previous 1.158 (colored)

Remove a couple of unused BUF macros

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

  Remove a couple of unused BUF macros

Revision 1.158 / (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.157: +0 -1 lines
Diff to previous 1.157 (colored)

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

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

Portability changes: remove prdev, stick to one diagnostic interface.
Merge of xfs-linux-melb:xfs-kern:26103a by kenmcd.

Revision 1.156 / (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.155: +1 -1 lines
Diff to previous 1.155 (colored)

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

Revision 1.155 / (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.154: +2 -2 lines
Diff to previous 1.154 (colored)

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

Revision 1.154 / (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.153: +12 -26 lines
Diff to previous 1.153 (colored)

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

Revision 1.153 / (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.152: +4 -14 lines
Diff to previous 1.152 (colored)

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

Revision 1.152 / (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.151: +4 -0 lines
Diff to previous 1.151 (colored)

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

Revision 1.151 / (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.150: +12 -12 lines
Diff to previous 1.150 (colored)

mark various symbols static

Patch from Adrian Bunk

Revision 1.150 / (download) - annotate - [select for diffs], Fri Aug 13 05:14:58 2004 UTC (13 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.149: +0 -2 lines
Diff to previous 1.149 (colored)

Remove several macros which are no longer used anywhere.

Revision 1.149 / (download) - annotate - [select for diffs], Mon May 10 06:21:15 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.148: +3 -3 lines
Diff to previous 1.148 (colored)

Fix some compiler warnings, mark cmn_err as printflike.

Revision 1.148 / (download) - annotate - [select for diffs], Fri Jan 30 18:09:13 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.147: +1 -1 lines
Diff to previous 1.147 (colored)

Fix gcc 3.5 compilation for real
use XFS_BUF_SET_FSPRIVATE to set buffer private data

Revision 1.147 / (download) - annotate - [select for diffs], Fri Jan 30 15:34:58 2004 UTC (13 years, 8 months ago) by hch
Branch: MAIN
Changes since 1.146: +0 -0 lines
Diff to previous 1.146 (colored)

Fix gcc 3.5 compilations
use XFS_BUF_SET_FSPRIVATE properly to set bufer private data

Revision 1.146 / (download) - annotate - [select for diffs], Sat Nov 22 22:22:46 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.145: +4 -4 lines
Diff to previous 1.145 (colored)

Switch from using dev_t to xfs_buftarg_t for representing the devices underneath XFS

Revision 1.145 / (download) - annotate - [select for diffs], Mon Oct 27 06:14:00 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.144: +1 -1 lines
Diff to previous 1.144 (colored)

Fix warnings when tracing enabled on 64 bit platforms
Merge of 2.4.x-xfs-kern:slinx:160622a by nathans.

Revision 1.144 / (download) - annotate - [select for diffs], Mon Oct 20 04:21:43 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.143: +5 -4 lines
Diff to previous 1.143 (colored)

Fix build with tracing enabled, couple of portability macros, move externs into headers.

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

Implement deletion of inode clusters in XFS.
when unpinning a stale buffer after a log write, add code to
deal with it being an inode cluster, we execute the callbacks
on the buffer directly, rather than just removing it from
the AIL.

Revision 1.142 / (download) - annotate - [select for diffs], Tue Aug 12 20:59:27 2003 UTC (14 years, 2 months ago) by cattelan
Branch: MAIN
Changes since 1.141: +1 -1 lines
Diff to previous 1.141 (colored)

Fix some inconsistent types
Fix some inconsistent types 

Revision 1.141 / (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.140: +1218 -0 lines
Diff to previous 1.140 (colored)

The Big Move
linux/fs/xfs/xfs_buf_item.c 1.139 Renamed to xfs_buf_item.c

Revision 1.140 / (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.139: +0 -1218 lines
Diff to previous 1.139 (colored)

Nuke

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

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

Revision 1.138 / (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.137: +16 -18 lines
Diff to previous 1.137 (colored)

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

Revision 1.137 / (download) - annotate - [select for diffs], Fri Mar 7 20:36:49 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.136: +1 -1 lines
Diff to previous 1.136 (colored)

time_after takes an unsigned long

Revision 1.136 / (download) - annotate - [select for diffs], Wed Mar 5 14:26:06 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.135: +1 -1 lines
Diff to previous 1.135 (colored)

Spelling fixes from 2.5.64

Revision 1.135 / (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.134: +8 -5 lines
Diff to previous 1.134 (colored)

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.
add a new flag to the unpin operation, use this flag being set to
indicate that we staled the buffer rather than using the bli_flags
which another thread can set while we are in this function.

Revision 1.134 / (download) - annotate - [select for diffs], Mon Dec 2 01:18:39 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.133: +0 -2 lines
Diff to previous 1.133 (colored)

Cleanup after initially investigating unwritten extents.
Uncomment an assert which now makes sense with other fixes.

Revision 1.133 / (download) - annotate - [select for diffs], Thu Nov 28 16:35:31 2002 UTC (14 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

get rid of some more dev_t abuse
use XFS_BUF_TARGET for xfs_buftarg comparisms

Revision 1.132 / (download) - annotate - [select for diffs], Mon Oct 28 17:05:38 2002 UTC (14 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.131: +1 -0 lines
Diff to previous 1.131 (colored)

Contributed fix from ASANO Masahiro <masano@tnes.nec.co.jp>. In calculating
the layout of a log record for a buffer, the linux code deals with buffers
which are not contiguous in memory - this only applies to an inode buffer.
This adds one more fragmentation case to the code, and a line was missing
from this. The end result would be the logging of too much data if this
was not the last component of the buffer.

The code was definitely wrong, but I think the chances of hitting this were
pretty slim, and the resulting error would only matter if there was a
crash shortly afterward.
reset nbits when starting a new log vector record.

Revision 1.131 / (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.130: +5 -5 lines
Diff to previous 1.130 (colored)

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

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

Replace STATIC with static in xfs code

Revision 1.129 / (download) - annotate - [select for diffs], Mon Oct 21 13:21:21 2002 UTC (15 years ago) by hch
Branch: MAIN
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored)

fix jiffies (lbolt) compare
use time_after for rate-limiting messages, use jiffies directly instead
of lbolt and make the rate relative to HZ.

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

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

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

move from xfs_zone back to kmem_zone

Revision 1.126 / (download) - annotate - [select for diffs], Wed Jul 31 20:35:09 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.125: +7 -3 lines
Diff to previous 1.125 (colored)

fix a recovery bug in fragmented buffers - linux specific

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

remove kdev_t abuse from XFS

Revision 1.124 / (download) - annotate - [select for diffs], Thu Jul 18 17:35:16 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.123: +12 -12 lines
Diff to previous 1.123 (colored)

update Designated initializer format

Revision 1.123 / (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.122: +44 -44 lines
Diff to previous 1.122 (colored)

whitespace cleanup

Revision 1.122 / (download) - annotate - [select for diffs], Wed Jun 5 19:11:07 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.121: +5 -178 lines
Diff to previous 1.121 (colored)

optimize bit manipulation functions

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

Update copyright dates

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

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

Revision 1.119 / (download) - annotate - [select for diffs], Sat May 25 12:04:36 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.118: +178 -5 lines
Diff to previous 1.118 (colored)

Undoes mod:     2.4.x-xfs:slinx:120155a
back out bitmap changes - it breaks recovery

Revision 1.118 / (download) - annotate - [select for diffs], Fri May 24 14:39:39 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.117: +5 -178 lines
Diff to previous 1.117 (colored)

optimize xfs bitmap operations

Revision 1.117 / (download) - annotate - [select for diffs], Wed May 22 04:42:09 2002 UTC (15 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored)

Undoes mod:     2.5.x-xfs:slinx:119838a
Merge of 2.5.x-xfs:slinx:119840a by nathans.

Revision 1.116 / (download) - annotate - [select for diffs], Thu Mar 28 19:45:15 2002 UTC (15 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.115: +1 -6 lines
Diff to previous 1.115 (colored)

a forced shutdown cleanup

Revision 1.115 / (download) - annotate - [select for diffs], Wed Oct 31 06:23:03 2001 UTC (15 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.114: +1 -1 lines
Diff to previous 1.114 (colored)

Correct find next bit on 64 bit architectures

Revision 1.114 / (download) - annotate - [select for diffs], Wed Apr 11 16:27:03 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.113: +90 -101 lines
Diff to previous 1.113 (colored)

Kill gratuitous prototypes

Revision 1.113 / (download) - annotate - [select for diffs], Tue Apr 10 01:57:29 2001 UTC (16 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.112: +16 -12 lines
Diff to previous 1.112 (colored)

Add member labels to ops vector initializations for clarity.

Revision 1.112 / (download) - annotate - [select for diffs], Mon Apr 2 18:14:34 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.111: +31 -70 lines
Diff to previous 1.111 (colored)

Move to a more efficient function to find a bit set in a stream of
bytes. Code taken from the reiserfs base (I did ask Chris Mason).

Revision 1.111 / (download) - annotate - [select for diffs], Wed Feb 21 00:50:22 2001 UTC (16 years, 7 months ago) by mann
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.110: +5 -0 lines
Diff to previous 1.110 (colored)

Call xfs_buf_relse() if not async.

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

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

Revision 1.109 / (download) - annotate - [select for diffs], Mon Aug 21 00:28:02 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.108: +2 -1 lines
Diff to previous 1.108 (colored)

include xfs_error.h for prdev

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

Fix an argument in a kprint call

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

When calculating how many chunks a buffer will take to log, take into
account non-mapped buffers where there is no contiguous memory image
of the buffer.

Revision 1.106 / (download) - annotate - [select for diffs], Mon Jul 31 16:16:28 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.105: +1 -1 lines
Diff to previous 1.105 (colored)

Bring tree up to 2.4.0-test5

Revision 1.105 / (download) - annotate - [select for diffs], Tue Jul 25 22:31:44 2000 UTC (17 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.104: +1 -2 lines
Diff to previous 1.104 (colored)

Remove XFS_BUF_UNDELAYWRITE call from before xfs_bawrite, it is now
automatically going to remove the effects of the delay write for us.

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

Formatting fixes

Revision 1.103 / (download) - annotate - [select for diffs], Fri Jun 30 18:54:07 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

replace XFS_BUF_PTR(bp) + buffer_offset with xfs_buf_offset(bp, buffer_offset),
there needs to be more work here yet.

Revision 1.102 / (download) - annotate - [select for diffs], Tue Jun 27 15:56:50 2000 UTC (17 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.101: +12 -11 lines
Diff to previous 1.101 (colored)

make bli_refcount an atomic_t

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

Merge of 2.3.99pre2-xfs:slinx:63004a originally by lord on 05/30/00
  Remove page buf metadata as an option - it is always on now

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

Revision 1.100 / (download) - annotate - [select for diffs], Fri Jun 9 04:18:21 2000 UTC (17 years, 4 months ago) by jtk
Branch: MAIN
Changes since 1.99: +1 -1 lines
Diff to previous 1.99 (colored)

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

  Add a specific KM_SLEEP flag to the ktrace_alloc()
  invocations.

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

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

  added a pagebuf_hold()... seems to fix the low hold count while
  tail pushing.

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

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

Revision 1.97 / (download) - annotate - [select for diffs], Fri Jun 9 02:34:38 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.96: +1 -0 lines
Diff to previous 1.96 (colored)

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

  Small tweak for pagebuf meta data - if a buffer is being moved
  from delwri to explicitly written due to log pressure then
  remove it from the delwri queue at this point.

Revision 1.96 / (download) - annotate - [select for diffs], Fri Jun 9 02:11:18 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.95: +7 -7 lines
Diff to previous 1.95 (colored)

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

  Merge of 2.3.42-xfs:slinx:46565a by ananth.
  change buftrace to xfs_buftrace

Revision 1.95 / (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.94: +1 -1 lines
Diff to previous 1.94 (colored)

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

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

Revision 1.94 / (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.93: +1 -8 lines
Diff to previous 1.93 (colored)

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

  Merge of 2.3.42-xfs:slinx:46428a by ananth.
  remove unused include files.

Revision 1.93 / (download) - annotate - [select for diffs], Fri Jun 9 00:54:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.92: +5 -1 lines
Diff to previous 1.92 (colored)

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

  Merge of 2.3.42-xfs:slinx:44904a by ananth.
  fix debug build with pagebuf meta-data

Revision 1.92 / (download) - annotate - [select for diffs], Fri Jun 9 00:02:07 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

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

  Merge of 2.3.42-xfs:slinx:43601a by ananth.
  Fix compile warning about char as array argument

Revision 1.91 / (download) - annotate - [select for diffs], Thu Jun 8 23:59:59 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.90: +3 -2 lines
Diff to previous 1.90 (colored)

Bring XFS upto 2.3.42
Merge of 2.3.99pre2-xfs:slinx:43458a by ananth.

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

Revision 1.90 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 8 months ago) by kenmcd
Branch: MAIN
Changes since 1.89: +12 -17 lines
Diff to previous 1.89 (colored)

Encumbrance review done.
Add copyright and license words consistent with GPL.
Refer to http://fsg.melbourne.sgi.com/reviews/ for details.

There is a slight change in the license terms and conditions words
to go with the copyrights, so most of the files are not getting
new GPL's, just updated versions ... but there are 20-30 more files
here as well.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Jan 4 23:18:33 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.88: +3 -1 lines
Diff to previous 1.88 (colored)

more pagebuf cleanup

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

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

Revision 1.87 / (download) - annotate - [select for diffs], Fri Dec 10 20:20:52 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.86: +8 -8 lines
Diff to previous 1.86 (colored)

More macros
bwrite -> XFS_bwrite
bawrite -> XFS_bawrite
biodone -> xfs_biodone
bwait -> xfs_bwait
incore -> xfs_incore
incore_relse -> xfs_incore_relse
incore_match -> xfs_incore_match
baread -> xfs_baread

Revision 1.86 / (download) - annotate - [select for diffs], Sat Dec 4 01:19:15 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.85: +8 -8 lines
Diff to previous 1.85 (colored)

More macros.... <x>SEMA 

Revision 1.85 / (download) - annotate - [select for diffs], Thu Dec 2 21:00:29 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored)

abstract b_pincount

Revision 1.84 / (download) - annotate - [select for diffs], Tue Nov 30 23:26:23 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Use XFS_BUF_SET_START

Revision 1.83 / (download) - annotate - [select for diffs], Thu Nov 25 06:29:10 1999 UTC (17 years, 10 months ago) by cattelan
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

Last of the b_flags abstraction.

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

make all xfs buffer access be buftarg_t based

Revision 1.81 / (download) - annotate - [select for diffs], Tue Nov 23 16:21:39 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.80: +15 -15 lines
Diff to previous 1.80 (colored)

hide b_bcount and b_blkno

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

virtualize brelse() call

Revision 1.79 / (download) - annotate - [select for diffs], Mon Nov 22 21:07:26 1999 UTC (17 years, 10 months ago) by mostek
Branch: MAIN
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

Fix a couple of typos in ASSERTs for macros XFS_BUF_ISSTALE and XFS_BUF_ISUNINITIAL.

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

virtualize interface to buffer data

Revision 1.77 / (download) - annotate - [select for diffs], Fri Nov 19 21:43:49 1999 UTC (17 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.76: +24 -24 lines
Diff to previous 1.76 (colored)

Start of b_flags virtualization 

Revision 1.76 / (download) - annotate - [select for diffs], Fri Nov 19 20:34:54 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.75: +3 -4 lines
Diff to previous 1.75 (colored)

Add b_bdstrat and b_fsprivate3 to virtualization interface

Revision 1.75 / (download) - annotate - [select for diffs], Thu Nov 18 22:45:37 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.74: +46 -46 lines
Diff to previous 1.74 (colored)

Add macros to virtualize iodone and fsprivate fields.

Revision 1.74 / (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.73: +22 -22 lines
Diff to previous 1.73 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.73 / (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.72: +5 -1 lines
Diff to previous 1.72 (colored)

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

Revision 1.72 / (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.71: +8 -1 lines
Diff to previous 1.71 (colored)

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

Revision 1.71 / (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.70: +2 -20 lines
Diff to previous 1.70 (colored)

Change includes for v2 directory support.
Remove some useless #ifndef SIM lines.

Revision 1.70 / (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.69: +9 -8 lines
Diff to previous 1.69 (colored)

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

Revision 1.69 / (download) - annotate - [select for diffs], Wed Dec 2 00:56:11 1998 UTC (18 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.68: +13 -28 lines
Diff to previous 1.68 (colored)

Change bli_logged from a byte per byte of data to a bit per byte of data.
This is used in XFS_TRANS_DEBUG kernels to track correctness of logged
vs. changed data.  Save a bunch of space.
pv: 653980

Revision 1.68 / (download) - annotate - [select for diffs], Fri Feb 20 23:09:26 1998 UTC (19 years, 8 months ago) by rm
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

Implement unwritten extent flagging.
rv: doucette@engr, rcc@engr, earsh@engr, kayuri@engr
pv: 705217

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jan 8 04:42:53 1998 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.66: +13 -2 lines
Diff to previous 1.66 (colored)

In xfs_buf_item_unlock, don't return early for STALE buffer
log items if we're shutting down, since we still need to
brelse the buffer and no one else will do it.
pv: 558286
rv: kayuri@engr

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jan 8 01:12:37 1998 UTC (19 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.65: +6 -1 lines
Diff to previous 1.65 (colored)

In xfs_buf_item_unpin_remove, clear b_fsprivate2 if the buffer
is being removed from the transaction, so it won't point to
the transaction any more.  This is bad because xfs_trans_read_buf
will find it incorrectly as attached to the transaction.
rv: rcc@engr
pv: 558120

Revision 1.65 / (download) - annotate - [select for diffs], Sun Dec 21 23:17:19 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.64: +25 -0 lines
Diff to previous 1.64 (colored)

Add buffer trace calls for buf_item operations in an effort to track
down the problems with buffers sticking to transactions that don't
exist any more.
pv: 538827
rv: jtk@cray.com, ram@cray.com

Revision 1.64 / (download) - annotate - [select for diffs], Sat Dec 20 00:57:30 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.63: +1 -6 lines
Diff to previous 1.63 (colored)

Make xfs_buf_item_abort clean up the STALE/DELWRI state of
the buffer.
pv: 538827
rv: mostek@cray.com

Revision 1.63 / (download) - annotate - [select for diffs], Tue Nov 25 01:30:48 1997 UTC (19 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.62: +40 -1 lines
Diff to previous 1.62 (colored)

545936 - add xfs_buf_item_unpin_remove() to clean up xaction data
structures out of the forced shutdown uncommit path.  the slot
descriptors were being left alive which caused a panic when the
IOP_UNLOCK was called.  pv: 545936, rv: doucette@engr

Revision 1.62 / (download) - annotate - [select for diffs], Sat Oct 18 01:06:47 1997 UTC (20 years ago) by kayuri
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

rv: lord@cray pv:536466
xfs_buf_item_trace() did not compile. Merging b_flags2 to b_flags
in the buffer structure broke this.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Sep 3 22:43:22 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored)

521721 - merge b_flags and b_flags2 in buffer structure

Revision 1.60 / (download) - annotate - [select for diffs], Fri May 23 23:15:28 1997 UTC (20 years, 4 months ago) by rcc
Branch: MAIN
Changes since 1.59: +1 -16 lines
Diff to previous 1.59 (colored)

478405 - change xfs inode consistency checking to use fsprivate3 pointer

Revision 1.59 / (download) - annotate - [select for diffs], Wed Apr 30 21:49:25 1997 UTC (20 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.58: +50 -24 lines
Diff to previous 1.58 (colored)

Attach b_bdstrat and fsprivate3 pointers in buf_item_init.
This way when the get unlocked and brelse'd, we catch them
in bdstrat_cb, if we're shutting down forcibly.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Apr 6 02:51:17 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.57: +5 -7 lines
Diff to previous 1.57 (colored)

Error handling changes. Don't mark B_ERROR in buf_error_relse.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Mar 28 01:54:38 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.56: +37 -90 lines
Diff to previous 1.56 (colored)

disk error handling changes

Revision 1.56 / (download) - annotate - [select for diffs], Mon Jan 27 22:05:02 1997 UTC (20 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.55: +8 -1 lines
Diff to previous 1.55 (colored)

Ifdef out error buffer tracing calls.  Include stdio.h to get rid
of warnings.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jan 25 02:48:09 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.54: +154 -28 lines
Diff to previous 1.54 (colored)

XFS I/O error handling changes.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Dec 12 02:24:50 1996 UTC (20 years, 10 months ago) by sup
Branch: MAIN
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored)

389343 : IOP_PUSHBUF added to xfs_item_ops_t.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Dec 12 01:46:42 1996 UTC (20 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Fix some warnings: remove unused variables, add ARGSUSED and REFERENCED,
add casts.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Oct 25 02:08:11 1996 UTC (20 years, 11 months ago) by rcc
Branch: MAIN
Changes since 1.51: +16 -1 lines
Diff to previous 1.51 (colored)

add inode buffer checking - when unlocking an inode buffer,
replace the transaction pointer (if there is one) with the
mount structure pointer

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jul 26 21:19:32 1996 UTC (21 years, 2 months ago) by alexp
Branch: MAIN
Changes since 1.50: +5 -5 lines
Diff to previous 1.50 (colored)

Convert AIL_LOCK from mutex_spinlock to mutex under "ifdef INTR_KTHREADS"

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

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

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_buf_item.c,v
> ----------------------------
> revision 1.50
> date: 1995/10/16 18:09:13;  author: ajs;  state: Exp;  lines: +2 -2
> Fix up reversed ifdef in the last checkin.
> ----------------------------
> revision 1.49
> date: 1995/10/13 16:11:22;  author: ajs;  state: Exp;  lines: +6 -6
> Put XFS tracing under ifdefs separate from DEBUG
> ----------------------------
> revision 1.48
> date: 1995/10/13 00:28:18;  author: doucette;  state: Exp;  lines: +2 -1
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

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

auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_buf_item.c,v
> ----------------------------
> revision 1.50
> date: 1995/10/16 18:09:13;  author: ajs;  state: Exp;  lines: +2 -2
> Fix up reversed ifdef in the last checkin.
> ----------------------------
> revision 1.49
> date: 1995/10/13 16:11:22;  author: ajs;  state: Exp;  lines: +6 -6
> Put XFS tracing under ifdefs separate from DEBUG
> ----------------------------
> revision 1.48
> date: 1995/10/13 00:28:18;  author: doucette;  state: Exp;  lines: +2 -1
> Include sys/uuid.h since the uuid_t definition has been moved out
> of sys/types.h for DCE.
> =============================================================================

Revision 1.47 / (download) - annotate - [select for diffs], Thu Aug 31 20:57:22 1995 UTC (22 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.46: +103 -40 lines
Diff to previous 1.46 (colored)

Fix up the XFS_TRANS_DEBUG code.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Aug 8 00:53:31 1995 UTC (22 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.45: +3 -73 lines
Diff to previous 1.45 (colored)

284911 - rip out buf64 log format code as part of cleaning up
the buffer log formats

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 21 23:12:40 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.44: +65 -2 lines
Diff to previous 1.44 (colored)

261533 Change to code to re-issue a buffer write
when we get a disk error rather than panic'ing.
This should help with problems with spurios scsi
bus errors.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 12 03:06:00 1995 UTC (22 years, 4 months ago) by curtis
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

Added check for STALE buffer; problem on buffer reuse after binval()

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jun 7 21:41:05 1995 UTC (22 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.42: +75 -5 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Tue May 2 00:33:41 1995 UTC (22 years, 5 months ago) by yohn
Branch: MAIN
Changes since 1.41: +4 -13 lines
Diff to previous 1.41 (colored)

changed various lock_t and sema_t locks to mutex_t; changed bli_refcount
management to use atomicAddInt so xfs_bli_reflock spinlock could be
removed entirely

Revision 1.41 / (download) - annotate - [select for diffs], Wed Apr 26 22:49:39 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.40: +14 -1 lines
Diff to previous 1.40 (colored)

Fixing up recovery from disk errors.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Apr 13 03:15:01 1995 UTC (22 years, 6 months ago) by ajs
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

First cut at disk error handling

Revision 1.39 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:16 1995 UTC (22 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.38: +1 -0 lines
Diff to previous 1.38 (colored)

Add an #ident line.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 9 03:40:41 1995 UTC (22 years, 7 months ago) by ajs
Branch: MAIN
Changes since 1.37: +14 -17 lines
Diff to previous 1.37 (colored)

Zone allocate buf items, and change for the
new AIL locking scheme.

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

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

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jan 31 00:02:37 1995 UTC (22 years, 8 months ago) by tap
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

in the XFS simulator, define _KERNEL before including params.h. This
causes the off_t type to be defined as a long long rather than a long.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Dec 22 00:35:33 1994 UTC (22 years, 10 months ago) by tap
Branch: MAIN
Changes since 1.34: +9 -9 lines
Diff to previous 1.34 (colored)

add type casts so that file will compile without warnings.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Dec 8 19:28:23 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.33: +22 -4 lines
Diff to previous 1.33 (colored)

Modify xfs_buf_item_committed to properly handle buffers
with the XFS_BLI_INODE_ALLOC_BUF flag set.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 3 02:42:15 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.32: +21 -13 lines
Diff to previous 1.32 (colored)

Add the XFS_BLI_CANCEL flag and the xfs_buf_cancel_t structure
definition.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 9 22:04:42 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.31: +7 -12 lines
Diff to previous 1.31 (colored)

Place the buffer log checking code under XFS_TRANS_DEBUG
rather than DEBUG.  It was eating far too much cpu time.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Aug 29 17:29:27 1994 UTC (23 years, 1 month ago) by ajs
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 (colored)

Fix the ROUNDUPNBWORD macro so that it works with blocks
greater than 4KB.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jun 25 21:42:43 1994 UTC (23 years, 3 months ago) by ajs
Branch: MAIN
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored)

Remove include of obsolete xfs_bio.h.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jun 13 07:09:05 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.28: +69 -2 lines
Diff to previous 1.28 (colored)

Add routine xfs_buf_item_contig_bits().  This will count the number of
consecutive/contiguous bits in a bitmap sized by words, given a start bit.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 12 01:22:51 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored)

Add second parameter to ktrace_alloc() calls.

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

Eliminate include of <sys/uuid.h>.

Revision 1.26 / (download) - annotate - [select for diffs], Tue May 31 16:06:11 1994 UTC (23 years, 4 months ago) by tap
Branch: MAIN
Changes since 1.25: +5 -1 lines
Diff to previous 1.25 (colored)

add #ifdefs so that simulator will compile.

Revision 1.25 / (download) - annotate - [select for diffs], Mon May 30 21:34:06 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.24: +82 -8 lines
Diff to previous 1.24 (colored)

Re-work binval handling one more time.

Revision 1.24 / (download) - annotate - [select for diffs], Thu May 26 22:12:47 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.23: +3 -0 lines
Diff to previous 1.23 (colored)

More ASSERTS about XFS_BLI_STALE.

Revision 1.23 / (download) - annotate - [select for diffs], Thu May 26 18:25:17 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.22: +13 -2 lines
Diff to previous 1.22 (colored)

Re-work invalidate code to keep the buffer locked until
we're no longer referencing it.

Revision 1.22 / (download) - annotate - [select for diffs], Wed May 25 23:38:00 1994 UTC (23 years, 4 months ago) by ajs
Branch: MAIN
Changes since 1.21: +45 -2 lines
Diff to previous 1.21 (colored)

Add support for xfs_trans_binval().

Revision 1.21 / (download) - annotate - [select for diffs], Wed May 18 00:48:47 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.20: +6 -2 lines
Diff to previous 1.20 (colored)

In xfs_buf_item_trylock(), don't call notavail()
on buffers which are not on the free list.  These
are typically private buffers like the superblock.

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 10 21:53:07 1994 UTC (23 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.19: +7 -2 lines
Diff to previous 1.19 (colored)

Change the trylock routine to use the new return codes.

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 10 18:17:09 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

export xfs_buf_item_bits to world

Revision 1.18 / (download) - annotate - [select for diffs], Mon May 9 05:28:06 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

export xfs_buf_item_next_bit

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 4 23:18:26 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)

Use xfs_countbit (in xfs_bit.c) instead of byte_to_bits array.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 28 22:48:56 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

1.  xxx_fields field now has correct values
2.  xxx_size field contains # of regions in action/item rather than
	byte count.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jan 25 22:12:16 1994 UTC (23 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.14: +7 -0 lines
Diff to previous 1.14 (colored)

Fixed a memory leak in some debugging code.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 19 00:29:36 1994 UTC (23 years, 9 months ago) by doucette
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored)

Move definitions for kmem_... functions out of sim.h, use sys/kmem.h instead.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 4 18:22:05 1994 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.12: +8 -0 lines
Diff to previous 1.12 (colored)

Free the memory allocated for debugging when the buf log item
is released.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 31 22:46:45 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.11: +111 -0 lines
Diff to previous 1.11 (colored)

Add debugging code to catch internal errors and to
make sure everyone logs ALL the changes they make to
buffers.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 31 01:55:08 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.10: +133 -161 lines
Diff to previous 1.10 (colored)

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.10 / (download) - annotate - [select for diffs], Wed Dec 15 01:09:30 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.9: +0 -1 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 9 06:05:47 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.8: +10 -3 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 25 01:23:14 1993 UTC (23 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.7: +101 -18 lines
Diff to previous 1.7 (colored)

Added support for multiple iodone callbacks.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 19 21:40:16 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.6: +1 -0 lines
Diff to previous 1.6 (colored)

Include sys/uuid.h everywhere.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 17 02:13:39 1993 UTC (23 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.5: +6 -5 lines
Diff to previous 1.5 (colored)

Code cleanup.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 17 01:41:01 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.4: +13 -8 lines
Diff to previous 1.4 (colored)

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.4 / (download) - annotate - [select for diffs], Sat Nov 6 22:02:12 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

Get rid of nested includes.

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

Include xfs_mount.h, xfs_mount_t moved there.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 29 20:34:54 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.1: +15 -7 lines
Diff to previous 1.1 (colored)

Fix includes, get rid of warnings.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 29 00:19:11 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>