CVS log for xfs-cmds/xfsdump/common/main.c

[BACK] Up to [Development] / xfs-cmds / xfsdump / common

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33 / (download) - annotate - [select for diffs], Thu Feb 1 19:10:50 2007 UTC (10 years, 8 months ago) by wkendall
Branch: MAIN
CVS Tags: HEAD
Changes since 1.32: +4 -0 lines
Diff to previous 1.32 (unified)

Initialize xfsdump's logging facility earlier during initialization.
Thanks to Kouta Ooizumi.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Feb 1 19:02:45 2007 UTC (10 years, 8 months ago) by wkendall
Branch: MAIN
Changes since 1.31: +7 -7 lines
Diff to previous 1.31 (unified)

xfsdump uses the optopt variable from getopt incorrectly. It assumes
that the value is set to the current option being processed, when
in fact it is only set when getopt encounters an unknown option.

Thanks to Kouta Ooizumi.

Revision 1.31 / (download) - annotate - [select for diffs], Wed May 24 06:08:55 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 (unified)

Update xfsdump build to use xfs.h instead of libxfs.h, fixing a recent namespace collision on list symbols.
Merge of master-melb:xfs-cmds:26007a by kenmcd.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 24 19:42:20 2006 UTC (11 years, 5 months ago) by wkendall
Branch: MAIN
Changes since 1.29: +0 -3 lines
Diff to previous 1.29 (unified)

Change tape strategies to default to using a single media file,
as the disk strategy currently does. Using multiple media files
kills performance on filesystems with large numbers of inodes.
Multiple media files can still be used by specifying the -d option.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 31 15:47:31 2006 UTC (11 years, 8 months ago) by wkendall
Branch: MAIN
Changes since 1.28: +11 -0 lines
Diff to previous 1.28 (unified)

This mod adds a number of optimizations to increase the
performance of xfsdump and xfsrestore, especially on filesystems
with millions of inodes. Many small changes were made to
minimize the number of system calls required per inode.
Significant changes to xfsdump:
- Cache the gen number of each inode during the initial inode
  scan so that a bulkstat single does not need to be done for
  each inode when dumping directories.
- No longer retrieve the DMF attribute when estimating the dump
  size of a file. Use information from the bulkstat instead.
- Retrieve DMF attribute by handle instead of doing
  open/attr_getf/close.
- In determining where to split multi-stream dumps, take into
  consideration the number of files and not just the file size.
  This allows filesystems with large amounts of inodes but
  relatively little data (DMF filesystem) to be split correctly.
Significant changes to xfsrestore:
- Buffer writes to the namreg file to eliminate 2 very small
  write system calls per directory entry.
- Buffer writes to dirattr file to eliminate a small write system
  call per directory.
- Speedup the check to see if a particular window of the tree
  file is mapped. This allows xfsrestore to use more, smaller
  windows which is beneficial if we can't fit them all in memory
  and have to start unmapping them. This also makes the -w
  option obsolete so that option now has no effect.
- Change the hash function to give a better distribution among
  the hash buckets.
- Do not make an unnecessary unlink call if the file being
  restored does not already exist.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Dec 16 18:57:15 2005 UTC (11 years, 9 months ago) by wkendall
Branch: MAIN
Changes since 1.27: +1 -0 lines
Diff to previous 1.27 (unified)

Add option to allow dump time to be overridden.
Useful if doing incremental dumps of snapshots.
Thanks to David Brown.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Nov 10 22:05:47 2005 UTC (11 years, 11 months ago) by wkendall
Branch: MAIN
Changes since 1.26: +0 -8 lines
Diff to previous 1.26 (unified)

Change xfsdump and xfsrestore to unconditionally compile support for
extended attributes and DMAPI event flags.

Noticed some code which would revert to an old media format if the
user requested that extended attributes not be dumped. The intention
being to make the dumps compatible with old xfsrestores (really old
now). But using the old media format means that holes will not be
efficiently encoded in the dump. So I'm removing this code so that
we always dump in the current media format.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 9 05:04:17 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.25: +14 -28 lines
Diff to previous 1.25 (unified)

Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24334a by kenmcd.

