CVS log for xfs-linux/xfs_error.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.53 / (download) - annotate - [select for diffs], Fri Jul 25 06:11:24 2008 UTC (9 years, 3 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.52: +2 -10 lines
Diff to previous 1.52 (colored)

kill INDUCE_IO_ERROR

All the error injection is already enabled through ifdef DEBUG, so kill
the never set second cpp symbol to activate it without the rest of the
debugging infrastructure.


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

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jun 25 04:16:47 2008 UTC (9 years, 4 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.51: +0 -1 lines
Diff to previous 1.51 (colored)

streamline init/exit path

Currently the xfs module init/exit code is a mess.  It's farmed out
over a lot of function with very little error checking.  This patch
makes sure we propagate all initialization failures properly and clean
up after them.  Various runtime initializations are replaced with
compile-time initializations where possible to make this easier.  The
exit path is similarly consolidated.

There's now split out function to create/destroy the kmem zones and
alloc/free the trace buffers.  I've also changed the ktrace
allocations to KM_MAYFAIL and handled errors resulting from that.

And yes, we really should replace the XFS_*_TRACE ifdefs with a single
XFS_TRACE..

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31354a by kenmcd.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jun 25 04:15:46 2008 UTC (9 years, 4 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.50: +1 -0 lines
Diff to previous 1.50 (colored)

Undoes mod:     xfs-linux-melb:xfs-kern:31210a
streamline init/exit path

Currently the xfs module init/exit code is a mess.  It's farmed out
over a lot of function with very little error checking.  This patch
makes sure we propagate all initialization failures properly and clean
up after them.  Various runtime initializations are replaced with
compile-time initializations where possible to make this easier.  The
exit path is similarly consolidated.

There's now split out function to create/destroy the kmem zones and
alloc/free the trace buffers.  I've also changed the ktrace
allocations to KM_MAYFAIL and handled errors resulting from that.

And yes, we really should replace the XFS_*_TRACE ifdefs with a single
XFS_TRACE..

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Merge of xfs-linux-melb:xfs-kern:31353a by kenmcd.

Revision 1.50 / (download) - annotate - [select for diffs], Mon May 26 03:28:21 2008 UTC (9 years, 5 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.49: +0 -1 lines
Diff to previous 1.49 (colored)

xiaki pmod2git xfs-linux-melb:xfs-kern:31210a
Merge of xfs-linux-melb:xfs-kern:31210a by kenmcd.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Oct 8 15:44:01 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.48: +2 -0 lines
Diff to previous 1.48 (colored)

lose xfs_hex_dump in favor of print_hex_dump

No need for xfs to have its own hex dumping routine now that the
kernel has one.

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

  lose xfs_hex_dump in favor of print_hex_dump

Revision 1.48 / (download) - annotate - [select for diffs], Fri Aug 24 16:15:28 2007 UTC (10 years, 2 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.47: +2 -3 lines
Diff to previous 1.47 (colored)

kill the vfs_fsid and vfs_altfsid members in struct bhv_vfs

vfs_altfsid was just a pointer to mp->m_fixedfsid so we can trivially
replace it with the latter.  vfs_fsid also was identicaly to m_fixedfsid
through rather obsfucated ways so we can kill it aswell and simply it's
only user.


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

  remove vfs_fsid and vfs_altfsid.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Feb 7 02:51:56 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.46: +0 -1 lines
Diff to previous 1.46 (colored)

Remove a bunch of unused functions from XFS.

Patch provided by Eric Sandeen (sandeen@sandeen.net).
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:28038a by kenmcd.

  Remove unused functions.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.46 / (download) - annotate - [select for diffs], Wed Nov 22 14:43:43 2006 UTC (10 years, 11 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45 (colored)

Make quiet mounts quiet

The XFS quiet mount logic was inverted making quiet
mounts noisy and vice versa. Fix it.
Merge of xfs-linux-melb:xfs-kern:27520a by kenmcd.

  Fix xfs_fs_mount_cmn_err() quiet flag logic inversion.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Aug 18 04:02:25 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.44: +1 -0 lines
Diff to previous 1.44 (colored)

Improve error handling for the zero-fsblock extent detection code.
Merge of xfs-linux-melb:xfs-kern:26802a by kenmcd.

Revision 1.44 / (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.43: +0 -8 lines
Diff to previous 1.43 (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.43 / (download) - annotate - [select for diffs], Fri Mar 31 03:49:51 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.42: +3 -0 lines
Diff to previous 1.42 (colored)

Implement the silent parameter to fill_super, previously ignored.
Merge of xfs-linux-melb:xfs-kern:25632a by kenmcd.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jan 12 02:43:50 2006 UTC (11 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

Merge in trivial changes, sync up headers with userspace equivalents.
Merge of xfs-linux-melb:xfs-kern:24961a by kenmcd.

Revision 1.41 / (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.40: +13 -27 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (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.39: +38 -28 lines
Diff to previous 1.39 (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.39 / (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.38: +0 -3 lines
Diff to previous 1.38 (colored)

mark various symbols static

Patch from Adrian Bunk

Revision 1.38 / (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.37: +2 -2 lines
Diff to previous 1.37 (colored)

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

Revision 1.37 / (download) - annotate - [select for diffs], Sat Nov 22 22:07:18 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.36: +0 -16 lines
Diff to previous 1.36 (colored)

Move the stack trace wrapper into a kernel-version-specific location.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Sep 19 18:12:29 2003 UTC (14 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.35: +9 -9 lines
Diff to previous 1.35 (colored)

Update sysctls - use ints, not ulongs, and show pagebuf
values in jiffies like everybody else

Revision 1.35 / (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.34: +212 -0 lines
Diff to previous 1.34 (colored)

The Big Move
linux/fs/xfs/xfs_error.h 1.33 Renamed to xfs_error.h

Revision 1.34 / (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.33: +0 -212 lines
Diff to previous 1.33 (colored)

Nuke

Revision 1.33 / (download) - annotate - [select for diffs], Fri Apr 18 22:23:27 2003 UTC (14 years, 6 months ago) by sandeen
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.32: +16 -0 lines
Diff to previous 1.32 (colored)

Change xfs_stack_trace to compile with kernels < 2.4.20
Merge of 2.4.x-xfs-kern:slinx:146328a by sandeen.

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

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

Revision 1.31 / (download) - annotate - [select for diffs], Wed Mar 5 18:23:21 2003 UTC (14 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.30: +2 -0 lines
Diff to previous 1.30 (colored)

Add stack trace print to xfs_error_report, warning cleanup
Merge of irix6.5f:irix:136543a by sandeen.

  Merge of grove2-6520stage:irix:136543a by roehrich.
  Merge of grove2:irix:136543a by roehrich.
  add xfs_stack_trace to print stack traces for xfs_error_report.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 4 20:15:43 2003 UTC (14 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.29: +35 -2 lines
Diff to previous 1.29 (colored)

Add error reporting calls in error paths that return EFSCORRUPTED
Merge of irix6.5f:irix:136445a by sandeen.

  Merge of grove2-6520stage:irix:136445a by roehrich.
  Merge of grove2:irix:136445a by roehrich.
  add prototypes for xfs_error_report and xfs_corruption error and
  macros to call them.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Feb 11 15:15:30 2003 UTC (14 years, 8 months ago) by kaos
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28 (colored)

XFS patches from 2.5.60-mm1
Merge of 2.5.x-xfs:slinx:139330a by hch.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Oct 24 20:18:15 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.27: +7 -2 lines
Diff to previous 1.27 (colored)

Implement xfs_panic_mask
define more panic tags for force shutdown

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

remove kdev_t abuse from XFS

Revision 1.26 / (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.25: +56 -56 lines
Diff to previous 1.25 (colored)

whitespace cleanup

Revision 1.25 / (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.24: +1 -1 lines
Diff to previous 1.24 (colored)

Update copyright dates

Revision 1.24 / (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.23: +1 -1 lines
Diff to previous 1.23 (colored)

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

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 14 07:09:57 2001 UTC (16 years ago) by nathans
Branch: MAIN
Changes since 1.22: +2 -0 lines
Diff to previous 1.22 (colored)

add macros for xfs_errortag_add/xfs_errortag_clearall for if we are
not enabling error injection (gives ENOSYS)... results in cleaner
ioctl interface and exported headers.

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

Merge of irix6.5f:irix:99901a
Add new error tags for injecting I/O errors

Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 12 19:36:49 2001 UTC (16 years, 7 months ago) by sandeen
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10, Linux-2_4_5-merge
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

Restructure xlog_state_do_callbacks to not use GOTOs to create a loop.
   When scanning the iclogs, always start over at log->l_iclog every time
   the log lock is released.  It now continues processing iclogs until
   all iclogs in DONE_SYNC or DO_CALLBACK state have been processed; this
   is a potential endless loop so print a console message if it seems to
   be caught in a loop.  However, if there is an I/O error on any iclog,
   only go through the iclogs exactly once.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Feb 21 00:50:22 2001 UTC (16 years, 8 months ago) by mann
Branch: MAIN
Changes since 1.19: +1 -0 lines
Diff to previous 1.19 (colored)

error test init. prototype

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jan 4 00:23:09 2001 UTC (16 years, 9 months ago) by mann
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Moved error injection from SYSSGI to an ioctl().

Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 10 20:42:03 2000 UTC (16 years, 11 months ago) by nn10004
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fix conflicting data types.  Alpha compiles without barfing now.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Nov 10 13:42:26 2000 UTC (16 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.16: +0 -1 lines
Diff to previous 1.16 (colored)

remove extern of xfs_panic_mask so there is only one.

Revision 1.16 / (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.15: +6 -10 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (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.14: +5 -0 lines
Diff to previous 1.14 (colored)

move prdev in

Revision 1.14 / (download) - annotate - [select for diffs], Tue Aug 1 04:51:58 2000 UTC (17 years, 2 months ago) by dxm
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

use __ types

Revision 1.13 / (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.12: +26 -13 lines
Diff to previous 1.12 (colored)

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

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 30 09:59:06 2000 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
CVS Tags: DELETE
Changes since 1.11: +12 -17 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Mon Jan 24 21:38:02 2000 UTC (17 years, 9 months ago) by lord
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

Merge from irix/irix6.5f to pingu/slinx-xfs
Merge of irix6.5f:irix:34629a created by overby on 12/02/99
  add tags for an injected error in xfs_bulkstat.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 18 22:46:59 2000 UTC (17 years, 9 months ago) by kenmcd
Branch: MAIN
Changes since 1.9: +24 -1 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 29 17:22:08 1999 UTC (18 years, 4 months ago) by overby
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

add error panic tag XFS_PTAG_AILDELETE definition

Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 20 00:57:35 1997 UTC (19 years, 10 months ago) by doucette
Branch: MAIN
Changes since 1.7: +39 -8 lines
Diff to previous 1.7 (colored)

Add more error injection tags, and error injection random factors.
pv: 556405
rv: rcc@engr

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 18 16:16:47 1997 UTC (19 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.6: +8 -2 lines
Diff to previous 1.6 (colored)

pv: 515588,276922 rv: rcc@engr
Change prototypes for error reporting functions, add new systune
panic type for xfs.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 26 08:22:49 1997 UTC (20 years ago) by rcc
Branch: MAIN
Changes since 1.5: +52 -1 lines
Diff to previous 1.5 (colored)

515588 - add support for per-filesystem error injection and the ability
to change incore memory corruption-related forced unmounts into panics
to get dumps.  pv: 515588, rv: lord@cray

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 11 01:23:08 1995 UTC (22 years, 5 months ago) by ajs
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

272139 - Change xFS to XFS

Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 31 20:05:24 1995 UTC (22 years, 7 months ago) by doucette
Branch: MAIN
Changes since 1.3: +2 -0 lines
Diff to previous 1.3 (colored)

Add an #ident line.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 26 03:56:04 1994 UTC (23 years, 6 months ago) by miken
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

Add an error used if name passed to syssgi(XFS_LOG_STAT) is not on an
xFS filesystem.

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

Add lines from xfs_log.h, consolidating error codes here.
Add XFS_ERROR macro and its supporting stuff.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 15 01:12:20 1993 UTC (23 years, 10 months ago) by doucette
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>