]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
17 years agoDEVEL15-vos-noresolve-option-20080410
Jeffrey Altman [Thu, 10 Apr 2008 18:52:26 +0000 (18:52 +0000)]
DEVEL15-vos-noresolve-option-20080410

LICENSE MIT

Add a -noresolve option to all vos commands.  This permits the display
of servers by IP address instead of DNS name.  Very useful when 127.0.0.1
is registered as the server address or when trying to eliminate
multi-homed addresses.

(cherry picked from commit 40d41c191bdb64256d4ccf6a5f1bab8124249e63)

17 years agoDEVEL15-void-return-casts-20080409
Simon Wilkinson [Wed, 9 Apr 2008 17:39:57 +0000 (17:39 +0000)]
DEVEL15-void-return-casts-20080409

LICENSE IPL10

do apporpriate casts for void returns to placate irix cc

(cherry picked from commit fab6653cf714ee6121cd7a22857f22f86a969559)

17 years agoDEVEL15-linux-nfstrans-avoid-access-deadlock-20080409
Jeffrey Hutzelman [Wed, 9 Apr 2008 14:39:19 +0000 (14:39 +0000)]
DEVEL15-linux-nfstrans-avoid-access-deadlock-20080409

LICENSE IPL10

avoid deadlocking in access while we're already holding locks as filldir is doing its work

(cherry picked from commit 7faf596b439cce022cfa4b3174cd17a1f0a0901e)

17 years agoDEVEL15-windows-nsis-vs2005-20080409
Asanka Herath [Wed, 9 Apr 2008 05:36:53 +0000 (05:36 +0000)]
DEVEL15-windows-nsis-vs2005-20080409

LICENSE MIT

Add support for building with VS2005 Runtime Libraries.
For the release build use the vcredist_<arch>.exe package.
For the debug build, build an msi from the merge modules
and then install that package.

(cherry picked from commit 494568ea929af96bf2b641e31b970cf695f13240)

17 years agoDEVEL15-redhat-spec-updates-20080408
Simon Wilkinson [Tue, 8 Apr 2008 19:36:10 +0000 (19:36 +0000)]
DEVEL15-redhat-spec-updates-20080408

LICENSE IPL10
FIXES 93616

update to correctly fill in specfile from source tree

(cherry picked from commit 1495088e4168a2ddf35135db872777b9e51823b3)

17 years agoDEVEL15-windows-strlwr-cellname-20080407
Jeffrey Altman [Mon, 7 Apr 2008 15:20:19 +0000 (15:20 +0000)]
DEVEL15-windows-strlwr-cellname-20080407

LICENSE MIT

cellnames are case insensitive and by convention they are lowercased.

(cherry picked from commit 0d2e36cac80d4c49db8e6b12988344107b7b1cd4)

17 years agoDEVEL15-windows-freelance-three-20080407
Jeffrey Altman [Mon, 7 Apr 2008 15:17:47 +0000 (15:17 +0000)]
DEVEL15-windows-freelance-three-20080407

LICENSE MIT

deliver notification events to watchers when adding mount points or
symlinks to the freelance root.afs volume.

(cherry picked from commit c108d606f59b6f5edcb863de3f3d9d7ecc44f04a)

17 years agoDEVEL15-windows-freelance-two-20080407
Jeffrey Altman [Mon, 7 Apr 2008 07:00:46 +0000 (07:00 +0000)]
DEVEL15-windows-freelance-two-20080407

LICENSE MIT

do not add the scp into the hash table twice.

(cherry picked from commit 8f57819a99273812c1d9ba7ec504689b05b83b14)

17 years agoDEVEL15-windows-freelance-20080407
Jeffrey Altman [Mon, 7 Apr 2008 06:48:19 +0000 (06:48 +0000)]
DEVEL15-windows-freelance-20080407

LICENSE MIT

When freelance symlinks and mountpoints were modified the target string
value was not being updated and the old data was not being invalidated.

(cherry picked from commit a642541b960f601d7396c28ca08ee7fd32975ce6)

17 years agoDEVEL15-linux-no-syscall-probe-with-no-init-mm-20080406
Marc Dionne [Mon, 7 Apr 2008 04:49:00 +0000 (04:49 +0000)]
DEVEL15-linux-no-syscall-probe-with-no-init-mm-20080406

LICENSE IPL10
FIXES 88000

no better idea for this, got to do something... push this for now

(cherry picked from commit c7ee4828e0d7c631fcd827d1a4c9af8bebb2fc2d)

17 years agoDEVEL15-windows-fid-hash-20080406
Jeffrey Altman [Sun, 6 Apr 2008 14:37:22 +0000 (14:37 +0000)]
DEVEL15-windows-fid-hash-20080406

LICENSE MIT

1. During the conversion to hash based FID comparisons the cm_GetSCache()
   lookups from the cm_ioctl.c (CM_IOCTL_QOPTS_HAVE_FID) and from FIDs
   returned by cm_LookupSearchProc() were broken.

2. In cm_LookupInternal(), ensure that an error is returned if rock.found
   is FALSE.  A failure to return an error was resulting in cm_GetSCache()
   producing an object for FIDs with vnode=0,unique=0

3. cm_GetSCache(), remove the warning check for vnode=0,unique=0

4. reapply the synchronization logic to async store requests in cm_SyncOp().
   The lack of synchronization is causing requests to complete out of order
   which is confusing the SMB redirector when under heavy load.

(cherry picked from commit ef19cea44c433ec7c1d214e8229b5fb4ea4b6ef6)

17 years agoDEVEL15-revert-ubik-changes-20080405
Derrick Brashear [Sat, 5 Apr 2008 19:03:24 +0000 (19:03 +0000)]
DEVEL15-revert-ubik-changes-20080405

LICENSE IPL10

these changes are unneeded; remove them