Revision 1.25 / (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.24: +2 -2 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Thu Dec 19 22:44:59 2002 UTC (14 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.23: +206 -200 lines
Diff to previous 1.23 (unified)

I18N support for xfsdump package.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 29 04:09:08 2002 UTC (15 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.22: +6 -3 lines
Diff to previous 1.22 (unified)

Merge of irix6.5m:eoe:123563a - test if a child exited with error and if a child did, set the exit_code to EXIT_ERROR.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jun 14 16:29:09 2002 UTC (15 years, 4 months ago) by mkulima
Branch: MAIN
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (unified)

- Fixed the code to print out both the xfsrestore/xfsdump version and dump format version numbers

Revision 1.21 / (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.20: +1 -1 lines
Diff to previous 1.20 (unified)

Update copyright dates (again)

Revision 1.20 / (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.19: +1 -1 lines
Diff to previous 1.19 (unified)

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

Revision 1.19 / (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.18: +1 -1 lines
Diff to previous 1.18 (unified)

Update copyright dates

Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 5 04:19:14 2002 UTC (15 years, 8 months ago) by ivanr
Branch: MAIN
Changes since 1.17: +2 -0 lines
Diff to previous 1.17 (unified)

document -q QIC tape option

Revision 1.17 / (download) - annotate - [select for diffs], Fri Dec 14 01:47:07 2001 UTC (15 years, 10 months ago) by ivanr
Branch: MAIN
Changes since 1.16: +1 -0 lines
Diff to previous 1.16 (unified)

add xfsrestore -B option

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 13 09:23:07 2001 UTC (15 years, 10 months ago) by tes
Branch: MAIN
Changes since 1.15: +1 -0 lines
Diff to previous 1.15 (unified)

Add usage info for -w option.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 14 07:26:20 2001 UTC (15 years, 11 months ago) by ivanr
Branch: MAIN
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (unified)

add ability to exclude files based on an extended attribute

Revision 1.14 / (download) - annotate - [select for diffs], Mon Oct 8 06:55:49 2001 UTC (16 years ago) by ajag
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (unified)

wrap calls to exit() for miniroot/linux

Revision 1.13 / (download) - annotate - [select for diffs], Wed Oct 3 05:22:21 2001 UTC (16 years ago) by nathans
Branch: MAIN
Changes since 1.12: +9 -0 lines
Diff to previous 1.12 (unified)

First step toward making the xfsdump inventory not break the FHS spec.
Previously, xfsdump wrote to /var/xfsdump for all its inventory data 
needs.  This is now a runtime decision - for existing installations we
continue doing just that, for new installations we use the compliant-
with-FHS directory /var/lib/xfsdump.  Note: cannot just mv one to the
other as xfsdump is "clever" enough to store full pathnames in all its
inventory file - this issue will be resolved by Ivan in an upcoming
xfsinvutil checkin.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Oct 1 07:31:33 2001 UTC (16 years ago) by fsgqa
Branch: MAIN
Changes since 1.11: +0 -27 lines
Diff to previous 1.11 (unified)

get rid of useless stkchk related calls and code

Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 28 09:49:27 2001 UTC (16 years ago) by fsgqa
Branch: MAIN
Changes since 1.10: +11 -11 lines
Diff to previous 1.10 (unified)

time32_t changes

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 4 00:21:28 2001 UTC (16 years, 1 month ago) by ajag
Branch: MAIN
Changes since 1.9: +1 -0 lines
Diff to previous 1.9 (unified)

Remove warnings

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 3 23:53:47 2001 UTC (16 years, 1 month ago) by ajag
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (unified)

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

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 31 15:10:44 2001 UTC (16 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (unified)

Fix build : s/STREAM_SIMMAX/STREAM_MAX/

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 31 01:39:05 2001 UTC (16 years, 1 month ago) by ajag
Branch: MAIN
Changes since 1.6: +58 -37 lines
Diff to previous 1.6 (unified)

merge of irix6.5f-melb:eoe:06291a, irix6.5f-melb:eoe:06307a,
and irix6.5f-melb:eoe:06315a, see PV #784355
        - Wrap all return values with a call to mlog_exit() which records the exit code
          and return value. Group calls to lock initialisation functions. Add mlog_exit() 
          call to usage() as we know that any call to usage precedes an exit.
        - Add RV_INCOMPLETE exit hint for incomplete dumps, unless some other
          hint has already been given.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 24 06:55:40 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.5: +2 -0 lines
Diff to previous 1.5 (unified)

merge in several missing fixes from IRIX.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 19 19:26:28 2001 UTC (16 years, 2 months ago) by roehrich
Branch: MAIN
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (unified)

correct the DMAPI/DMF-related help for xfsdump/xfsrestore

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 5 08:42:14 2001 UTC (16 years, 3 months ago) by tes
Branch: MAIN
Changes since 1.3: +3 -0 lines
Diff to previous 1.3 (unified)

Turn on librmt warning messages.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 9 06:32:28 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (unified)

fix compiler warnings for fprintf size directive (must be int).

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 9 07:45:14 2001 UTC (16 years, 8 months ago) by ajag
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (unified)

No Message Supplied

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

cmd/xfs/dump/common/main.c 1.19 Renamed to cmd/xfsdump/common/main.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>