Commit Graph

182 Commits

Author SHA1 Message Date
Rainer Toebbicke
14e71a12b6 volser-return-extended-stats-to-callers-20071015
FIXES 74398

make sure when we roll over stats we return the new values
2007-10-15 15:13:42 +00:00
Dan Hyde
aecaddba37 vollistpart-init-error-20070927
FIXES 72144

correct an initialization failure in VolListPartitions
2007-09-28 00:15:30 +00:00
Derrick Brashear
16b32c1345 volser-directoryless-incremental-dumps-20070719
add an rpc, give vos a switch, allow incrementals which do not include directory objects
2007-07-19 19:51:55 +00:00
Derrick Brashear
c010052699 kill-more-ubikcall-20070719
tested more ubik call death, so, byebye
2007-07-19 16:00:20 +00:00
Derrick Brashear
982f455deb vos-validate-dumpfile-20070719
based on code from jon nials
validate a dumpfile as being complete (look for end of dump signature)
2007-07-19 15:55:39 +00:00
Dan Hyde
a41d0af021 volser-delete-clone-not-source-20070702
FIXES 64268

fixes a bug in the UV_CopyVolume2 cleanup code. Without
this patch, the cleanup code will delete the source volume.
2007-07-02 18:05:04 +00:00
Derrick Brashear
f7c4a7e538 volser-earlier-logging-20070627
deal with the changes to deal with reconnecting in the unix domain fsync socket
2007-06-28 03:11:01 +00:00
Derrick Brashear
fcfdcc3cc1 vsprocs-avoid-bogus-error-20070606
don't EPRINT if it's not an error
2007-06-06 18:55:04 +00:00
Derrick Brashear
f2761c4163 vos-namelen-for-dump-restore-is-stupid-20070509
fixes bug reported by stephen joyce which i am too lazy to go get the RT number of
2007-05-10 01:15:57 +00:00
Derrick Brashear
e0fa8ff72f comerr-rename-20070410
nag nag nag
2007-04-10 19:58:13 +00:00
Derrick Brashear
1c9ede0bcf tvolser-locking-updates-20070322
rework locking in tvolser slightly to avoid potential transaction leak
2007-03-22 15:58:45 +00:00
Marcus Watts
9dd8d7f817 auth-cleanup-20070208
FIXES 53208

remove unneeded includes of auth.h
2007-02-09 00:57:39 +00:00
Derrick Brashear
ba017be750 unroll-namei-delay-fsync-20070104
has been shown to cause problems with releases per haba@pdc.kth.se testing, unroll until we figure out why
2007-01-05 03:39:16 +00:00
Hartmut Reuter
7a2d34be17 volser-dumpstuff-20061218
FIXES 46937

"vos release" per default does an incremental dump.
volser-dump-validate-input-20060417 ends up with keeping dead vnodes and
data in the remote RO-volume.  This patch corrects the behavior for
RO-volumes.

See ticket for extensive discussion.
2006-12-19 04:50:16 +00:00
Jeffrey Altman
13cc6c5c37 volser-undo-cleanup-20061218
uncommit an inappropriate commit

  DELTA volser-cleanup-xx-20061128
2006-12-19 03:37:34 +00:00
Jeffrey Altman
1c661a198e volser-cleanup-xx-20061128
cleanup the return code handling from

  DELTA volser-dump-validate-input-20060417
2006-11-28 09:30:58 +00:00
Tom Keiser
453abf6aa1 aix-cleanup-20061013
fixes for aix pre 5.2 (statfs64), remove a c++ style comment (makes xlc sad) and
 make clean target clean
2006-10-13 14:06:38 +00:00
Chaskiel M Grundman
96c22fdc0d salvage-zlc-20060903
make salvager deal with zero link count files
2006-09-03 06:50:12 +00:00
Jeffrey Hutzelman
bfdf13de06 vol-init-locallock-20060824
we never init this. oops.
2006-08-24 21:18:56 +00:00
Russ Allbery
3a34d8cb4f autoconf-likes-relative-paths-20060802
When using the install-sh that ships with the source tree, Autoconf
substitutes in a relative path just to be annoying.  Define the INSTALL
variables in each individual Makefile so that they find the proper file.
Remove the definitions from Makefile.config so that no one will
accidentally get the wrong ones.
2006-08-03 03:37:12 +00:00
Russ Allbery
8df5dcbc91 death-to-pinstall-20060801
Delete pinstall and convert the entire tree to use the install program
found by configure (falling back on install-sh in the local tree).  This
means that we have to pre-create directories with install -d.  Also redo
the install and dest rules to be lists of install rules rather than
dependencies driving separate make rules so that running make install will
always update the target directory with the current code, even if there are
files in the install area that are newer.