(cherry picked from commit 5dd7e65c6fd233e70d98b271cbf48ac2356efe0f)

17 years agoDEVEL15-volser-preclude-alternate-partition-clones-20080404
Kevin McBride [Fri, 4 Apr 2008 20:58:45 +0000 (20:58 +0000)]
DEVEL15-volser-preclude-alternate-partition-clones-20080404

LICENSE IPL10

patch based on work from shadow@dementia.org

the idea is to preclude multiple copies of a volume replica on a server,
as there's nothing to indicate which copy is correct and you can end up serving
stale data when you think you've just released and are serving something good

(cherry picked from commit 5640c4a1b5bea4e61ff2e6c2da02265c3e1ba612)

17 years agoDEVEL15-tubik-more-makefile-fun-20080404
Derrick Brashear [Fri, 4 Apr 2008 16:40:04 +0000 (16:40 +0000)]
DEVEL15-tubik-more-makefile-fun-20080404

LICENSE IPL10

kill off library name reuse

(cherry picked from commit e62727e328c8fad2a5b7b305745a248d9aabe19a)

17 years agoDEVEL15-tubik-vos-20080403
Kevin McBride [Thu, 3 Apr 2008 17:41:29 +0000 (17:41 +0000)]
DEVEL15-tubik-vos-20080403

LICENSE IPL10

build pthreaded vos

(cherry picked from commit 65e701fee4968b17066bb81e25b7adaa4024d4f3)

17 years agoDEVEL15-tubik-20080403
Derrick Brashear [Thu, 3 Apr 2008 15:20:53 +0000 (15:20 +0000)]
DEVEL15-tubik-20080403

LICENSE IPL10

avoid bogus dependency here too

(cherry picked from commit 5f67c569455f0597d42b5a2cccf89e470ed74c53)

17 years agoDEVEL15-tubik-one-more-20080402
Derrick Brashear [Thu, 3 Apr 2008 04:54:53 +0000 (04:54 +0000)]
DEVEL15-tubik-one-more-20080402

LICENSE IPL10

handle the rest of the issues

(cherry picked from commit bc1a7f1ee8fb12eeb7b54f89987e6f240627a579)

17 years agoDEVEL15-tubik-makefiles-fun-20080402
Derrick Brashear [Thu, 3 Apr 2008 02:20:44 +0000 (02:20 +0000)]
DEVEL15-tubik-makefiles-fun-20080402

LICENSE IPL10

these fixes brought to you by delicious beer.

(cherry picked from commit 33161360381d5ec67f884c087da26bd8009a0511)

17 years agoDEVEL15-tubik-makefile-fixes-20080402
Derrick Brashear [Wed, 2 Apr 2008 22:44:04 +0000 (22:44 +0000)]
DEVEL15-tubik-makefile-fixes-20080402

LICENSE IPL10

don't use gmake macros. ick

(cherry picked from commit ec02ff4342844c0d83ed3e9e5e27aef7c3af7204)

17 years agoDEVEL15-pthreaded-ubik-20080402
Steven Jenkins [Wed, 2 Apr 2008 21:06:31 +0000 (21:06 +0000)]
DEVEL15-pthreaded-ubik-20080402

LICENSE IPL10

add pthreaded ubik and various binaries

(cherry picked from commit 9fbbc3f50cc6f04796a8a444bc06acc66a9c55a6)

17 years agoDEVEL15-linux-flush-compare-20080402
Marc Dionne [Wed, 2 Apr 2008 19:21:49 +0000 (19:21 +0000)]
DEVEL15-linux-flush-compare-20080402

LICENSE IPL10

because i let this slip out like this. sigh.

(cherry picked from commit 93c326ef08cacc730470a7af75041d943825260b)

17 years agoDEVEL15-linux-flush-unlock-20080402
Harald Barth [Wed, 2 Apr 2008 14:10:00 +0000 (14:10 +0000)]
DEVEL15-linux-flush-unlock-20080402

LICENSE IPL10

because i let this slip out like this. sigh.

(cherry picked from commit 31d06c78b2f8ea14877bebf05097b33cc7e233f2)

17 years agoDEVEL15-salvageserver-init-handler-lock-20080401
Tom Keiser [Tue, 1 Apr 2008 21:29:12 +0000 (21:29 +0000)]
DEVEL15-salvageserver-init-handler-lock-20080401

LICENSE IPL10

init lock

(cherry picked from commit 5fe4de574dba287b8197263028ac49014955a483)

17 years agoDEVEL15-tsalvaged-clean-20080401
Derrick Brashear [Tue, 1 Apr 2008 21:17:27 +0000 (21:17 +0000)]
DEVEL15-tsalvaged-clean-20080401

LICENSE IPL10

make clean target work here

(cherry picked from commit 0faa1e0412c4cb22e6820473fa60cdea5d516550)

17 years agoDEVEL15-vol-osi-assert-20080401
Derrick Brashear [Tue, 1 Apr 2008 21:05:36 +0000 (21:05 +0000)]
DEVEL15-vol-osi-assert-20080401

LICENSE IPL10

undo the old windows afs assert undoing

(cherry picked from commit 48838bab91b50a5cf8cd3fb7d1902e6b7525bb86)

17 years agoDEVEL15-aklog-debug-text-dont-deref-null-ptr-20080401
Derrick Brashear [Tue, 1 Apr 2008 19:15:40 +0000 (19:15 +0000)]
DEVEL15-aklog-debug-text-dont-deref-null-ptr-20080401

LICENSE IPL10

yeah, this is sort of dumb

AUTHOR
LICENSE IPL10

====================
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.
====================
LICENSE IPL10

yeah, this is sort of dumb

(cherry picked from commit 695d1aa896cf38cfe9856ba1c45b6b3cca7565a2)

17 years agoDEVEL15-aklog-tidyup-20080401
Simon Wilkinson [Tue, 1 Apr 2008 18:44:40 +0000 (18:44 +0000)]
DEVEL15-aklog-tidyup-20080401

