CVS log for xfs-cmds/xfsprogs/db/check.c

[BACK] Up to [Development] / xfs-cmds / xfsprogs / db

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.38 / (download) - annotate - [select for diffs], Fri Oct 3 04:35:04 2008 UTC (9 years ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.37: +6 -0 lines
Diff to previous 1.37 (unified)

Consolidate btree block handling for xfs_db

Currently xfs_db has five different implementations for poking at btree
blocks, even duplicating code for btree blocks with entirely identical
layout (bmapbta vs bmapbtd and bno vs cnt).  Merge all these into
a single implementation that uses a table of btree characteristics keyed
of their magic number.

There's probably a way to further consolidate the magic arrays for the
different types, but I don't quite understand xfs_db's table driven
command parser for that.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:32248a by kenmcd.

  Consolidate btree block handling for xfs_db

Revision 1.37 / (download) - annotate - [select for diffs], Mon Sep 8 06:18:43 2008 UTC (9 years, 1 month ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.36: +407 -412 lines
Diff to previous 1.36 (unified)

Update xfsprogs to latest kernel headers and functions
Merge of master-melb:xfs-cmds:32070a by kenmcd.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Aug 27 04:11:21 2008 UTC (9 years, 1 month ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.35: +23 -22 lines
Diff to previous 1.35 (unified)

Make sure to pop buffers for a failed read in xfs_check and xfs_metadump (both in xfs_db)
Merge of master-melb:xfs-cmds:31976a by kenmcd.

  Pop buffers for failed reads

Revision 1.35 / (download) - annotate - [select for diffs], Mon May 26 04:03:56 2008 UTC (9 years, 4 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (unified)

ASCII case-insensitive support for xfsprogs
Merge of master-melb:xfs-cmds:31229a by kenmcd.

  ASCII case-insensitive support for xfsprogs

Revision 1.34 / (download) - annotate - [select for diffs], Mon Apr 14 04:11:32 2008 UTC (9 years, 6 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.33: +9 -0 lines
Diff to previous 1.33 (unified)

Duplicate sb_features2 into following 4 bytes in superblock due to bug
Merge of master-melb:xfs-cmds:30855a by kenmcd.

  Detect features2 in wrong location in superblock

Revision 1.33 / (download) - annotate - [select for diffs], Tue May 22 15:59:41 2007 UTC (10 years, 4 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.32: +25 -0 lines
Diff to previous 1.32 (unified)

Userspace support for lazy superblock counters

libxfs changes to match kernel support
repair, db, growfs and mkfs changes needed to support this feature.
Merge of master-melb:xfs-cmds:28654a by kenmcd.

  Userspace support for lazy superblock counters

Revision 1.32 / (download) - annotate - [select for diffs], Fri Dec 8 14:49:20 2006 UTC (10 years, 10 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31 (unified)

Fix "pointer targets in assignment differ in signedness" warnings
Merge of master-melb:xfs-cmds:27667a by kenmcd.

  Fix "pointer targets in assignment differ in signedness" warnings

Revision 1.31 / (download) - annotate - [select for diffs], Thu Dec 15 19:13:54 2005 UTC (11 years, 10 months ago) by overby
Branch: MAIN
Changes since 1.30: +23 -0 lines
Diff to previous 1.30 (unified)

xfs_check does not look at the contents of the AGF BNO and CNT btrees.  It
only looks at the headers of the btree blocks.  All entries in those blocks
should be in sorted order, so there is no reason that xfs_check can't look at
the contents of the AGF BNO and CNT btrees to verify that all (valid) records
are in sorted order.
check the contents of the BNO and CNT btrees to check that all entries
are in sorted order.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 11 14:27:22 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.29: +12 -26 lines
Diff to previous 1.29 (unified)

Update copyright/license notices to match SGI legal prefered boilerplate.
Merge of master-melb:xfs-cmds:24374a by kenmcd.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 16 15:21:23 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.28: +29 -26 lines
Diff to previous 1.28 (unified)

Resolve quota-related uid/gid signedness issues in userspace tools.
Merge of master-melb:xfs-cmds:23841a by kenmcd.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jun 20 03:48:08 2005 UTC (12 years, 3 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.27: +2 -9 lines
Diff to previous 1.27 (unified)

Make blocktrash an expert-mode-only xfs_db command since its dangerous.
Merge of master-melb:xfs-cmds:22903a by kenmcd.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 7 14:56:07 2005 UTC (12 years, 4 months ago) by hch
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26 (unified)

resync endianess handling in xfsprogs with the kernel

Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 19 03:57:24 2005 UTC (12 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.25: +36 -37 lines
Diff to previous 1.25 (unified)

Merge back kernel changes into libxfs, mainly endian stuff.
Merge of master-melb:xfs-cmds:22256a by kenmcd.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 8 15:02:15 2005 UTC (12 years, 6 months ago) by hankins
Branch: MAIN
Changes since 1.24: +38 -7 lines
Diff to previous 1.24 (unified)

Instead of printing individual blocks when there is a range of bad
blocks within an AG, just print the range.  This should greatly reduce
the output from xfs_check in some cases.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 1 03:55:14 2005 UTC (12 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (unified)

Fix gcc warnings resulting from merging Dans directory quota code.
Merge of master-melb:xfs-cmds:22031a by kenmcd.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 31 14:59:00 2005 UTC (12 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (unified)

Yet more fixes to get xfs_db to compile with gcc4.
Merge of master-melb:xfs-cmds:22023a by kenmcd.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 30 03:45:42 2005 UTC (12 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.21: +53 -13 lines
Diff to previous 1.21 (unified)

Marge Dans project/group quota coexistence code changes so db/repair can also support project quota.
Merge of master-melb:xfs-cmds:21991a by kenmcd.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jun 23 05:10:16 2004 UTC (13 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20 (unified)

Fix check & repair of filesystems w/ realtime vols
use of isset macro was incorrectly checking rt bitmap
use our xfs_isset macro not system's isset,
which assumes a byte-sized bitfield

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 9 11:38:17 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.19: +3 -0 lines
Diff to previous 1.19 (unified)

xfs_check now looks to see if the log is dirty before running.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Oct 7 21:21:25 2003 UTC (14 years ago) by lord
Branch: MAIN
Changes since 1.18: +8 -8 lines
Diff to previous 1.18 (unified)

switch xfs to use linux imode flags internally

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 19 05:37:49 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
CVS Tags: DELETE-570
Changes since 1.17: +7 -3 lines
Diff to previous 1.17 (unified)

xfsprogs update - fix db to display new inode flags, sync user/kernel code.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Aug 29 05:50:07 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.16: +18 -12 lines
Diff to previous 1.16 (unified)

Minor xfsprogs update.
Add a "test" option for large filesystem testing.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 29 01:52:34 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (unified)

Fix includes to not be relative to paths provided by -I directives, for
the xfsprogs and xfsdump builds.  At this stage still provide these gcc
options in the build but later that can be removed too now that headers
are clean.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 16 18:29:10 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.14: +33 -33 lines
Diff to previous 1.14 (unified)

Merge whitespace changes over

Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 31 02:57:10 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (unified)

Bunch of portability related changes to xfsprogs.  Includes some code to
allow db/mkfs/repair to be used on Mac's (maybe useful for dual boot), &
some code to build on IRIX too (useful for purify-ing xfs_repair only).
Fix compiler warning on newer versions of gcc.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 6 07:09:31 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.12: +0 -1 lines
Diff to previous 1.12 (unified)

Remove references to data.h, don't need it anymore.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 6 06:59:34 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (unified)

New xfsprogs version - enabled unwritten extents by default, new commands
in xfs_db and xfs_admin to manipulate the version extflg bit on unmounted
filesystems, make xfs_db check for a dirty log before zeroing it in the
uuid command, man page updates, sync'd up user/kernel code and headers.
Add stripe information into xfs_bmap output.
Rationalise headers in xfs_db, fix up early initialisation so we can use
libxlog to check for a dirty log, add version command.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 19 00:38:27 2002 UTC (14 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.10: +12 -8 lines
Diff to previous 1.10 (unified)

Flush out my xfsprogs backlog - bunch of I18N and sector size related
changes mainly, also some build minor build cleanups here and there.
Changes to support sector sizes large than 512 bytes.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 12 04:01:08 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.9: +0 -1 lines
Diff to previous 1.9 (unified)

Update some documentation, rationalise some headers, tidy some dead
mkfs code, leftover from IRIX libdisk.
rationalise headers - we'd already included this header.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 31 11:24:20 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (unified)

xfsprogs updates - initial sync up with recent kernel changes (not quite
complete yet); bump version; move some common headers to a common place;
fix several compiler warnings with recent gcc versions (3.2+).
Keep commonly repeated headers along with all the other common headers.
Fix minor warnings with more recent versions of gcc.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 4 23:07:56 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (unified)

Update copyright dates (again)

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 4 22:53:09 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (unified)

Undoes mod:     xfs-cmds:slinx:120772a
Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 4 17:58:21 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (unified)

Update copyright dates

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 11 04:01:45 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (unified)

use snprintf instead of sprintf, to be sure, to be sure.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 12 23:49:04 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.3: +10 -10 lines
Diff to previous 1.3 (unified)

fixup warnings with -Wno-parentheses removed.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 4 05:48:47 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (unified)

fix [xfs_]check in conjunction with group quota - a reference to projid
was still hidden away in there.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 3 02:52:38 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.1: +36 -26 lines
Diff to previous 1.1 (unified)

support group quotas in Linux/XFS.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 15 05:36:03 2001 UTC (16 years, 9 months ago) by nathans
Branch: MAIN

cmd/xfs/db/check.c 1.59 Renamed to cmd/xfsprogs/db/check.c

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>