Stop installing libafssetpag; we're about to kill it in favor of a
different library.  Remove some djgpp rules.
2006-08-01 21:03:54 +00:00
Derrick Brashear
77c5020470 vos-avoid-freeing-null-pointers-20060731
FIXES 36441

pretty obvious. don't.
2006-07-31 16:23:34 +00:00
Tom Keiser
7cb94029ce aix-largefile-20060714
FDH_WRITE can return something great er than an int32 size for largefile
2006-07-14 20:22:51 +00:00
Jeffrey Altman
941ac04165 ubik-call-sucks-20060704
make ubik_Call removal work on Windows.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

another fix for Windows
2006-07-04 22:22:35 +00:00
Derrick Brashear
4478d3a99a ubik-call-sucks-20060703
ubik_Call's pseudo-varargs construction is hideous

put it out of its misery where possible
2006-07-04 04:50:46 +00:00
Tom Keiser
7826b31386 aix-largefile-cleanup-20060620
some largefile cleanup and other minor aix tweaking
2006-06-21 18:57:24 +00:00
Jeffrey Altman
7af6b06cb6 rxbind-for-servers-20060620
do not call parseNetFile on Windows where the function does not exist
2006-06-20 21:32:55 +00:00
Derrick Brashear
592d97f947 rxbind-for-servers-20060612
FIXES 32308

support -rxbind switch for servers
2006-06-13 01:28:48 +00:00
Rainer Toebbicke
b2b3aa1afb namei-delay-fsync-20060426
FIXES 30632

group fsync calls to speed up operations
2006-04-26 16:43:17 +00:00
Jeffrey Altman
8074632d69 volser-dump-validate-input-20060417
This patch adds code to perform return code error checking for all calls
to the ReadXyz() routines.  If the rx connection was lost or if the dump
format being parsed was incorrect there was an opportunity for data to
the processed after an error had already been detected.  In the best case
this would have simply resulted in additional work being performed when
it was not necessary but there was also the potential for modifying return
values which would later be used as input to later operations.  Better
to simply catch the error when it initially occurs and be done with it.

The ReadString() function had the potential to write into one byte prior
to the start of the input array.

ProcessIndex() would not properly close Fdhandle nor the StreamHandle
if an error was detected.

RestoreVolume() had a problem with the processing of incremental dumps.
Originally AFS supported a concept of incrementals dumps which when
restored would simply add their contents to the existing volume.  One
of the distinctions between the incremental and full dumps is that full
dump processing is responsible for removing any vnode entries from the
volume that are not present in the dump file headers.  When the incremental
dump support was removed, the RestoreVolume() function was broken.  If
a dump file contains multiple Dump Headers, then only the vnode entries
in the first Dump Header would be marked as being restored.  Any vnode
entries restored from subsequent Dump Headers would be deleted when the
RestoreVolume() function reached the end.  By removing the assignment
of 'tdelo = -1' within the loop that processes the Dump Headers, this
bug is resolved.  Although RestoreVolume is only called with the
'incremental' parameter == 0 at the current time, the check for non-zero
values is restored and the "remove unrestored vnodes" functionality is
disabled when a non-zero value is provided.

The ReadVnodes() function did not perform error checking.
2006-04-17 16:20:50 +00:00
Andrew Deason
f8103d800d vos-date-parse-errmsg-20060417
FIXES 30218

use the correct index value when printing the invalid date string
2006-04-17 15:59:04 +00:00
Derrick Brashear
54ce580ef3 time-t-casting-fixes-20060404
FIXES 15169

hopefully the rest of this
2006-04-04 21:51:13 +00:00
Tom Keiser
51ec267011 dafs-20060317
FIXES 26648

demand attach/fast restart fileserver
2006-03-17 19:54:26 +00:00
Jeffrey Altman
0ef21914da server-rxmaxmtu-option-20060221
add -rxmaxmtu <bytes> to allow setting the max send and receive RX MTU size
2006-02-22 04:07:34 +00:00
Tom Keiser
73f52f37e4 osi-audit-locking-fix-20060201
FIXES 25955