LICENSE IPL10
FIXES 92643

remove windows code (osolete) from unix branch
do other minor cleanup

(cherry picked from commit 3f54c934b9c933d5f34644a096c821375db17d97)

17 years agoDEVEL15-vlserver-checksignal-returns-voidstar-20080401
Derrick Brashear [Tue, 1 Apr 2008 17:51:31 +0000 (17:51 +0000)]
DEVEL15-vlserver-checksignal-returns-voidstar-20080401

LICENSE IPL10
FIXES 92662

CheckSignal returns void*, don't try to return an int directly.

(cherry picked from commit 94aa281af8c9cb74561a32a34cb7cd5b5da97cdf)

17 years agoDEVEL15-synvageserver-no-rx-server-refs-20080401
Tom Keiser [Tue, 1 Apr 2008 15:12:06 +0000 (15:12 +0000)]
DEVEL15-synvageserver-no-rx-server-refs-20080401

LICENSE IPL10
FIXES 92648

remove reference to rx service mutex and thread tracking. we need to ensure there's nothing else either but this is true now

(cherry picked from commit 9bdb8599c094821d0dfb29505cc63aa2a8460ae2)

17 years agoDEVEL15-man-page-vos-shadow-20080331
Jason Edgecombe [Tue, 1 Apr 2008 07:57:18 +0000 (07:57 +0000)]
DEVEL15-man-page-vos-shadow-20080331

LICENSE BSD

Man page for vos shadow.

(cherry picked from commit 4bcb7d01b2a8aa6ce53cf1c0b093058b4e5072f1)

17 years agoDEVEL15-test-updates-20080331
Mike Meffie [Mon, 31 Mar 2008 16:54:02 +0000 (16:54 +0000)]
DEVEL15-test-updates-20080331

LICENSE IPL10

update tests directory

(cherry picked from commit a26d7f1403d7d41d51836442a7a4759f4fc2bfe4)

17 years agoDEVEL15-windows-aklog-cross-cell-20080330
Jeffrey Altman [Sun, 30 Mar 2008 17:21:07 +0000 (17:21 +0000)]
DEVEL15-windows-aklog-cross-cell-20080330

LICENSE MIT

report the new ID after a successful cross cell registration

(cherry picked from commit 99a29903c8b77e2e3260bf06d913367fadbc4fed)

17 years agoDEVEL15-windows-aklog-robustness-20080330
Jeffrey Altman [Sun, 30 Mar 2008 15:13:17 +0000 (15:13 +0000)]
DEVEL15-windows-aklog-robustness-20080330

LICENSE MIT

Fix the order of parameters to strncpy

Add error checking to all krb5 functions.

Initialize the global ccache variable to NULL.

(cherry picked from commit 2169423f6821672be5506ab388d6faa0ed37f0d0)

17 years agoDEVEL15-windows-vlserver-makefile-20080329
Jeffrey Altman [Sun, 30 Mar 2008 05:17:15 +0000 (05:17 +0000)]
DEVEL15-windows-vlserver-makefile-20080329

LICENSE MIT

make references to INCFILEDIR consistent

(cherry picked from commit aff582765a8af5ce8743e28ee4d33bf8e4396d63)

17 years agoDEVEL15-windows-use-client-realm-for-tokens-20080329
Jeffrey Altman [Sun, 30 Mar 2008 04:36:55 +0000 (04:36 +0000)]
DEVEL15-windows-use-client-realm-for-tokens-20080329

LICENSE MIT

Two recent changes to the AFS/Kerberos landscape have been causing
problems for aklog and related modules.  First, the support for multiple
local realms for the cell has broken the pts auto-registration code
when the realm used for the token acquisition does not match the
realm belonging to the selected vldb server.  Second, Kerberos referrals
prevents detection of the realm of the vldb server.

This commit adds a new method of searching for the afs service principal.
The first attempt is for afs/<cell>@<CLIENT-REALM>.  If found, the
<CLIENT-REALM> is used as the realm of the cell.

The patch adds error handling for KRB5_ERR_HOST_REALM_UNKNOWN which is
returned when krb5_get_host_realm() can't determine the realm.

Duplicate queries are also avoided and copy_realm_of_ticket() is
properly employed.

(cherry picked from commit c6897cee01063d6d6ad302e6527794130f007d74)

17 years agoDEVEL15-nbsd-update-20080328
Tracy Di Marco White [Fri, 28 Mar 2008 17:12:40 +0000 (17:12 +0000)]
DEVEL15-nbsd-update-20080328

LICENSE IPL10
FIXES 92073

fix nbsd30 param file, add nbsd40 param file

(cherry picked from commit 07d806845e1bf790c8cbe8e6a711e99e0958235b)

17 years agoDEVEL15-windows-freelance-20080328
Jeffrey Altman [Fri, 28 Mar 2008 14:02:54 +0000 (14:02 +0000)]
DEVEL15-windows-freelance-20080328

LICENSE MIT

1. return CM_ERROR_NOSUCHFILE when attempting to remove a symlink or
   mount point that does not exist

2. When adding a new symlink or mountpoint, be sure to increment the
   number of local mount points

3. When re-initializing the fake root.cell the unique value is always
   one, not two.  Use cm_FidCmp() to compare fids.  The use of the
   value two prevented the invalidation of existing values because all
   of the directory entries are created with the unique set to one.

(cherry picked from commit b2e3e6427522c92ce4132abf2ca08ce18599b16b)

17 years agoDEVEL15-krb5-klog-solaris-krb-20080327
Douglas Engert [Thu, 27 Mar 2008 18:48:46 +0000 (18:48 +0000)]
DEVEL15-krb5-klog-solaris-krb-20080327

LICENSE IPL10
FIXES 91573

