OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-12-g4e3d3d5
Gerrit Code Review
gerrit@openafs.org
Mon, 5 Oct 2009 02:14:55 -0700 (PDT)
The following commit has been merged in the master branch:
commit 4e3d3d50496cc96799a84cf98873d6f68e9a8ca7
Author: Hartmut Reuter <reuter@rzg.mpg.de>
Date: Wed Sep 30 10:06:14 2009 +0200
afsio is a command to pipe data into or out of afs files
afsio bypasses the cache manager to achieve higher throughput.
However, it uses the cache manager to stat or create files over the
AFS path.
Besides 'apropos' and 'help' there are 3 subcommands:
'write' pipes data into a new or empty AFS file
'append' pipes data at the end of an existing AFS file
'read' pipes data out of an AFS file
for 'write' there is an option '-md5' which calculates on the fly
the md5 chscksum and prints it to stdout. (Useful when you create
long time archives to keep it separately for later ...)
for 'write' there is also an option '-synthesize <size>' to do just
performance tests. It creates a file which contains at the
begin of each 4 KB block the offset printed in ascii.
for all subcommands exists a '-verbose' option which writes to
stderr data rate and timing information.
All three subcommands may also be used prefixed with 'fid' accepting
then a Fid instead of an AFS path. With the 'fid' prefix also a '-cell'
option is allowed.
Reviewed-on: http://gerrit.openafs.org/555
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/config/stds.h | 2 +
src/util/afsutil_prototypes.h | 2 +
src/util/volparse.c | 89 +++
src/venus/Makefile.in | 5 +
src/venus/afsio.c | 1509 +++++++++++++++++++++++++++++++++++++++++
5 files changed, 1607 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository