CVS log for xfs-linux/xfs_log.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.82 / (download) - annotate - [select for diffs], Wed Aug 6 06:15:15 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.81: +1 -1 lines
Diff to previous 1.81 (colored)

cleanup xfs_mountfs

Remove all the useless flags and code keyed off it in xfs_mountfs.


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

  cleanup xfs_mountfs

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

Sanitise xfs_log_force error checking.

xfs_log_force() is declared to return an error, but we almost never
check it. We don't need to check it in most cases; if there's a log
I/O error then we'll be shutting down the filesystem anyway and that
means we'll catch the error somewhere else.

However, on certain calls we should be returning an error - sync
transactions, fsync, sync writes, etc. so this isn't a pure black
and white distinction. Hence make xfs_log_force() a void function
that issues a warning to the syslog on error, and call
_xfs_log_force() in all the places where we actually care about the
error status returned.
Merge of xfs-linux-melb:xfs-kern:30832a by kenmcd.

  Sanitise xfs_log_force error checking.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Oct 2 06:15:48 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored)

xlog_rec_header/xlog_rec_ext_header endianess annotations

Mostly trivial conversion with one exceptions:  h_num_logops was kept
in native endian previously and only converted to big endian in
xlog_sync, but we always keep it big endian now.  With todays cpus
fast byteswap instructions that's not an issue but the new variant
keeps the code clean and maintainable.


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

  xlog_rec_header/xlog_rec_ext_header endianess annotations

Revision 1.79 / (download) - annotate - [select for diffs], Thu Aug 10 15:31:06 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.78: +0 -8 lines
Diff to previous 1.78 (colored)

Remove several macros that are no longer used anywhere

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

  Remove several macros that are no longer used anywhere

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

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