no krb5_mcc_ops on solaris krb5. cope

(cherry picked from commit e0021180665fa75af88c3ebf0d7f58f93918ceab)

17 years agoDEVEL15-ptutil-swap-epoch-version-as-needed-20080327
Derrick Brashear [Thu, 27 Mar 2008 18:40:12 +0000 (18:40 +0000)]
DEVEL15-ptutil-swap-epoch-version-as-needed-20080327

LICENSE IPL10
FIXES 90869

do byteswapping of epoch and version so we print and compare sensibly

(cherry picked from commit 87e959e87df52e026ffcb2de8ecfcbf4889f7bd8)

17 years agoDEVEL15-volser-higher-thread-limit-20080327
Derrick Brashear [Thu, 27 Mar 2008 16:20:39 +0000 (16:20 +0000)]
DEVEL15-volser-higher-thread-limit-20080327

LICENSE IPL10

with tvolser we can increase this and actually *see benefit*, so...

(cherry picked from commit 7c05046f1f097a6ded89a5928ea48aca224f520a)

17 years agoDEVEL15-dafs-vshutdown-match-id-to-params-20080327
Alistair Ferguson [Thu, 27 Mar 2008 16:16:12 +0000 (16:16 +0000)]
DEVEL15-dafs-vshutdown-match-id-to-params-20080327

LICENSE IPL10

we track shutdown thread parms as index rather than device; deal correctly

(cherry picked from commit 6c9647cc614cfdf9b2c9cc8adb7b3c6b741e1f4e)

17 years agoDEVEL15-linux-dont-flush-writes-on-exec-20080326
Chas Williams [Wed, 26 Mar 2008 04:17:18 +0000 (04:17 +0000)]
DEVEL15-linux-dont-flush-writes-on-exec-20080326

LICENSE IPL10
FIXES 17509

because of when fds are NULL'd in file_table this should work except when one process has the same file open for read and for write in different FDs; otherwise,
 the last write fd to close collects the error.

(cherry picked from commit 1cf6c12a075cb0705cd8680291d78d215d4fe996)

17 years agoDEVEL15-linux-restore-iget-cachemgr-20080326
Marc Dionne [Wed, 26 Mar 2008 04:10:39 +0000 (04:10 +0000)]
DEVEL15-linux-restore-iget-cachemgr-20080326

LICENSE IPL10
FIXES 88000

restore the d_alloc_anon we need

(cherry picked from commit 3f8be40525ae84980f1519e60f4b9f73bd4cc676)

17 years agoDEVEL15-windows-vlserver-include-path-20080323
Jeffrey Altman [Sun, 23 Mar 2008 14:11:57 +0000 (14:11 +0000)]
DEVEL15-windows-vlserver-include-path-20080323

LICENSE MIT

Fix the INCFILEDIR definition so that the INCFILES actually exist

(cherry picked from commit f3776341151ad2c9b439567411e908836b16d415)

17 years agoDEVEL15-setuuid-return-20080104
Jim Rees [Sat, 22 Mar 2008 04:19:13 +0000 (04:19 +0000)]
DEVEL15-setuuid-return-20080104

return success (0) from setuuid()

(cherry picked from commit e192814db3a754aa5fe24acf10aa24030c57fa55)

17 years agoDEVEL15-linux-2625-update-20080322 openafs-devel-1_5_34
Marc Dionne [Sun, 23 Mar 2008 00:53:46 +0000 (00:53 +0000)]
DEVEL15-linux-2625-update-20080322

LICENSE IPL10
FIXES 88000

update 2.6.25 patch to hopefully cover what we need better

(cherry picked from commit 76494a572e504c426fe9dabc8e68115f7ee6a05c)

17 years agoDEVEL15-windows-aklog-cleanup-20080321
Jeffrey Altman [Sat, 22 Mar 2008 00:20:24 +0000 (00:20 +0000)]
DEVEL15-windows-aklog-cleanup-20080321

LICENSE MIT

make krb5_context global.  wrap all calls to exit() in a new function,
akexit(), which performs cleanup of the krb5_ccache and the krb5_context.

(cherry picked from commit 887f2869e309d00dff095b033dabf59231ef3300)

17 years agoDEVEL15-windows-release-notes-20080321
Jeffrey Altman [Fri, 21 Mar 2008 18:09:06 +0000 (18:09 +0000)]
DEVEL15-windows-release-notes-20080321

LICENSE MIT

final changes for 1.5.34

17 years agoDEVEL15-windows-notes-20080321
Jeffrey Altman [Fri, 21 Mar 2008 17:17:41 +0000 (17:17 +0000)]
DEVEL15-windows-notes-20080321

LICENSE MIT

one more item for 1.5.34

17 years agoDEVEL15-windows-version-20080321
Jeffrey Altman [Fri, 21 Mar 2008 17:02:48 +0000 (17:02 +0000)]
DEVEL15-windows-version-20080321

LICENSE MIT

1.5.34 == 1.5.3400.0

17 years agoDEVEL15-aix-unix-sockets-fix-200803221
Tom Keiser [Fri, 21 Mar 2008 16:59:14 +0000 (16:59 +0000)]
DEVEL15-aix-unix-sockets-fix-200803221

LICENSE IPL10
FIXES 88088

use aix's macro for the size of sockaddr_un

(cherry picked from commit 493afd1e59661e64120a8d655d6503ac396ca46b)

17 years agoDEVEL15-openafs-1-5-34-20080321
Derrick Brashear [Fri, 21 Mar 2008 16:55:37 +0000 (16:55 +0000)]
DEVEL15-openafs-1-5-34-20080321

LICENSE IPL10

make 1.5.34

17 years agoDEVEL15-windows-aklog-20080320
Jeffrey Altman [Fri, 21 Mar 2008 12:22:03 +0000 (12:22 +0000)]
DEVEL15-windows-aklog-20080320

