CVS log for xfs-cmds/xfsdump/dump/Attic/hsmapi.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 20 15:38:26 2006 UTC (11 years, 6 months ago) by wkendall
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +0 -713 lines
Diff to previous 1.13 (unified)

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

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 7 16:00:26 2006 UTC (11 years, 8 months ago) by wkendall
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (unified)

Merge in some changes from the IRIX tree. A few minor bug
fixes, but mainly whitespace changes and code reorganization
to line up with IRIX.

Revision 1.12 / (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.11: +29 -36 lines
Diff to previous 1.11 (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.11 / (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.10: +16 -32 lines
Diff to previous 1.10 (unified)

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

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 11 20:23:36 2004 UTC (13 years ago) by wkendall
Branch: MAIN
Changes since 1.9: +1 -0 lines
Diff to previous 1.9 (unified)

xfsdump needs help handling offline dmapi files
Merge of xfs-cmds-lbs:slinx:180278a by roehrich.

  xfsdump uses bulkstats to retrieve inodes, which avoid the reading
  from the cache and always gets inodes from disk. If files are
  actively moving from dual-state to offline while a dump is in
  progress, it is possible that xfsdump will read an inode that has a
  dual-state event mask and then read a DMF attribute that says the
  file is offline. When the file is later restored the event mask and
  the attribute will not match the file will me marked as invalid.
  This mod changes xfsdump to explicitly set the event mask to match
  an offline file, just as if it were dumping a dual-state file as an
  offline file.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 20 14:18:02 2004 UTC (13 years, 3 months ago) by wkendall
Branch: MAIN
Changes since 1.8: +170 -50 lines
Diff to previous 1.8 (unified)

The next release of DMF (3.1) will introduce a new attribute
format. This mod makes xfsdump handle the new and old formats.
It also fixes a bug where the DMF code in xfsdump would create
an attribute in the root and secure namespaces, rather than
just in the root namespace.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 13 19:12:27 2004 UTC (13 years, 8 months ago) by alkirkco
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (unified)

Some of the libhandle routines were not clear whether they were working
on fshandles or file handles.  This mod renames open_by_handle() to
open_by_fshandle() and updates any calling applications to now call
open_by_fshandle() instead.  A new open_by_handle() has been created.

path_to_fshandle() was trying to maintain a hash of fshandles but the
hash was only storing a max of 2 fshandles at a time.  This has been
fixed so the hash can hold multiple fs handles.
call open_by_fshandle() rather than open_by_handle()

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 29 01:52:34 2003 UTC (14 years, 6 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Thu Apr 17 13:42:53 2003 UTC (14 years, 6 months ago) by alkirkco
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (unified)

Fix for DMF dualstate file dump.
Initialize all hlen variables to zero.

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
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 Jul 19 01:00:14 2001 UTC (16 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.1: +3 -10 lines
Diff to previous 1.1 (unified)

fix up headers for Linux, remove use of HIDDEN.

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/dump/hsmapi.c 1.4 Renamed to cmd/xfsdump/dump/hsmapi.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>