Up to [Development] / xfs-cmds / xfsdump / restore
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.11 / (download) - annotate - [select for diffs], Mon May 1 14:51:59 2006 UTC (11 years, 5 months ago) by wkendall
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +0 -2
lines
Diff to previous 1.10 (unified)
Another approach to restoring the immutable flag at the correct time. Also addresses some inefficiencies in restoring metadata on files dumped in multiple extent groups and files with extended attributes. Back out changes that required the dirattr routines to be used for restoring the immutable flag on regular files which had extended attributes.
Revision 1.10 / (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.9: +0 -1
lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Tue Nov 29 21:27:26 2005 UTC (11 years, 10 months ago) by wkendall
Branch: MAIN
Changes since 1.8: +2 -0
lines
Diff to previous 1.8 (unified)
Change xfsrestore to set various inode flags at the appropriate time, as some need to be set before restoring data and others after restoring data and/or extended attributes. To facilitate this, enable partial file restoration checking even when restoring from only one stream, and make use of the dirattr routines for restoring the immutable flag on files that have extended attributes.
Revision 1.8 / (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.7: +0 -2
lines
Diff to previous 1.7 (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.7 / (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.6: +14 -28
lines
Diff to previous 1.6 (unified)
Update copyright annotations and license boilerplates to correspond with SGI Legals preferences. Merge of master-melb:xfs-cmds:24334a by kenmcd.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 9 19:21:00 2005 UTC (12 years, 8 months ago) by wkendall
Branch: MAIN
Changes since 1.5: +4 -2
lines
Diff to previous 1.5 (unified)
Fix a couple of spots in xfsrestore where XFS-specific calls were being made without first checking to see if the filesystem being restored is XFS.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 4 23:07:56 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.4: +1 -1
lines
Diff to previous 1.4 (unified)
Update copyright dates (again)
Revision 1.4 / (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.3: +1 -1
lines
Diff to previous 1.3 (unified)
Undoes mod: xfs-cmds:slinx:120772a Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.
Revision 1.3 / (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.2: +1 -1
lines
Diff to previous 1.2 (unified)
Update copyright dates
Revision 1.2 / (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.1: +4 -3
lines
Diff to previous 1.1 (unified)
- change prototypes which now have return values to return errors - add largewindow param
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
CVS Tags: Release-1_0_0,
Linux-2_4_5-merge
cmd/xfs/dump/restore/tree.h 1.3 Renamed to cmd/xfsdump/restore/tree.h