LICENSE MIT

Windows Error Reports indicate that sometimes the krb5_cc_default()
call must be failing because krb5_cc_principal is being called with
a NULL ccache value.  Perform error checking and cleanup that was
not previously implemented.

(cherry picked from commit 94f32208af8896e144e18aa34d80bf2924b4ac36)

17 years agoDEVEL15-windows-notes-20080320
Jeffrey Altman [Fri, 21 Mar 2008 05:02:38 +0000 (05:02 +0000)]
DEVEL15-windows-notes-20080320

LICENSE MIT

changes implemented in 1.5.34

17 years agoDEVEL15-windows-pioctl-disable-service-mgr-check-20080320
Jeffrey Altman [Fri, 21 Mar 2008 04:17:14 +0000 (04:17 +0000)]
DEVEL15-windows-pioctl-disable-service-mgr-check-20080320

LICENSE MIT

Adds HKLM\\Software\\OpenAFS\\Client  DisableIoctlSMCheck

For use in setting tokens when afsd_service.exe is started without
use of the NT Service Manager.  Permits profiling authenticated
operations.

(cherry picked from commit 77c1e986369c8151ec19e74dccbd2b40de6270d9)

17 years agoDEVEL15-windows-max-cells-20080319
Jeffrey Altman [Thu, 20 Mar 2008 00:01:59 +0000 (00:01 +0000)]
DEVEL15-windows-max-cells-20080319

LICENSE MIT

Add CM_CONFIGDEFAULT_CELLS (1024) to cm_config.h and a "Cells" registry
value that can be used to alter the limit at runtime.

No longer tie the number of cells to the number of stat cache objects.
1024 should be more than sufficient.

(cherry picked from commit edbde00d6c3be0228b1647505d8483632cceaf39)

17 years agoDEVEL15-windows-volume-dotdotFid-20080319
Jeffrey Altman [Wed, 19 Mar 2008 20:18:37 +0000 (20:18 +0000)]
DEVEL15-windows-volume-dotdotFid-20080319

LICENSE MIT

The volume dotdotFid field should have moved into the cm_volstate_t
object as there can be different parents for rw, ro, and bk volumes.

(cherry picked from commit d24b177765f2955a7c54ecdc33744ecee069f25e)

17 years agoDEVEL15-windows-no-more-afsdifs-20080319
Jeffrey Altman [Wed, 19 Mar 2008 15:36:25 +0000 (15:36 +0000)]
DEVEL15-windows-no-more-afsdifs-20080319

LICENSE MIT

do not include a header that no longer exists

(cherry picked from commit b2667be49d31a26517f3c7a192091847434e6151)

17 years agoDEVEL15-windows-remove-umich-afsifs-20080319
Jeffrey Altman [Wed, 19 Mar 2008 13:59:29 +0000 (13:59 +0000)]
DEVEL15-windows-remove-umich-afsifs-20080319

LICENSE MIT

The UMich AFS IFS code has never been made ready for production.
An alternative approach is currently being worked on that will be.

(cherry picked from commit e3f9fcdeaaf35363c0b3d3a8004892aa4ce9233f)

17 years agoDEVEL15-windows-parseacl-20080319
Jeffrey Altman [Wed, 19 Mar 2008 13:24:00 +0000 (13:24 +0000)]
DEVEL15-windows-parseacl-20080319

LICENSE MIT

Protect against invalid data being passed into ParseAcl and
corrupting the stack.  This affects both fs.exe and the explorer
shell extension.

Windows Error Reporting in recent weeks has begun to report several
instances of stack corruption in the explorer shell extension from
Denmark and Germany.

(cherry picked from commit e6d7e165886122dc4cee850632ee2c1f55165258)

17 years agoDEVEL15-windows-remove-umich-afsifs-20080318
Jeffrey Altman [Tue, 18 Mar 2008 16:48:31 +0000 (16:48 +0000)]
DEVEL15-windows-remove-umich-afsifs-20080318

LICENSE MIT

The UMich AFS IFS code has never been made ready for production.
An alternative approach is currently being worked on that will be.

(cherry picked from commit e7e2a3bd0691e3da78a36c8f3332577290f59a64)

17 years agoDEVEL15-dafs-kill-xcpu-dump-vlru-stats-20080318
Tom Keiser [Tue, 18 Mar 2008 16:06:19 +0000 (16:06 +0000)]
DEVEL15-dafs-kill-xcpu-dump-vlru-stats-20080318

LICENSE BSD

this will dump the current dafs vlru state on kill -XCPU (just as we dump other
fileserver state)
that state is
VLRU is a garbage collection facility which automatically offlines
volumes in the background. The purpose of this facility is to
proactively offline infrequently used volumes to improve shutdown and
salvage times. The process of offlining a volume from the "attached"
state to the "pre-attached" state is called soft detachment.

VLRU works in a manner similar to a generational garbage collector.
There are five queues on which volumes can reside: new, intermediate,
old, held, and candidate:

held:

queue for volumes which are administratively barred from VLRU activity

candidate:

queue for volumes which have not been accessed recently, and are thus
candidates for soft detachment

new, intermediate, old:

generational queues for active volumes; state transitions controlled by
inactivity timers.

State transition timeouts are as follows:

candidate->new activity present
new->candidate (1*vlruthresh) minutes since last transition; no activity
new->mid (2*vlruthresh) minutes since last transition; activity
present
mid->old (4*vlruthresh) minutes since last transition; activity
present
old->mid (2*vlruthresh) minutes since last transition; no activity
mid->new (1*vlruthresh) minutes since last transition; no activity

(cherry picked from commit 6c81286368e17bdde543d4d6e5d19512cab62ba3)

17 years agoDEVEL15-pts-process-input-file-and-exit-20080318
Kevin McBride [Tue, 18 Mar 2008 15:58:54 +0000 (15:58 +0000)]
DEVEL15-pts-process-input-file-and-exit-20080318

