LICENSE IPL10
FIXES 74708
in order that this not be continually rechained, clear this here; we
are handling it now.
(cherry picked from commit 7515efb9c390089b4ad4563b939785c5c05793c5)
move the enum volstat definition to cm_volstat.h from cm_volume.h.
fix the copyright.
(cherry picked from commit 7da027754463f7040c89b6a04c35d13d5fbe31d3)
It turns out that LsaCallAuthenticationPackage can succeed but still
fail with an extended error. The one case that we have seen reported
is STATUS_NO_MEMORY which would be produced when the paging file is
full. This could be a transient error that will be resolved after
Windows increases the paging file size.
Instead of crashing under this condition we should force the authentication
to fail and permit the client to retry.
WER 567093715-1-0405174244
(cherry picked from commit ee839a167eea5c0b3e2a45bf1e47b268419dc04e)
The cm_Daemon() thread did not check after each operation whether or
not the service is in the process of shutting down. As a result the
thread could access data, locks, etc. that had been freed by other
threads.
WER 572098933-1-0407879071
(cherry picked from commit baef5ba97f4d042d75fe1ac8e11325be459a3d9a)
Add new man pages for vos convertROtoRW, vos copy, and read_tape and add
a troubleshooting section to the fileserver man page.
(cherry picked from commit 2ecef5038e81386a002740f6b0112330117c4f6e)
forward declare this function
====================
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.
====================
returns void, but, whatever
(cherry picked from commit 031369cd322d5dae4d1e8284c104e69a903c7995)
the pre 2.6.20.1 modpost issued warnings and not errors for unresolvable symbols.
not overly useful.
(cherry picked from commit eee1f81821656ed85720523750b312eaf0dd71b4)
of course, if Date is larger than 32 bits, the wrapper is broken anyway. we should really get rid of the wrapper
(cherry picked from commit 5d8c44bc09fde707dc6aaaf037b2c8805cce0ed1)
so this functionality works with inode fileserver, also. corrected abstraction from previous versions so vol and volser have correct bits.
(cherry picked from commit b98b51185dbd46ef6d9ef0249b032bbc49d13bfb)
FIXES 74708
this should fix the issue with cbfree being corrupted. a more exhaustive pointer-blunting patch should probably be pulled in, but, this is simple and obvious
(cherry picked from commit d284c0e7c11e8ee4755ac152e5e47d4abf304afc)
To prevent stripping, specify the '--disable-strip-binaries' option on
the ./configure command line. fileserver and volserver are never stripped.
When --enable-debug is specified, binaries will not be stripped by default.
(cherry picked from commit 8593c52c2787587110865287937750e51c48afa5)
disable the option by default. require the daemonCheckVolCBInterval
registry value be set in order to activate it.
do not renew .readonly volumes whose callbacks are less than 30 minutes
old.
(cherry picked from commit f2bff0e675a2ca0b583264d59d288c62636a06b8)
The NAME heading for man pages can't contain a space in the program side
or the man pages won't index with some man implementations.
(cherry picked from commit 6ef9f3933595e4fef5c4af334ab580dbb08212c3)
FIXES 76713
Add missing lock that needs to protect an in use 'host' from having
HOSTDELETED added to the hostFlags and HWNO_INPROGRESS removed.
(cherry picked from commit 76c886b574b7d21db2557872be8af8e6ca549f34)
add -ctime parameter which produces human readable expiration times.
Doesn't work with OpenAFS for Windows prior to 1.5.28 because time()
was not used in those versions for tracking expiration times.
(cherry picked from commit 578e0d957547e4ac7f39b0559e166fd9eea5f150)
A .readonly volume callback applies to the entire volume. Track it
in the cm_volume_t cbExpiresRO field and apply it to all cm_scache_t
objects with valid callbacks that are associated with that volume upon
each daemon callback check. This will prevent premature callback
expiration.
Also, attempt to automatically refresh the callbacks every 30 minutes
by obtaining a callback on the volume root. This value is configurable
with the "daemonCheckVolCBInterval" registry value.
Change from osi_Time() to time() for expiration values in order to
permit conversion to human readable values in cmdebug.
(cherry picked from commit b43d778e9342dd19c010354cf6db854fdf1f7d22)