Up to [Development] / xfs-linux
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.135 / (download) - annotate - [select for diffs], Fri Oct 17 02:56:42 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.134: +1 -0
lines
Diff to previous 1.134 (unified)
Given the log a pointer to the AIL When we need to go from the log to the AIL, we have to go via the xfs_mount. Add a xfs_ail pointer to the log so we can go directly to the AIL associated with the log. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:32351a by kenmcd. Given the log a pointer to the AIL
Revision 1.134 / (download) - annotate - [select for diffs], Fri Aug 15 06:21:23 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.133: +0 -1
lines
Diff to previous 1.133 (unified)
Move memory allocations for log tracing out of the critical path Memory allocations for log->l_grant_trace and iclog->ic_trace are done on demand when the first event is logged. In xlog_state_get_iclog_space() we call xlog_trace_iclog() under a spinlock and allocating memory here can cause us to sleep with a spinlock held and deadlock the system. For the log grant tracing we use KM_NOSLEEP but that means we can lose trace entries. Since there is no locking to serialize the log grant tracing we could race and have multiple allocations and leak memory. So move the allocations to where we initialize the log/iclog structures. Use KM_NOFS to avoid recursing into the filesystem and drop log->l_trace since it's not even used. Merge of xfs-linux-melb:xfs-kern:31896a by kenmcd. Move memory allocations for log tracing out of the critical path
Revision 1.133 / (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
Changes since 1.132: +1 -1
lines
Diff to previous 1.132 (unified)
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.132 / (download) - annotate - [select for diffs], Tue Aug 5 16:28:47 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.131: +6 -6
lines
Diff to previous 1.131 (unified)
clean up stale references to semaphores A lot of code has been converted away from semaphores, but there are still comments that reference semaphore behaviour. The log code is the worst offender. Update the comments to reflect what the code really does now. Signed-off-by: Dave Chinner <david@fromorbit.com> Merge of xfs-linux-melb:xfs-kern:31814a by kenmcd. clean up stale references to semaphores
Revision 1.131 / (download) - annotate - [select for diffs], Fri May 9 04:32:47 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.130: +2 -4
lines
Diff to previous 1.130 (unified)
Convert l_flushsema to a sv_t The l_flushsema doesn't exactly have completion semantics, nor mutex semantics. It's used as a list of tasks which are waiting to be notified that a flush has completed. It was also being used in a way that was potentially racy, depending on the semaphore implementation. By using a sv_t instead of a semaphore we avoid the need for a separate counter, since we know we just need to wake everything on the queue. Original waitqueue implementation from Matthew Wilcox. Cleanup and conversion to sv_t by Christoph Hellwig. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:31059a by kenmcd. Convert l_flushsema to a sv_t
Revision 1.130 / (download) - annotate - [select for diffs], Wed Apr 9 06:14:53 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.129: +30 -25
lines
Diff to previous 1.129 (unified)
Reorganise xlog_t for better cacheline isolation of contention To reduce contention on the log in large CPU count, separate out different parts of the xlog_t structure onto different cachelines. Move each lock onto a different cacheline along with all the members that are accessed/modified while that lock is held. Also, move the debugging code into debug code. Merge of xfs-linux-melb:xfs-kern:30772a by kenmcd. Reorganise xlog_t for better cacheline isolation of contention
Revision 1.129 / (download) - annotate - [select for diffs], Wed Apr 9 06:14:03 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.128: +3 -6
lines
Diff to previous 1.128 (unified)
Remove the xlog_ticket allocator The ticket allocator is just a simple slab implementation internal to the log. It requires the icloglock to be held when manipulating it and this contributes to contention on that lock. Just kill the entire allocator and use a memory zone instead. While there, allow us to gracefully fail allocation with ENOMEM. Merge of xfs-linux-melb:xfs-kern:30771a by kenmcd. Remove the xlog_ticket allocator and replace it with a memory zone.
Revision 1.128 / (download) - annotate - [select for diffs], Wed Apr 9 06:13:11 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.127: +26 -7
lines
Diff to previous 1.127 (unified)
Per iclog callback chain lock Rather than use the icloglock for protecting the iclog completion callback chain, use a new per-iclog lock so that walking the callback chain doesn't require holding a global lock. This reduces contention on the icloglock during transaction commit and log I/O completion by reducing the number of times we need to hold the global icloglock during these operations. Merge of xfs-linux-melb:xfs-kern:30770a by kenmcd. Use a per-iclog callback chain log to reduce contention on the icloglock.
Revision 1.127 / (download) - annotate - [select for diffs], Fri Feb 22 03:05:49 2008 UTC (9 years, 8 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.126: +2 -2
lines
Diff to previous 1.126 (unified)
remove shouting-indirection macros from xfs_sb.h Remove macro-to-small-function indirection from xfs_sb.h, and remove some which are completely unused. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:30528a by kenmcd. remove shouting-indirection macros from xfs_sb.h
Revision 1.126 / (download) - annotate - [select for diffs], Fri Feb 15 15:20:47 2008 UTC (9 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.125: +1 -1
lines
Diff to previous 1.125 (unified)
Use atomics for iclog reference counting Now that we update the log tail LSN less frequently on transaction completion, we pass the contention straight to the global log state lock (l_iclog_lock) during transaction completion. We currently have to take this lock to decrement the iclog reference count. there is a reference count on each iclog, so we need to take þhe global lock for all refcount changes. When large numbers of processes are all doing small trnasctions, the iclog reference counts will be quite high, and the state change that absolutely requires the l_iclog_lock is the except rather than the norm. Change the reference counting on the iclogs to use atomic_inc/dec so that we can use atomic_dec_and_lock during transaction completion and avoid the need for grabbing the l_iclog_lock for every reference count decrement except the one that matters - the last. Merge of xfs-linux-melb:xfs-kern:30505a by kenmcd. change ic_refcount to an atomic_t.
Revision 1.125 / (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.124: +20 -20
lines
Diff to previous 1.124 (unified)
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.124 / (download) - annotate - [select for diffs], Tue Oct 2 06:14:55 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.123: +5 -5
lines
Diff to previous 1.123 (unified)
clean up some xfs_log_priv.h macros - the various assign lsn macros are replaced by a single inline, xlog_assign_lsn, which is equivalent to ASSIGN_ANY_LSN_HOST except for a more sane calling convention. ASSIGN_LSN_DISK is replaced by xlog_assign_lsn and a manual bytespap, and ASSIGN_LSN by the same, except we pass the cycle and block arguments explicitly instead of a log paramter. The latter two variants only had 2, respectively one user anyway. - the GET_CYCLE is replaced by a xlog_get_cycle inline with exactly the same calling conventions. - GET_CLIENT_ID is replaced by xlog_get_client_id which leaves away the unused arch argument. Instead of conditional defintions depending on host endianess we now do an unconditional swap and shift then, which generates equal code. - the unused XLOG_SET macro is removed. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29820a by kenmcd. clean up some xfs_log_priv.h macros
Revision 1.123 / (download) - annotate - [select for diffs], Tue Oct 2 06:14:02 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.122: +16 -31
lines
Diff to previous 1.122 (unified)
clean up some xfs_log_priv.h macros - the various assign lsn macros are replaced by a single inline, xlog_assign_lsn, which is equivalent to ASSIGN_ANY_LSN_HOST except for a more sane calling convention. ASSIGN_LSN_DISK is replaced by xlog_assign_lsn and a manual bytespap, and ASSIGN_LSN by the same, except we pass the cycle and block arguments explicitly instead of a log paramter. The latter two variants only had 2, respectively one user anyway. - the GET_CYCLE is replaced by a xlog_get_cycle inline with exactly the same calling conventions. - GET_CLIENT_ID is replaced by xlog_get_client_id which leaves away the unused arch argument. Instead of conditional defintions depending on host endianess we now do an unconditional swap and shift then, which generates equal code. - the unused XLOG_SET macro is removed. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29819a by kenmcd. clean up some xfs_log_priv.h macros
Revision 1.122 / (download) - annotate - [select for diffs], Fri Sep 21 04:11:08 2007 UTC (10 years, 1 month ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.121: +1 -4
lines
Diff to previous 1.121 (unified)
Unwrap GRANT_LOCK. Un-obfuscate GRANT_LOCK, remove GRANT_LOCK->mutex_lock->spin_lock macros, call spin_lock directly, remove extraneous cookie holdover from old xfs code, and change lock type to spinlock_t. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:29741a by kenmcd. Unwrap GRANT_LOCK.
Revision 1.121 / (download) - annotate - [select for diffs], Fri Sep 21 04:10:16 2007 UTC (10 years, 1 month ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.120: +1 -3
lines
Diff to previous 1.120 (unified)
Unwrap LOG_LOCK. Un-obfuscate LOG_LOCK, remove LOG_LOCK->mutex_lock->spin_lock macros, call spin_lock directly, remove extraneous cookie holdover from old xfs code, and change lock type to spinlock_t. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:29740a by kenmcd. Unwrap LOG_LOCK
Revision 1.120 / (download) - annotate - [select for diffs], Fri Aug 24 16:19:45 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.119: +0 -16
lines
Diff to previous 1.119 (unified)
replace some large xfs_log_priv.h macros by proper functions ... or in the case of XLOG_TIC_ADD_OPHDR remove a useless macro entirely. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:29511a by kenmcd. convert some large macros to functions.
Revision 1.119 / (download) - annotate - [select for diffs], Thu Aug 2 16:11:46 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.118: +2 -2
lines
Diff to previous 1.118 (unified)
clean up xfs_start_flags xfs_start_flags can make use of is_power_of_2 to tidy up the test a little bit. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:29327a by kenmcd. use of is_power_of_2 rather than explicitly testing all the possible power of 2 log buffer sizes.
Revision 1.118 / (download) - annotate - [select for diffs], Thu Aug 2 16:08:38 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.117: +0 -1
lines
Diff to previous 1.117 (unified)
choose single default logbuf count & size Remove sizing of logbuf size & count based on physical memory; this was never a very good gauge as it's looking at global memory, but deciding on sizing per-filesystem; no account is made of the total number of filesystems, for example. For now just take the largest "default" case, as was set for machines with >400MB - 8 x 32k buffers. This can always be tuned higher or lower with mount options if necessary. Removes one more user of xfs_physmem. Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Merge of xfs-linux-melb:xfs-kern:29323a by kenmcd. Don't size logbuf size and count based on physical memory.
Revision 1.117 / (download) - annotate - [select for diffs], Fri Aug 18 15:34:19 2006 UTC (11 years, 2 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.116: +6 -0
lines
Diff to previous 1.116 (unified)
Fixes the leak in reservation space because we weren't ungranting space for the unmount record - which becomes a problem in the freeze/thaw scenario. Merge of xfs-linux-melb:xfs-kern:26815a by kenmcd. create a type for XLOG_UNMOUNT_REC_TYPE so that we can see this in kdb transaction printing.
Revision 1.116 / (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.115: +0 -4
lines
Diff to previous 1.115 (unified)
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.115 / (download) - annotate - [select for diffs], Tue Dec 20 05:03:36 2005 UTC (11 years, 10 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.114: +3 -12
lines
Diff to previous 1.114 (unified)
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.114 / (download) - annotate - [select for diffs], Wed Dec 7 18:25:53 2005 UTC (11 years, 10 months ago) by hch
Branch: MAIN
Changes since 1.113: +0 -57
lines
Diff to previous 1.113 (unified)
turn xlog helper macros into real functions
Revision 1.113 / (download) - annotate - [select for diffs], Tue Dec 6 21:29:47 2005 UTC (11 years, 10 months ago) by sandeen
Branch: MAIN
Changes since 1.112: +2 -3
lines
Diff to previous 1.112 (unified)
remove unused "readonly" arg from xlog_find_tail and xlog_recover remove unused "readonly" arg from xlog_find_tail and xlog_recover
Revision 1.112 / (download) - annotate - [select for diffs], Tue Nov 29 18:19:21 2005 UTC (11 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.111: +0 -0
lines
Diff to previous 1.111 (unified)
make some xlog helpers real functions instead of macros in xfs_log_priv.h The real functions give us proper type checking and dreases .text about 1k.
Revision 1.111 / (download) - annotate - [select for diffs], Fri Nov 25 05:09:36 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.110: +12 -24
lines
Diff to previous 1.110 (unified)
Resolve the xlog_grant_log_space hang, revert inline to macro. Merge of xfs-linux-melb:xfs-kern:24567a by kenmcd.
Revision 1.110 / (download) - annotate - [select for diffs], Wed Oct 26 03:53:14 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.109: +2 -0
lines
Diff to previous 1.109 (unified)
Remove old, broken nolog-mode code - noone plans to ever fix it. Merge of xfs-linux-melb:xfs-kern:24213a by kenmcd.
Revision 1.109 / (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.108: +12 -26
lines
Diff to previous 1.108 (unified)
Update license/copyright notices to match the prefered SGI boilerplate. Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.
Revision 1.108 / (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.107: +70 -71
lines
Diff to previous 1.107 (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.107 / (download) - annotate - [select for diffs], Thu Sep 8 15:08:08 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.106: +3 -7
lines
Diff to previous 1.106 (unified)
Cleanup some -Wundef flag warnings in the endian macros (thanks Christoph). Merge of xfs-linux-melb:xfs-kern:23771a by kenmcd.
Revision 1.106 / (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.105: +58 -10
lines
Diff to previous 1.105 (unified)
add log debugging and tracing info Merge of xfs-linux-melb:xfs-kern:23155a by kenmcd.
Revision 1.105 / (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.104: +0 -2
lines
Diff to previous 1.104 (unified)
mark various symbols static Patch from Adrian Bunk
Revision 1.104 / (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.103: +9 -9
lines
Diff to previous 1.103 (unified)
Stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere stop passing ARCH_CONVERT/ARCH_NOCONVERT around everywhere
Revision 1.103 / (download) - annotate - [select for diffs], Fri Nov 19 04:52:49 2004 UTC (12 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.102: +1 -4
lines
Diff to previous 1.102 (unified)
xfs reservation issues with xlog_sync roundoff Merge of xfs-linux-melb:xfs-kern:20222a by kenmcd. Get rid of l_roundoff and ic_roundoff. Add extra roundoff param to xlog_pack_data().
Revision 1.102 / (download) - annotate - [select for diffs], Fri Oct 1 05:55:13 2004 UTC (13 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.101: +0 -1
lines
Diff to previous 1.101 (unified)
Remove unused function prototypes. Merge of xfs-linux-melb:xfs-kern:19636a by kenmcd.
Revision 1.101 / (download) - annotate - [select for diffs], Tue Mar 30 04:49:15 2004 UTC (13 years, 7 months ago) by tes
Branch: MAIN
Changes since 1.100: +1 -6
lines
Diff to previous 1.100 (unified)
remove xlog_btolrbb() which has changed and is only needed in one place.
Revision 1.100 / (download) - annotate - [select for diffs], Fri Feb 27 04:57:03 2004 UTC (13 years, 8 months ago) by tes
Branch: MAIN
Changes since 1.99: +3 -1
lines
Diff to previous 1.99 (unified)
Remove l_stripemask as it implicitly forces stripe size to power of 2 BBs which it shouldn't.
Revision 1.99 / (download) - annotate - [select for diffs], Sat Nov 22 22:22:46 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.98: +1 -1
lines
Diff to previous 1.98 (unified)
Switch from using dev_t to xfs_buftarg_t for representing the devices underneath XFS
Revision 1.98 / (download) - annotate - [select for diffs], Fri Oct 17 09:13:05 2003 UTC (14 years ago) by nathans
Branch: MAIN
Changes since 1.97: +3 -10
lines
Diff to previous 1.97 (unified)
Fix log tracing code so it is independent of DEBUG like other traces.
Revision 1.97 / (download) - annotate - [select for diffs], Tue Jul 29 00:04:41 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.96: +1 -1
lines
Diff to previous 1.96 (unified)
Change any references to legal/illegal into valid/invalid - apparently this was bad, mkaay?
Revision 1.96 / (download) - annotate - [select for diffs], Tue Jul 15 15:46:39 2003 UTC (14 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.95: +2 -1
lines
Diff to previous 1.95 (unified)
Scale default number of log buffers based on memory size Changed defines for scaling default log buffers with memory size
Revision 1.95 / (download) - annotate - [select for diffs], Mon Jul 14 05:05:04 2003 UTC (14 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.94: +54 -48
lines
Diff to previous 1.94 (unified)
Cleanup empty/noaddr pagebuf initialisation; particularly for buffers used for log IO - no longer allocate buffers for data device then reset target, gets it right from the start.
Revision 1.94 / (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.93: +568 -0
lines
Diff to previous 1.93 (unified)
The Big Move linux/fs/xfs/xfs_log_priv.h 1.92 Renamed to xfs_log_priv.h
Revision 1.93 / (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.92: +0 -568
lines
Diff to previous 1.92 (unified)
Nuke
Revision 1.92 / (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.91: +3 -3
lines
Diff to previous 1.91 (unified)
Remove some dead code.
Make xlog_{exit,panic,warn} varargs, not just take a string, more useful.
Revision 1.91 / (download) - annotate - [select for diffs], Mon May 19 00:07:42 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.90: +6 -7
lines
Diff to previous 1.90 (unified)
Rationalise xlog_in_core2 definition, remove some ifdef __KERNEL__ code which is unnecessary in log recovery, clarify some recovery debug code.
Revision 1.90 / (download) - annotate - [select for diffs], Sun May 18 23:48:15 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.89: +1 -0
lines
Diff to previous 1.89 (unified)
Remove a void* from the xfs_mount structure, move the log stripe mask field from the xfs_mount structure to the log structure (saves a couple of pointer dereferences when writing to the log, with v2 logs only).
Revision 1.89 / (download) - annotate - [select for diffs], Fri May 16 05:37:09 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.88: +8 -4
lines
Diff to previous 1.88 (unified)
Large sector changes - fixup definition of xfs_agfl_t, and numerous changes to make log recovery respect the log device sector size. Numerous changes to the log recovery code to make it work for larger sector sizes.
Revision 1.88 / (download) - annotate - [select for diffs], Tue May 13 23:52:11 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.87: +3 -0
lines
Diff to previous 1.87 (unified)
V1 log tweak - fix log record length used when checking for a partial log record write during log recovery head/tail calculations.
Revision 1.87 / (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.86: +46 -46
lines
Diff to previous 1.86 (unified)
Whitespace cleanup Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)
Revision 1.86 / (download) - annotate - [select for diffs], Mon Mar 3 17:54:29 2003 UTC (14 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.85: +1 -2
lines
Diff to previous 1.85 (unified)
reduce byte swapping and spinlock usage in log write path minor cleanup, remove function argument which was always zero
Revision 1.85 / (download) - annotate - [select for diffs], Mon Dec 2 18:26:49 2002 UTC (14 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.84: +2 -2
lines
Diff to previous 1.84 (unified)
for synchronous transactions, allow the in core log buffer to wait around in active state for as long as possible. This allows us to coalesce several transactions into one buffer and reduce the disk traffic. new sync variable in the iclog structure
Revision 1.84 / (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.83: +77 -77
lines
Diff to previous 1.83 (unified)
whitespace cleanup
Revision 1.83 / (download) - annotate - [select for diffs], Tue Jun 18 20:32:24 2002 UTC (15 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.82: +26 -8
lines
Diff to previous 1.82 (unified)
New structures for v2 log format
Revision 1.82 / (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.81: +1 -1
lines
Diff to previous 1.81 (unified)
Update copyright dates
Revision 1.81 / (download) - annotate - [select for diffs], Thu May 23 18:57:09 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.80: +3 -1
lines
Diff to previous 1.80 (unified)
we need a tq_struct pointer for out of line log write handling
Revision 1.80 / (download) - annotate - [select for diffs], Tue Mar 19 17:22:53 2002 UTC (15 years, 7 months ago) by lord
Branch: MAIN
Changes since 1.79: +24 -22
lines
Diff to previous 1.79 (unified)
Break iclog memory into two chunks to make log writes page aligned and to save memory.
Revision 1.79 / (download) - annotate - [select for diffs], Thu Jan 24 03:47:42 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.78: +1 -1
lines
Diff to previous 1.78 (unified)
fix debug build
Revision 1.78 / (download) - annotate - [select for diffs], Wed Jan 23 23:48:25 2002 UTC (15 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.77: +6 -6
lines
Diff to previous 1.77 (unified)
Stop using char as the type for some fields in here, go to explicit use of a __uint8_t.
Revision 1.77 / (download) - annotate - [select for diffs], Fri Feb 23 19:08:48 2001 UTC (16 years, 8 months ago) by lord
Branch: MAIN
CVS Tags: Release-1_0_0,
PreRelease-0_10,
Linux-2_4_5-merge
Changes since 1.76: +1 -1
lines
Diff to previous 1.76 (unified)
Bump max iclogs to 8
Revision 1.76 / (download) - annotate - [select for diffs], Mon Oct 2 23:35:37 2000 UTC (17 years ago) by dxm
Branch: MAIN
Changes since 1.75: +20 -16
lines
Diff to previous 1.75 (unified)
pv 801613 - remove log footer add new uuid and format fields
Revision 1.75 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.74: +19 -21
lines
Diff to previous 1.74 (unified)
use xfs.h, remove all traces of SIM, push extern declarations into headers, dead code removal.
Revision 1.74 / (download) - annotate - [select for diffs], Wed Aug 30 00:37:21 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.73: +10 -1
lines
Diff to previous 1.73 (unified)
Define XFS_EXTERNAL_LOG_VERSION & XFS_EXTERNAL_LOG_MAGIC
Revision 1.73 / (download) - annotate - [select for diffs], Tue Jun 27 06:46:06 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.72: +6 -6
lines
Diff to previous 1.72 (unified)
fix broken use of _KERNEL which was causing logprint to pick up the wrong xlog_panic/warn/exit routines.
Revision 1.72 / (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.71: +6 -6
lines
Diff to previous 1.71 (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.71 / (download) - annotate - [select for diffs], Fri Jun 9 04:15:50 2000 UTC (17 years, 4 months ago) by dxm
Branch: MAIN
Changes since 1.70: +2 -8
lines
Diff to previous 1.70 (unified)
Merge of 2.3.99pre2-xfs:slinx:60510a by ananth. fix GET_CLIENT_ID
Revision 1.70 / (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.69: +27 -0
lines
Diff to previous 1.69 (unified)
Merge of 2.3.99pre2-xfs:slinx:60431a by ananth. add GET_CLIENT_ID macro to solve ugly endian issue
Revision 1.69 / (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.68: +23 -8
lines
Diff to previous 1.68 (unified)
arch work for clean log mount Merge of 2.3.99pre2-xfs:slinx:60311a by ananth.
Revision 1.68 / (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.67: +25 -12
lines
Diff to previous 1.67 (unified)
Updated copyright and license notices, ready for open source release Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.
Revision 1.67 / (download) - annotate - [select for diffs], Fri Jun 9 02:15:58 2000 UTC (17 years, 4 months ago) by nn100003
Branch: MAIN
CVS Tags: DELETE
Changes since 1.66: +7 -3
lines
Diff to previous 1.66 (unified)
Merge of 2.3.99pre2-xfs:slinx:46735a by ananth. Merge of 2.3.42-xfs:slinx:46735a by ananth. Added xlog_volume_footer_t, the structure placed in the last block of an external log; it contains a magic field, the UUID of the filesystem that this log is associated with, and a version field.
Revision 1.66 / (download) - annotate - [select for diffs], Sat Feb 12 01:03:17 2000 UTC (17 years, 8 months ago) by cattelan
Branch: MAIN
Changes since 1.65: +2 -2
lines
Diff to previous 1.65 (unified)
Macros for special buffer gets.
Revision 1.65 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.64: +11 -16
lines
Diff to previous 1.64 (unified)
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.64 / (download) - annotate - [select for diffs], Tue Dec 21 04:22:06 1999 UTC (17 years, 10 months ago) by kenmcd
Branch: MAIN
Changes since 1.63: +24 -1
lines
Diff to previous 1.63 (unified)
Encumbrance review done. Add copyright and license words consistent with GPL.
Revision 1.63 / (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.62: +6 -6
lines
Diff to previous 1.62 (unified)
replace struct buf and buf_t references with xfs_buf and xfs_buf_t
Revision 1.62 / (download) - annotate - [select for diffs], Thu Oct 7 20:24:01 1999 UTC (18 years ago) by lord
Branch: MAIN
Changes since 1.61: +5 -1
lines
Diff to previous 1.61 (unified)
Cut down max iclogs for linux to 4, this cuts the buffer size recovery tries to allocate to 128K which linux will let you have.
Revision 1.61 / (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.60: +2 -1
lines
Diff to previous 1.60 (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.60 / (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.59: +1 -3
lines
Diff to previous 1.59 (unified)
Change includes for v2 directory support.
Revision 1.59 / (download) - annotate - [select for diffs], Thu Jan 15 21:41:57 1998 UTC (19 years, 9 months ago) by mostek
Branch: MAIN
Changes since 1.58: +78 -1
lines
Diff to previous 1.58 (unified)
rv: lord@cray.com, mac@cray.com pv: 496799 -- new field in xlog_t with states for "covering". Long comment describing why this change is needed and how all the states work.
Revision 1.58 / (download) - annotate - [select for diffs], Fri Jan 9 18:16:14 1998 UTC (19 years, 9 months ago) by kayuri
Branch: MAIN
Changes since 1.57: +13 -11
lines
Diff to previous 1.57 (unified)
rv: doucette@engr, rcc@engr pv: 554467 Added a new state, XLOG_STATE_DO_CALLBACK, to the log state machine. Also changed ic_state from a uchar_t to an ushort_t to accommodate for the new state.
Revision 1.57 / (download) - annotate - [select for diffs], Fri Sep 19 09:37:00 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.56: +3 -3
lines
Diff to previous 1.56 (unified)
522678 - prototype changes
Revision 1.56 / (download) - annotate - [select for diffs], Fri Mar 28 01:54:47 1997 UTC (20 years, 7 months ago) by sup
Branch: MAIN
Changes since 1.55: +3 -2
lines
Diff to previous 1.55 (unified)
disk error handling changes
Revision 1.55 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:22 1997 UTC (20 years, 9 months ago) by sup
Branch: MAIN
Changes since 1.54: +4 -3
lines
Diff to previous 1.54 (unified)
First cut of XFS I/O error handling changes.
Revision 1.54 / (download) - annotate - [select for diffs], Sat Dec 14 01:44:25 1996 UTC (20 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.53: +5 -4
lines
Diff to previous 1.53 (unified)
446511 - choke off all disk I/O for read-only mounts of cleanly unmounted filesystems
Revision 1.53 / (download) - annotate - [select for diffs], Wed May 15 22:03:41 1996 UTC (21 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.52: +2 -1
lines
Diff to previous 1.52 (unified)
quotaoff_flag to keep track of QUOTAOFF records found during first pass of recovery.
Revision 1.52 / (download) - annotate - [select for diffs], Tue Jan 23 09:19:27 1996 UTC (21 years, 9 months ago) by ack
Branch: MAIN
Changes since 1.51: +32 -8
lines
Diff to previous 1.51 (unified)
auto-merge of changes from /proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_log_priv.h,v > ---------------------------- > revision 1.51 > date: 1996/01/16 22:18:58; author: ajs; state: Exp; lines: +32 -8 > 318890 Redefine the iclog structure so that we can actually > allocate it with various sizes. > =============================================================================
Revision 1.51 / (download) - annotate - [select for diffs], Tue Oct 24 07:44:29 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.50: +0 -0
lines
Diff to previous 1.50 (unified)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_log_priv.h,v > ---------------------------- > revision 1.50 > date: 1995/10/13 16:11:32; author: ajs; state: Exp; lines: +12 -0 > Put XFS tracing under ifdefs separate from DEBUG > =============================================================================
Revision 1.50 / (download) - annotate - [select for diffs], Tue Oct 17 08:20:16 1995 UTC (22 years ago) by ack
Branch: MAIN
Changes since 1.49: +12 -0
lines
Diff to previous 1.49 (unified)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_log_priv.h,v > ---------------------------- > revision 1.50 > date: 1995/10/13 16:11:32; author: ajs; state: Exp; lines: +12 -0 > Put XFS tracing under ifdefs separate from DEBUG > =============================================================================
Revision 1.49 / (download) - annotate - [select for diffs], Fri Sep 22 09:47:44 1995 UTC (22 years, 1 month ago) by ack
Branch: MAIN
Changes since 1.48: +4 -1
lines
Diff to previous 1.48 (unified)
auto-merge of changes from /hosts/clyde/proj/banyan/isms/irix/kern/fs/xfs/RCS/xfs_log_priv.h,v > ---------------------------- > revision 1.49 > date: 1995/09/20 00:55:44; author: ajs; state: Exp; lines: +4 -1 > 253058 - Add ASSIGN_ANY_LSN for use in new recovery code. > =============================================================================
Revision 1.48 / (download) - annotate - [select for diffs], Fri Aug 25 21:52:58 1995 UTC (22 years, 2 months ago) by yohn
Branch: MAIN
Changes since 1.47: +3 -3
lines
Diff to previous 1.47 (unified)
converted mutex_t to lock_t
Revision 1.47 / (download) - annotate - [select for diffs], Wed Aug 16 05:46:30 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.46: +23 -5
lines
Diff to previous 1.46 (unified)
Turn some macros into functions for 32-bit kernels, to save some memory.
Revision 1.46 / (download) - annotate - [select for diffs], Wed Aug 16 00:37:52 1995 UTC (22 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.45: +2 -2
lines
Diff to previous 1.45 (unified)
297251 - change l_logBBstart to daddr_t to allow log to start beyond 1 TB in 64-bit/n32 kernels
Revision 1.45 / (download) - annotate - [select for diffs], Mon Aug 7 19:37:10 1995 UTC (22 years, 2 months ago) by doucette
Branch: MAIN
Changes since 1.44: +3 -3
lines
Diff to previous 1.44 (unified)
Fix XLOG_BTOLRBB macro, it was missing some parentheses and so always was too large. Also fix a potential bug in the XLOG_GRANT_ADD_SPACE macro.
Revision 1.44 / (download) - annotate - [select for diffs], Tue May 2 00:34:13 1995 UTC (22 years, 6 months ago) by yohn
Branch: MAIN
Changes since 1.43: +2 -2
lines
Diff to previous 1.43 (unified)
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.43 / (download) - annotate - [select for diffs], Sat Apr 1 06:04:31 1995 UTC (22 years, 7 months ago) by yohn
Branch: MAIN
Changes since 1.42: +8 -8
lines
Diff to previous 1.42 (unified)
l_icloglock, l_grant_lock changed to a (spinning) mutex;
Revision 1.42 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:40 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.41: +18 -14
lines
Diff to previous 1.41 (unified)
Use struct xxx * instead of xxx_t * in xfs header files to avoid unnecessary dependencies between header files.
Revision 1.41 / (download) - annotate - [select for diffs], Fri Dec 23 23:42:23 1994 UTC (22 years, 10 months ago) by ajs
Branch: MAIN
Changes since 1.40: +2 -2
lines
Diff to previous 1.40 (unified)
Change the xlog_tid_t to a __uint32_t since it is an on-disk structure and therefore must be of fixed size.
Revision 1.40 / (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.39: +2 -0
lines
Diff to previous 1.39 (unified)
Add flag XLOG_RECOVERY_NEEDED and a prototype for xlog_recover_finish().
Revision 1.39 / (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.38: +5 -1
lines
Diff to previous 1.38 (unified)
Add flags for 2 pass recovery.
Revision 1.38 / (download) - annotate - [select for diffs], Fri Oct 21 01:13:17 1994 UTC (23 years ago) by miken
Branch: MAIN
Changes since 1.37: +4 -3
lines
Diff to previous 1.37 (unified)
1. change buffering scheme of log to use 2 16k buffer for 16MB machines,
2 32k buffers for 32MB+ machines
2. change how the flushsema semaphore works to avoid problems when the
queue gets very long
Revision 1.37 / (download) - annotate - [select for diffs], Fri Oct 7 21:14:42 1994 UTC (23 years ago) by miken
Branch: MAIN
Changes since 1.36: +4 -1
lines
Diff to previous 1.36 (unified)
Implement transaction types
Revision 1.36 / (download) - annotate - [select for diffs], Wed Sep 28 23:04:00 1994 UTC (23 years, 1 month ago) by miken
Branch: MAIN
Changes since 1.35: +11 -8
lines
Diff to previous 1.35 (unified)
Changes to allow for better log performance and expandability.
Revision 1.35 / (download) - annotate - [select for diffs], Sat Aug 27 02:22:28 1994 UTC (23 years, 2 months ago) by miken
Branch: MAIN
Changes since 1.34: +17 -5
lines
Diff to previous 1.34 (unified)
Change protos and add code for end-to-end checksumming
Revision 1.34 / (download) - annotate - [select for diffs], Thu Jul 28 21:54:43 1994 UTC (23 years, 3 months ago) by miken
Branch: MAIN
Changes since 1.33: +9 -8
lines
Diff to previous 1.33 (unified)
Add xlog_assign_tail_lsn() prototype
Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 26 05:10:12 1994 UTC (23 years, 3 months ago) by miken
Branch: MAIN
Changes since 1.32: +6 -11
lines
Diff to previous 1.32 (unified)
1. define some maximum log constants 2. redefine some prototypes
Revision 1.32 / (download) - annotate - [select for diffs], Mon Jun 13 23:28:47 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.31: +5 -2
lines
Diff to previous 1.31 (unified)
Add Q to keep track of log tickets malloc'ed
Revision 1.31 / (download) - annotate - [select for diffs], Mon Jun 13 07:18:37 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.30: +3 -5
lines
Diff to previous 1.30 (unified)
1. Go back to 4k LR size; This causes more splits and uses less memory. 2. Remove extq from log structure.
Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 9 22:24:10 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.29: +63 -6
lines
Diff to previous 1.29 (unified)
Add code macros for Qs and moving grant heads
Revision 1.29 / (download) - annotate - [select for diffs], Thu Jun 9 01:36:56 1994 UTC (23 years, 4 months ago) by miken
Branch: MAIN
Changes since 1.28: +39 -27
lines
Diff to previous 1.28 (unified)
1. Make in-core logs 32k each. 2. Add macros to lock/unlock log structure fields 3. Add code to implement new reservation scheme.
Revision 1.28 / (download) - annotate - [select for diffs], Thu May 12 22:42:46 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.27: +1 -0
lines
Diff to previous 1.27 (unified)
Add code for reservation lsn head of log
Revision 1.27 / (download) - annotate - [select for diffs], Wed May 11 01:01:08 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.26: +10 -3
lines
Diff to previous 1.26 (unified)
Add ktrace field
Revision 1.26 / (download) - annotate - [select for diffs], Mon May 9 04:44:01 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.25: +24 -21
lines
Diff to previous 1.25 (unified)
add extent and iunlink q's to log structure
Revision 1.25 / (download) - annotate - [select for diffs], Thu May 5 22:38:32 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.24: +6 -2
lines
Diff to previous 1.24 (unified)
redo panic calls
Revision 1.24 / (download) - annotate - [select for diffs], Thu May 5 17:39:08 1994 UTC (23 years, 5 months ago) by miken
Branch: MAIN
Changes since 1.23: +9 -32
lines
Diff to previous 1.23 (unified)
Move recovery code to xfs_log_recover.h
Revision 1.23 / (download) - annotate - [select for diffs], Tue May 3 22:18:03 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.22: +32 -1
lines
Diff to previous 1.22 (unified)
Move recover header stuff here.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 30 19:52:59 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.21: +6 -1
lines
Diff to previous 1.21 (unified)
Add unmount transaction and my_tail_lsn
Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 28 06:35:57 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.20: +1 -1
lines
Diff to previous 1.20 (unified)
change protos
Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 28 05:00:51 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.19: +9 -9
lines
Diff to previous 1.19 (unified)
make state flag bits rather than values, so I can test for set easier
Revision 1.19 / (download) - annotate - [select for diffs], Wed Apr 27 05:52:47 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.18: +6 -2
lines
Diff to previous 1.18 (unified)
code to better deal with split regions across LRs
Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 27 00:42:24 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.17: +3 -1
lines
Diff to previous 1.17 (unified)
up iclog count to 8
Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 25 21:12:13 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.16: +19 -4
lines
Diff to previous 1.16 (unified)
1. Add state XLOG_STATE_DONE_SYNC 2. Add structure xlog_in_core_core which is core of xlog_in_core (debugging)
Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 22 20:57:31 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.15: +11 -7
lines
Diff to previous 1.15 (unified)
Add more transaction flags for operation/region headers. change sync lsns to tail lsns ( a more correct description)
Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 11 18:41:52 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.14: +6 -2
lines
Diff to previous 1.14 (unified)
add prototype for xlog_find_oldest
Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 7 00:07:29 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.13: +55 -55
lines
Diff to previous 1.13 (unified)
change log_* to xlog_* and LOG_* to XLOG_*
Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 17 02:18:32 1994 UTC (23 years, 7 months ago) by miken
Branch: MAIN
Changes since 1.12: +1 -0
lines
Diff to previous 1.12 (unified)
Don't reuse ic_refcnt field for 2 purposes. Invent ic_bwritecnt which is a count used so completion routines are only called once even when one iclog write is split into 2 bwrites.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 17 00:47:55 1994 UTC (23 years, 7 months ago) by miken
Branch: MAIN
Changes since 1.11: +2 -4
lines
Diff to previous 1.11 (unified)
change field name to be more descriptive (log structure)
Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 8 02:03:36 1994 UTC (23 years, 7 months ago) by miken
Branch: MAIN
Changes since 1.10: +5 -0
lines
Diff to previous 1.10 (unified)
Make compile in kernel
Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 7 19:48:13 1994 UTC (23 years, 7 months ago) by miken
Branch: MAIN
Changes since 1.9: +3 -1
lines
Diff to previous 1.9 (unified)
Add extra fields to aid in debugging log problems.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 16 02:16:32 1994 UTC (23 years, 8 months ago) by miken
Branch: MAIN
Changes since 1.8: +2 -1
lines
Diff to previous 1.8 (unified)
Add tail pointer to log structure. This way the ticket free list can be used in a circular fashion which makes debugging easier. This will not be used in non-debug mode since caching is affected.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 3 00:48:45 1994 UTC (23 years, 8 months ago) by miken
Branch: MAIN
Changes since 1.7: +9 -7
lines
Diff to previous 1.7 (unified)
1. Add another buffer to log, used for the case where a log record gets split in two when wrapping the physical log. 2. Put iclog into bp->b_fsprivate field. The original hack no longer works when a log record gets split in two. 3. Add lots of ASSERT statements 4. Re-use ic_refcnt field, so split writes will only kick off one iodone() for the pair of writes. 5. Add original reservation length field in ticket for correct accounting of reservations.
Revision 1.7 / (download) - annotate - [select for diffs], Wed Feb 2 03:29:32 1994 UTC (23 years, 8 months ago) by miken
Branch: MAIN
Changes since 1.6: +40 -22
lines
Diff to previous 1.6 (unified)
1. Implement rolling log at end of physical log 2. Fix problem where ticket code was not updating within the context of the state machine lock. 3. Need to zero lsn in header when making ACTIVE.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 24 22:58:17 1994 UTC (23 years, 9 months ago) by miken
Branch: MAIN
Changes since 1.5: +5 -3
lines
Diff to previous 1.5 (unified)
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.5 / (download) - annotate - [select for diffs], Thu Jan 13 23:39:53 1994 UTC (23 years, 9 months ago) by miken
Branch: MAIN
Changes since 1.4: +7 -6
lines
Diff to previous 1.4 (unified)
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.4 / (download) - annotate - [select for diffs], Fri Jan 7 00:03:06 1994 UTC (23 years, 9 months ago) by miken
Branch: MAIN
Changes since 1.3: +26 -39
lines
Diff to previous 1.3 (unified)
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.3 / (download) - annotate - [select for diffs], Thu Dec 30 22:24:19 1993 UTC (23 years, 10 months ago) by miken
Branch: MAIN
Changes since 1.2: +79 -75
lines
Diff to previous 1.2 (unified)
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.2 / (download) - annotate - [select for diffs], Wed Dec 15 02:17:03 1993 UTC (23 years, 10 months ago) by miken
Branch: MAIN
Changes since 1.1: +16 -17
lines
Diff to previous 1.1 (unified)
1. Remove TICKET_INT code. 2. Add a few more data structures for callbacks
Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 11 03:20:00 1993 UTC (23 years, 10 months ago) by miken
Branch: MAIN
Initial revision