LICENSE IPL10

 The pts program has a command 'source' to read commands from
 a file.  In the interactive "shell" mode, this command works,
 reading and executing commands until the end of the file and
 then returning to the command shell.

 This command is valid for use as a command line option, but
 does not work. It requires a valid filename as an argument,
 but does not process the file, instead just dropping the user
 into the interactive mode.

 When given as a command line option, pts source SHOULD read
 the file, execute the commands and then exit, according to
 the documentation. It does not currently do this and should
 be fixed.

(cherry picked from commit db4c703131c4fe68e699d873525f1055845545f7)

17 years agoDEVEL15-hpux1123-sysname-detection-20080317
Chaskiel M Grundman [Mon, 17 Mar 2008 18:07:48 +0000 (18:07 +0000)]
DEVEL15-hpux1123-sysname-detection-20080317

LICENSE IPL10
FIXES 89125

add the 11.23 sysname

(cherry picked from commit 7ffe6a97ff0453c2cae8b15a9d7e2084e3a864d4)

17 years agoDEVEL15-afs-nostats-xstats-start-cmtime-noop-20080317
Chas Williams [Mon, 17 Mar 2008 18:03:37 +0000 (18:03 +0000)]
DEVEL15-afs-nostats-xstats-start-cmtime-noop-20080317

LICENSE IPL10
FIXES 90528

add missing noop so we can build with stats disabled

(cherry picked from commit 2c3cbd499ad4461511f2181e1ac0a0cfa6768821)

17 years agoDEVEL15-rx-nacks-increment-with-all-newacks-20080317
Chas Williams [Mon, 17 Mar 2008 17:57:18 +0000 (17:57 +0000)]
DEVEL15-rx-nacks-increment-with-all-newacks-20080317

LICENSE IPL10

don't "lose" newacks, apply all of them to the ack count

(cherry picked from commit eee60dd38d1be14be052178816aea36b2f8de3ff)

17 years agoDEVEL15-linux-nfstrans-readme-20080317
Jeffrey Hutzelman [Mon, 17 Mar 2008 17:48:53 +0000 (17:48 +0000)]
DEVEL15-linux-nfstrans-readme-20080317

LICENSE IPL10

readme for linux nfs translator and extensions

(cherry picked from commit ec5a43b08686680b9d9c0552e3a912871dac4cc8)

17 years agoDEVEL15-volser-handle-malloc-failure-20080317
Derrick Brashear [Mon, 17 Mar 2008 17:14:11 +0000 (17:14 +0000)]
DEVEL15-volser-handle-malloc-failure-20080317

LICENSE IPL10

allocate memory for all rx OUT parameters in stubs to avoid crashes.

(cherry picked from commit 449756f8a26f1b30147851f98ac67b2a2642abf8)

17 years agoDEVEL15-solaris11-update-20080317
Mattias Pantzare [Mon, 17 Mar 2008 16:53:24 +0000 (16:53 +0000)]
DEVEL15-solaris11-update-20080317

LICENSE IPL10

update solaris 11. probably we should do configure tests instead for
these things, since they're sort of "moving target"

(cherry picked from commit 680123d70c98d7d9e5884e3d43ed5298d6aad11d)

17 years agoDEVEL15-dafs-readme-20080317
Steven Jenkins [Mon, 17 Mar 2008 16:40:00 +0000 (16:40 +0000)]
DEVEL15-dafs-readme-20080317

LICENSE IPL10

update README to mention DAFS setup and build options

(cherry picked from commit f776cb96f97e5995a3a58074f2bf913e8ea4be00)

17 years agoDEVEL15-dafs-accurately-track-inuse-20080317
Tom Keiser [Mon, 17 Mar 2008 16:05:28 +0000 (16:05 +0000)]
DEVEL15-dafs-accurately-track-inuse-20080317

LICENSE IPL10

keep accurate tabs on whether a volume is "in use" so we don't end up with volum
e state that's nonsensical.

(cherry picked from commit c7bce5882a685fcc6ecac53fb54ec7047f21ec6c)

17 years agoDEVEL15-rx-clock-backward-detection-20080317
Derrick Brashear [Mon, 17 Mar 2008 15:38:27 +0000 (15:38 +0000)]
DEVEL15-rx-clock-backward-detection-20080317

LICENSE IPL10

if the clock goes backwards, detect it and reset any rx events to run in a timely manner

(cherry picked from commit 3a84b02172800e7c172e04718fb109d1f5f1c014)

17 years agoDEVEL15-demand-attach-docs-20080314
Steven Jenkins [Fri, 14 Mar 2008 18:49:54 +0000 (18:49 +0000)]
DEVEL15-demand-attach-docs-20080314

LICENSE IPL10

Additional documentation for the demand attach file server, plus a state
diagram.

(cherry picked from commit 8cad4305acb787500f9434949cfb3c6500f3287b)

17 years agoDEVEL15-windows-callback-20080314
Jeffrey Altman [Fri, 14 Mar 2008 16:55:25 +0000 (16:55 +0000)]
DEVEL15-windows-callback-20080314

LICENSE MIT

Protect against a null volp

(cherry picked from commit 6fef8b74299e4ed75a1da45d7fdb948581ab2434)

17 years agoDEVEL15-windows-max-volumes-20080314
Jeffrey Altman [Fri, 14 Mar 2008 16:18:00 +0000 (16:18 +0000)]
DEVEL15-windows-max-volumes-20080314

LICENSE MIT

Propagate the max volumes value into cm_memmap

(cherry picked from commit 3a0fa5627bd5254f37aa5c2fb04ca7d27f0a06c1)

17 years agoDEVEL15-vol-dafs-aix-fixes-20080313
Tom Keiser [Fri, 14 Mar 2008 04:42:52 +0000 (04:42 +0000)]
DEVEL15-vol-dafs-aix-fixes-20080313

