CVS log for xfs-cmds/xfsdump/common/hsmapi.h

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

Request diff between arbitrary revisions


Default branch: MAIN


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

When using -z, check a file's size against the max dump file size
just before dumping the file, rather than only during the initial scan.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 4 15:37:52 2006 UTC (11 years ago) by wkendall
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (unified)

The DMF-specific code in xfsdump was taking a shortcut in
estimating the dump size of a file in order to avoid the
cost of reading the DMF extended attribute. This caused
migrating (MIG) files to be identified as dual-state (DUL)
files, which lead to an estimated size of 0 for MIG files
rather than their true size.

In general it's okay for the estimate to be wrong, but there
are a couple of cases where the estimate needs to be as
accurate as possible, even if it means slowing down the
initial inode scan. These cases are 1) multiple dump streams,
since the estmated size is used to determine where to split
the dump, and 2) when excluding files over a certain size
from the dump. Only the second case applies on Linux, since
multiple dump streams are not currently supported.

This mod changes the DMF-specific code to get an accurate
dump size estimate when either of the above cases are in
effect.

Revision 1.3 / (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.2: +1 -1 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Thu May 4 17:38:07 2006 UTC (11 years, 5 months ago) by wkendall
Branch: MAIN
Changes since 1.1: +83 -0 lines
Diff to previous 1.1 (unified)

Change xfsrestore to use the DMF NOMIGR (no-migrate) attribute when
restoring DMF files. This will prevent DMF from touching the file
while it is being restored, and will also prevent DMF from viewing
the file as invalid which could cause false errors to be reported
by DMF during a restore. These changes are being placed in the
hsmapi.c file to isolate the DMF-specific code from the rest of
xfsdump.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 20 15:38:26 2006 UTC (11 years, 5 months ago) by wkendall
Branch: MAIN

Move hsmapi.[hc] to the common directory so that xfsrestore can
make use of some of the HSM-specific (DMF) code.

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>