Revision 1.76 / (download) - annotate - [select for diffs], Tue Dec 20 05:03:36 2005 UTC (11 years, 9 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.75: +1 -10 lines
Diff to previous 1.75 (colored)

remove XFS_LOG_RES_DEBUG and turn on the res history all the time to get more useful error info on space for trans items
Merge of xfs-linux-melb:xfs-kern:24886a by kenmcd.

Revision 1.75 / (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.74: +12 -26 lines
Diff to previous 1.74 (colored)

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

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

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

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

Revision 1.72 / (download) - annotate - [select for diffs], Wed Jan 12 22:38:29 2005 UTC (12 years, 9 months ago) by hch
Branch: MAIN
Changes since 1.71: +9 -20 lines
Diff to previous 1.71 (colored)

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

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

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

Revision 1.70 / (download) - annotate - [select for diffs], Thu Aug 21 17:04:22 2003 UTC (14 years, 1 month ago) by wessmith
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

Work around gcc 2.96 bug in _lsn_cmp.
Merge of 2.4.x-xfs-kern:slinx:156280a by sandeen.

  Work around gcc 2.96 bug in _lsn_cmp.

Revision 1.69 / (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.68: +193 -0 lines
Diff to previous 1.68 (colored)

The Big Move
linux/fs/xfs/xfs_log.h 1.67 Renamed to xfs_log.h

Revision 1.68 / (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.67: +0 -193 lines
Diff to previous 1.67 (colored)

Nuke

Revision 1.67 / (download) - annotate - [select for diffs], Mon May 19 05:51:44 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.66: +1 -2 lines
Diff to previous 1.66 (colored)

Remove some dead code.
xfs_log_init isn't called by anyone, remove it.

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

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

Revision 1.65 / (download) - annotate - [select for diffs], Mon Feb 24 21:58:09 2003 UTC (14 years, 7 months ago) by hch
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

shut up gcc warnings about _lsn_cmp

Revision 1.64 / (download) - annotate - [select for diffs], Thu Feb 13 17:41:15 2003 UTC (14 years, 8 months ago) by overby
Branch: MAIN
Changes since 1.63: +2 -0 lines
Diff to previous 1.63 (colored)

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

  Add a prototype for xfs_log_release_iclog.

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

Do not release the last iclog of a transaction before we get our
callbacks attached to it. Otherwise we can end up executing the
callback out of order.
changes in prototypes

Revision 1.62 / (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.61: +26 -26 lines
Diff to previous 1.61 (colored)

whitespace cleanup

Revision 1.61 / (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.60: +1 -1 lines
Diff to previous 1.60 (colored)

Update copyright dates

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jun 3 21:51:14 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored)

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

Revision 1.59 / (download) - annotate - [select for diffs], Fri May 24 14:37:11 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.58: +7 -7 lines
Diff to previous 1.58 (colored)

Fix lsn_cmp warnings with gcc 2.95 compiler

Revision 1.58 / (download) - annotate - [select for diffs], Wed Apr 3 20:18:24 2002 UTC (15 years, 6 months ago) by sandeen
Branch: MAIN
Changes since 1.57: +2 -0 lines
Diff to previous 1.57 (colored)

Remove double endian flipping

Revision 1.57 / (download) - annotate - [select for diffs], Thu Jan 24 03:47:42 2002 UTC (15 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56 (colored)

fix debug build

Revision 1.56 / (download) - annotate - [select for diffs], Wed Apr 18 16:19:03 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.55: +1 -1 lines
Diff to previous 1.55 (colored)

This particular compiler workaround appears to only be needed on 
one rev of gcc, make it go away for the others.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Feb 13 00:33:03 2001 UTC (16 years, 8 months ago) by cattelan
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.54: +7 -1 lines
Diff to previous 1.54 (colored)

This removes the "inline" from the lsn_cmp function. This function
appears to be incorrectly compiled by the gcc 2.95.x compiler.
This does produce a warning messages when compiling with the 2.95 compiler
fixing this would require code restructuring which would be incompatible
with the irix source.

Hopefully the compiler will be fixed in the future and the inline can
be restored.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Nov 14 23:40:34 2000 UTC (16 years, 11 months ago) by dxm
Branch: MAIN
Changes since 1.53: +0 -2 lines
Diff to previous 1.53 (colored)

remove extraneous include of "xfs_arch.h" (now arch.h)

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

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

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

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

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

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

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

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

  fix MIPS mode

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

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

  change back to original ordering of cycle & block within LSN

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jun 9 04:15:10 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.47: +0 -10 lines
Diff to previous 1.47 (colored)

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

  remove work around for ARCH_UNKNOWN != ARCH_NOCONVERT in native mode

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

native log stuff-up fix
Merge of 2.3.99pre2-xfs:slinx:60426a by ananth.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jun 9 04:13:34 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.45: +29 -21 lines
Diff to previous 1.45 (colored)

arch work for clean log mount
Merge of 2.3.99pre2-xfs:slinx:60311a by ananth.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jun 9 03:32:29 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored)

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

  fix endian check

Revision 1.44 / (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.43: +26 -13 lines
Diff to previous 1.43 (colored)

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

Revision 1.43 / (download) - annotate - [select for diffs], Fri Feb 11 03:35:55 2000 UTC (17 years, 8 months ago) by mostek
Branch: MAIN
CVS Tags: DELETE
Changes since 1.42: +11 -14 lines
Diff to previous 1.42 (colored)

The LSN compare code was still wrong. The lsn's need
to be signed since the comparison against XFS_LSN_CMP can be
>, <, or == 0.
The ail was getting out of order. I have no clue how things
can be working as well as they are without this fix. go figure.

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

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

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

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jan 27 15:28:58 2000 UTC (17 years, 8 months ago) by lord
Branch: MAIN
Changes since 1.40: +32 -1 lines
Diff to previous 1.40 (colored)

Fix LSN comparison macros for little endian hardware

Revision 1.40 / (download) - annotate - [select for diffs], Tue Dec 21 04:22:06 1999 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.39: +24 -1 lines
Diff to previous 1.39 (colored)

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

Revision 1.39 / (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.38: +4 -2 lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Thu Jan 15 21:41:56 1998 UTC (19 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored)

rv: lord@cray.com, mac@cray.com pv: 496799 -- extern for new routine in xfs_log.c.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Sep 19 09:36:59 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (colored)

522678 - prototype change

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 30 22:24:11 1997 UTC (20 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.35: +3 -4 lines
Diff to previous 1.35 (colored)

xfs_log_force_umount, and cb_func signature changes.

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

First cut of XFS I/O error handling changes.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Dec 14 01:44:18 1996 UTC (20 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

446511 - choke off all disk I/O for read-only mounts of cleanly
unmounted filesystems

Revision 1.33 / (download) - annotate - [select for diffs], Wed Nov 9 01:00:39 1994 UTC (22 years, 11 months ago) by ajs
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Add prototype for xfs_log_mount_finish().

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 23 22:24:28 1994 UTC (23 years, 3 months ago) by miken
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

Add arg to xfs_log_print()

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jun 9 01:35:21 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.30: +6 -4 lines
Diff to previous 1.30 (colored)

Add proto for xfs_log_move_tail()

Revision 1.30 / (download) - annotate - [select for diffs], Wed May 25 04:30:41 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

add count argument to xfs_log_reserve()

Revision 1.29 / (download) - annotate - [select for diffs], Thu May 12 23:35:00 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

Remove flags arg from xfs_log_mount()

Revision 1.28 / (download) - annotate - [select for diffs], Fri May 6 00:59:23 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

make length of vector an int

Revision 1.27 / (download) - annotate - [select for diffs], Sat Apr 30 19:52:11 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26 (colored)

Add LOG transaction identifier

Revision 1.26 / (download) - annotate - [select for diffs], Thu Apr 28 06:34:29 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.25: +1 -0 lines
Diff to previous 1.25 (colored)

add flag

Revision 1.25 / (download) - annotate - [select for diffs], Thu Apr 28 05:00:11 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

fix comments

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 27 00:41:24 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

change constant name

Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 26 00:38:26 1994 UTC (23 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.22: +1 -7 lines
Diff to previous 1.22 (colored)

Remove error code values from here, they're now all in xfs_error.h.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 22 20:56:08 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

change XFS_TRANSACTION to a more noticible value

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 11 18:42:27 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

block numbers should be daddr_t

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 7 00:07:26 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

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

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 28 21:17:49 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

change XFS_TRANSACTION_MANAGER to XFS_TRANSACTION

Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 15 19:46:54 1994 UTC (23 years, 7 months ago) by miken
Branch: MAIN
Changes since 1.17: +6 -4 lines
Diff to previous 1.17 (colored)

Add proto for xfs_log_unmount()

Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 7 23:02:01 1994 UTC (23 years, 7 months ago) by miken
Branch: MAIN
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

add extern log_debug

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 7 19:46:38 1994 UTC (23 years, 7 months ago) by miken
Branch: MAIN
Changes since 1.15: +28 -10 lines
Diff to previous 1.15 (colored)

Add start and length block arguments to xfs_log_mount and xfs_log_print

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 16 02:44:46 1994 UTC (23 years, 8 months ago) by miken
Branch: MAIN
Changes since 1.14: +9 -1 lines
Diff to previous 1.14 (colored)

Add flags argument to xfs_log_print()

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

Fix lint problems.  Clean up formatting

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

Oops, there are no differences here.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 25 03:40:44 1994 UTC (23 years, 8 months ago) by miken
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

1.  Change xfs_log_write() routine to return an extra argument, the starting
	lsn of a transaction.
2.  Change interface log_iovec structure to not include lsn.  The only one we
	need it provided in (1).
3.  Fix small logic bug where writes were happening to iclog incorrectly.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 24 22:58:13 1994 UTC (23 years, 8 months ago) by miken
Branch: MAIN
Changes since 1.10: +12 -12 lines
Diff to previous 1.10 (colored)

1.  xfs_log_done() returns lsn of commit record
2.  synchronous log forcing now implemented.
3.  better reservation accounting.
4.  Cycle count starts at 1 since 0 is the log's inited state
5.  State machine locks at splhi

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 13 23:39:41 1994 UTC (23 years, 9 months ago) by miken
Branch: MAIN
Changes since 1.9: +9 -2 lines
Diff to previous 1.9 (colored)

1. Add support for permanent reservations, including a way to release a
	permanent reservation.
2. Callbacks fully implemented.
3. Added notion of a start record for each transaction.
4. Revised state machine locking w.r.t. the counting semaphore used to
	hold off new log writers.  There is now an ordering placed on
	in-core logs.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 7 00:03:02 1994 UTC (23 years, 9 months ago) by miken
Branch: MAIN
Changes since 1.8: +15 -6 lines
Diff to previous 1.8 (colored)

1.  Fix iodone() complete routines to perform locking correctly.
2.  Correct some problems in the log_write() code w.r.t. the offset in the
	current in-core log.
3.  Add the notion of a start record for transactions.
4.  Every 512 byte block will have a pass number stamped in the first word
	of the block.  However, log record headers have their magic number
	in the first word with the pass number in the second word.
5. Add notion of splitting individual regions across multiple log record
	writes.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 31 01:55:23 1993 UTC (23 years, 9 months ago) by ajs
Branch: MAIN
Changes since 1.7: +9 -22 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Thu Dec 30 22:24:15 1993 UTC (23 years, 9 months ago) by miken
Branch: MAIN
Changes since 1.6: +7 -2 lines
Diff to previous 1.6 (colored)

Most of the log state machine works now.  The incore logs are now managed
in a ring.  As part of the state machine, the MP locks are in place for MP
operation.  More states have been added to the state machine.  A test program
can now write 2 log records and the commit record which requires reusing
an iclog.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 15 03:19:05 1993 UTC (23 years, 10 months ago) by miken
Branch: MAIN
Changes since 1.5: +5 -19 lines
Diff to previous 1.5 (colored)

Redo indents and remove TICKET_INT code.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 15 01:10:31 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.4: +3 -0 lines
Diff to previous 1.4 (colored)

Move definition of XFS_LSN_CMP, XFS_LSN_DIFF here from xfs.h, which
has been removed.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 11 03:19:24 1993 UTC (23 years, 10 months ago) by miken
Branch: MAIN
Changes since 1.3: +90 -8 lines
Diff to previous 1.3 (colored)

First cut of log manager code.  All my code is under LOG_DEBUG #ifdefs.
The current code should be able to write regions to disk.  log print
routines are also present.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 9 06:06:45 1993 UTC (23 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.2: +6 -1 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 29 20:35:36 1993 UTC (23 years, 11 months ago) by doucette
Branch: MAIN
Changes since 1.1: +1 -3 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:20:08 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>