fix aix builds
2006-02-01 16:09:01 +00:00
Jeffrey Hutzelman
179b4c31d9 release-avoid-negative-time-20060124
avoid any possibility of time going negative when releasing incrementally
2006-01-25 03:49:25 +00:00
Derrick Brashear
feccc2a987 implement-vpeek-for-listvol-20060124
roll back for listonevolume (only)
2006-01-25 03:24:25 +00:00
Jeffrey Hutzelman
e5c8042e72 vos-restore-parent-id-patch-20051215
avoid making broken readonlies when when you restore them
2005-12-16 04:25:48 +00:00
Jeffrey Altman
b02d80508f windows-64-bit-type-safety-20051105
64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

more corrections for use of 64-bit types on Windows

====================

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

====================

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

====================

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

====================

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

====================

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

====================

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

====================

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler

====================

64-bit type safety changes required for successful compilation
on Windows 64-bit systems with the VS 2005 compiler
2005-11-06 09:29:36 +00:00
Ervin Fenyak
cfa7b866c8 add-volupdate-counter-20051015
FIXES 18349

add a volume update counter. danger will robinson. see ticket for details.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

add configure gunk

====================

add configure gunk

====================

make this happy in libadmin on e.g. solaris

====================

make this work on Windows
2005-10-23 20:05:40 +00:00
Derrick Brashear
36c57c994a volser-audit-setids-fix-20050831
FIXES 21263

type is an int, not a string
2005-08-31 22:35:40 +00:00
Klas Lindfors
1b0b0945ca vos-format-cleanup-20050815
FIXES 20783

make sure partition name actually gets printed
2005-08-15 16:54:50 +00:00
David Thompson
42e081360e vos-ctime-fix-20050809
FIXES 20748

fix larger than 4 byte ctime case
2005-08-09 19:39:26 +00:00
Jim Rees
fbbb6db84c freebsd60-20050708
Fixes for FreeBSD 6.0 snap5.
Builds and runs but has locking issues.
2005-07-08 17:53:43 +00:00
Derrick Brashear
2695a18459 vos-ctime-help-20050705
FIXES 6031

kept looking at this backwards, fix is obvious
2005-07-07 02:31:05 +00:00
Derrick Brashear
16d67791dc auditlogs-for-everyone-20050702
all servers now take -auditlog (path), send ibm-style auditlogs there, rotate the logs like the normal server logs, and will log thread ids when it's multiprocessor. /usr/afs/local/Audit can also be used like on aix on other platforms now.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================


all servers now take -auditlog (path), send ibm-style auditlogs there, rotate th
e logs like the normal server logs, and will log thread ids when it's multiproce
ssor. /usr/afs/local/Audit can also be used like on aix on other platforms now.

====================


all servers now take -auditlog (path), send ibm-style auditlogs there, rotate th
e logs like the normal server logs, and will log thread ids when it's multiproce
ssor. /usr/afs/local/Audit can also be used like on aix on other platforms now.

====================


all servers now take -auditlog (path), send ibm-style auditlogs there, rotate th
e logs like the normal server logs, and will log thread ids when it's multiproce
ssor. /usr/afs/local/Audit can also be used like on aix on other platforms now.

====================

Windows build dependency changes to support the audit logs
2005-07-05 16:33:24 +00:00
Kris Van Hees
a72d598e09 vos-release-compare-update-timestamps-20050415
FIXES 17758

use last updated timestamps to determine if a release needs to be done
2005-04-15 19:43:57 +00:00
Tom Keiser
2a3d2ad3af vos-partinfo-summary-portability-20050403
make this work on systems with non-native 64 bit int
2005-04-03 21:20:54 +00:00
Ervin Fenyak
f9e3781fdb vos-extended-format-20050320
FIXES 17961

vos listvol -extended
with -format option (vos listvol -extended -format) had no effect.
After applying the patch,
vos listvol -extended -format
outputs tab delimited output.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 17961

move variable declaration to the beginning of the block
2005-03-21 02:54:11 +00:00
Tom Keiser
37f7895c48 vos-partinfo-summary-mode-20050320
FIXES 17868

add a summary mode to vos partinfo
2005-03-20 15:11:54 +00:00