LICENSE IPL10
FIXES 88087

* xlc doesn't support the inline keyword unless C99 is enabled
* xlc won't parse enumerations with trailing commas

(cherry picked from commit 53a57b79b567aed990eb27d0b4a24109a65a993e)

17 years agoDEVEL15-lwp-fixprotos-20080313
Simon Wilkinson [Thu, 13 Mar 2008 13:42:19 +0000 (13:42 +0000)]
DEVEL15-lwp-fixprotos-20080313

LICENSE IPL10
FIXES 89857

make everything match, and make *ep take void and not a pointer

(cherry picked from commit 2d29c51167b50286e94bda35275e62cfc3c04dfd)

17 years agoDEVEL15-rx-mutex-interlocked-macros-20080312
Jeffrey Altman [Thu, 13 Mar 2008 12:58:19 +0000 (12:58 +0000)]
DEVEL15-rx-mutex-interlocked-macros-20080312

LICENSE IPL10

fix from sxw@inf.ed.ac.uk

(cherry picked from commit e1fb328b9ae509316ce8fff81691f6b738929ee9)

17 years agoDEVEL15-windows-remove-scache-volp-20080312
Jeffrey Altman [Thu, 13 Mar 2008 04:39:17 +0000 (04:39 +0000)]
DEVEL15-windows-remove-scache-volp-20080312

LICENSE MIT

The cm_scache structure has included a reference to the associated cm_volume_t,
volp.  By doing so the reference count on the cm_volume_t objects never hits
zero unless all of the cm_scache_t objects in that volume have been reused.
This prevents cm_volume object recycling.

This commit removes the hard reference and instead adds a function
cm_GetVolumeByFID which obtains a reference to the cm_volume that matches
the cm_scache fid value as needed.

A new "Volumes" registry value is added to permit explicit specification
of the number of volume objects to be allocated.

(cherry picked from commit f9cc51fb40f1797b72ba5b05d7d0249b9a3b2e27)

17 years agoDEVEL15-linux-2625-20080312
Marc Dionne [Thu, 13 Mar 2008 02:25:37 +0000 (02:25 +0000)]
DEVEL15-linux-2625-20080312

LICENSE IPL10

add missing bits

(cherry picked from commit 5378bf47efdb9abb056a0111cf38b9b6c73c7bc8)

17 years agoDEVEL15-windows-client-config-pt-20080311
Jeffrey Altman [Wed, 12 Mar 2008 05:47:38 +0000 (05:47 +0000)]
DEVEL15-windows-client-config-pt-20080311

LICENSE MIT

typo in pt_BR language resource file

(cherry picked from commit f69a15c7a8e286ead1d7a3e444214a1553fa01e5)

17 years agoDEVEL15-rx-no-interlockedadd-20080311
Jeffrey Altman [Wed, 12 Mar 2008 05:13:59 +0000 (05:13 +0000)]
DEVEL15-rx-no-interlockedadd-20080311

LICENSE IPL10

InterlockedAdd is only supported on Itanium

(cherry picked from commit 9cc4a8e02cd6b244c34f04ba9526183edd358bf7)

17 years agoDEVEL15-man-page-fileserver-update-20080311
Steven Jenkins [Wed, 12 Mar 2008 01:40:16 +0000 (01:40 +0000)]
DEVEL15-man-page-fileserver-update-20080311

LICENSE IPL10

Update the fileserver documentation for demand-attach and add documentation
of other missing options and notes where some options are only applicable
with particular builds.

(cherry picked from commit 0e91773fd769f2c5ce69eef1e795993f963ab3ee)

17 years agoDEVEL15-rx-mutex-interlocked-macros-20080311
Jeffrey Altman [Tue, 11 Mar 2008 18:27:39 +0000 (18:27 +0000)]
DEVEL15-rx-mutex-interlocked-macros-20080311

LICENSE IPL10

Introduce a new set of macros that can be used to permit either mutex
based protection or Interlocked operation protection increments,
decrements, or additions.

  rx_MutexIncrement(object, mutex)
  rx_MutexAdd(object, addend, mutex)
  rx_MutexDecrement(object, mutex)
  rx_MutexAdd1Increment2(object1, addend, object2, mutex)
  rx_MutexAdd1Decrement2(object1, addend, object2, mutex)

For Windows these are implemented with the Interlocked operations
for other platforms the existing mutex is relied upon.

Only a subset of the rx_stats parameters have been transitioned at the
current time.

(cherry picked from commit c86ae86a53c8a8e5acc099e1ea437e3571b2e63d)

17 years agoDEVEL15-lwp-protoize-20080310
Simon Wilkinson [Tue, 11 Mar 2008 17:46:47 +0000 (17:46 +0000)]
DEVEL15-lwp-protoize-20080310

LICENSE IPL10

protoize lwp. make it match pthreads' idea of createprocess

(cherry picked from commit ff988ead4ee3986c1db9f983e4f25ba79469a4e4)

17 years agoDEVEL15-windows-lwp-proto-20080311
Jeffrey Altman [Tue, 11 Mar 2008 17:02:04 +0000 (17:02 +0000)]
DEVEL15-windows-lwp-proto-20080311

LICENSE IPL10

Fix breakage caused by recent lwp prototyping.

(cherry picked from commit 9473128eb375b3ec31560613842220b934e07de6)

17 years agoDEVEL15-linux-2625-20080310
Derrick Brashear [Mon, 10 Mar 2008 18:52:50 +0000 (18:52 +0000)]
DEVEL15-linux-2625-20080310

LICENSE IPL10

adapted from marc dionne's patch, but works more directly like the darwin port,
further, i'm guessing iget_locked will go away evewntually. maybe this is
too conservative?

(cherry picked from commit cadbebc2e50aedea01475620a3add4c315c13faa)

17 years agoDEVEL15-windows-client-config-misc-dlg-20080310
Jeffrey Altman [Mon, 10 Mar 2008 18:18:13 +0000 (18:18 +0000)]
DEVEL15-windows-client-config-misc-dlg-20080310

LICENSE MIT

The Daemon and Server Threads fields were swapped.

(cherry picked from commit 2cee2d88a8573f1b8eb336993d9acf6417cda4e2)

17 years agoDEVEL15-keyring-updated-20080310
Simon Wilkinson [Mon, 10 Mar 2008 16:47:16 +0000 (16:47 +0000)]
DEVEL15-keyring-updated-20080310

LICENSE IPL10

revise keyring patch to avoid detection problems with keyring_type_key

(cherry picked from commit b7fb842b1cd11ceaa492201ad9a38052e424f6a8)

17 years agoDEVEL15-hpux-param-updates-20080310
Derrick Brashear [Mon, 10 Mar 2008 16:23:51 +0000 (16:23 +0000)]
DEVEL15-hpux-param-updates-20080310

LICENSE IPL10

based on suggestion from cg2v@andrew.cmu.edu

(cherry picked from commit 9959232682d05f410dc0fae91f790b2ebed3273a)

17 years agoDEVEL15-windows-afs-execute-only-20080309
Jeffrey Altman [Sun, 9 Mar 2008 15:25:01 +0000 (15:25 +0000)]
DEVEL15-windows-afs-execute-only-20080309

LICENSE MIT

If we want to enforce the open for read flag in smb_ReadData we must
also check for execute access.  We map execute access to read access
because AFS doesn't have a separate permission for that.

(cherry picked from commit 5f6546ecbbe946f2275e07d87351968105c176a1)

17 years agoDEVEL15-man-page-afsd-afsdb-20080308
Jason Edgecombe [Sun, 9 Mar 2008 06:08:47 +0000 (06:08 +0000)]
DEVEL15-man-page-afsd-afsdb-20080308

LICENSE BSD
FIXES 89288 89289

Reference RFC 1183 in the AFSDB documentation.

(cherry picked from commit 6e18cd4108e6367fe9766d5f2cfda48569c9ebbf)

17 years agoDEVEL15-pt-util-com-err-20080308
Simon Wilkinson [Sun, 9 Mar 2008 01:58:49 +0000 (01:58 +0000)]
DEVEL15-pt-util-com-err-20080308

LICENSE IPL10

prototype afs_error_message() to ensure correct behavior on 64-bit
systems with 32-bit int.

(cherry picked from commit 84a928ddd46b1b77c655b21ce7e9fc8d775b96db)

17 years agoDEVEL15-windows-release-notes-20080308
Jeffrey Altman [Sun, 9 Mar 2008 01:09:30 +0000 (01:09 +0000)]
DEVEL15-windows-release-notes-20080308

LICENSE MIT
FIXES 89132

updates for 1.5.34.  includes updates to the debugging section
and registry values.

17 years agoDEVEL15-windows-installer-rxmaxmtu-setting-20080308
Jeffrey Altman [Sat, 8 Mar 2008 23:39:25 +0000 (23:39 +0000)]
DEVEL15-windows-installer-rxmaxmtu-setting-20080308

LICENSE MIT

change the RxMaxMtu setting to 0 to restore default
behavior (aka performance).  The Cisco VPN 5.0.01.0600
client no longer requires a reduced mtu size for compatibility
with AFS.

(cherry picked from commit cdd1e8b878c669927b7e2b8f06cd20b62f6bec51)

17 years agoDEVEL15-windows-config-20080308
Jeffrey Altman [Sat, 8 Mar 2008 23:32:44 +0000 (23:32 +0000)]
DEVEL15-windows-config-20080308

LICENSE MIT

raise the daemon count to 4 now that we have a means of avoiding
contention

raise the tracebufsize to 10000 entries

(cherry picked from commit f94e0d5688be0778d346711b6698e2ef567e1969)

17 years agoDEVEL15-windows-syscfg-getifinfo-20080308
Jeffrey Altman [Sat, 8 Mar 2008 23:25:08 +0000 (23:25 +0000)]
DEVEL15-windows-syscfg-getifinfo-20080308

LICENSE MIT

syscfg_GetIFInfo() obtains the current list of IP addresses.
Its a really expensive operation.  Call the function once
and cache the data until the next IP address change instead
of calling it everytime we receive a WhoAreYou or construct a
new server object.  Adds a new global rw lock, cm_syscfgLock

(cherry picked from commit 801b670734e254665576dcb71756ea64a123abc9)

17 years agoDEVEL15-windows-scache-20080308
Jeffrey Altman [Sat, 8 Mar 2008 23:18:54 +0000 (23:18 +0000)]
DEVEL15-windows-scache-20080308

LICENSE MIT

do not discard data buffers we wish to keep

(cherry picked from commit 27008912ec2a0526e71f174b9e4e6d8dd1fc8f19)

17 years agoDEVEL15-windows-performance-deadlock-20080308
Jeffrey Altman [Sat, 8 Mar 2008 23:16:34 +0000 (23:16 +0000)]
DEVEL15-windows-performance-deadlock-20080308

LICENSE MIT

correct a deadlock when calling HaveCallback

(cherry picked from commit c32f5466f0cf7150d8bbe286fa51834108dce63f)

17 years agoDEVEL15-windows-cm-callback-remove-call-mutex-hold-20080308
Jeffrey Altman [Sat, 8 Mar 2008 15:45:02 +0000 (15:45 +0000)]
DEVEL15-windows-cm-callback-remove-call-mutex-hold-20080308

LICENSE MIT

Remove all of the code in #ifdef HOLD_CALL_MUTEX as we no longer
use it.

(cherry picked from commit 694202f29e5eafbcf0a07908ebdc2c67a2eecc3b)