4983 Commits

Author SHA1 Message Date
Jeffrey Hutzelman
f7d3165415 DEVEL15-windows-cellservdb-20080423
LICENSE IPL

latest greatest CellServDB


(cherry picked from commit 6143f2eb5c85f5c428578b60b3b8892321f7fbe1)
2008-04-24 04:08:31 +00:00
Dan Hyde
e3e6e8e0e7 DEVEL15-vol-setaside-one-fd-per-thread-20080423
LICENSE IPL10
FIXES 87977

kids these days share badly. give each one their own fd otherwise they fight.


(cherry picked from commit 6809ba29fadbd0d84ff6a9bf2ccd909b2f54b186)
2008-04-23 19:57:13 +00:00
Simon Wilkinson
948f59946d DEVEL15-linux-fedora9-packaging-updates-20080422
LICENSE IPL10

make build system able to cope with fedora 9


(cherry picked from commit d18f5104f57152dfb6d1125a2d3a8bf17a266f44)
2008-04-22 13:50:38 +00:00
Derrick Brashear
e73cf80d0c DEVEL15-openafs-1-5-35-20080421
LICENSE IPL10

make 1.5.35
openafs-devel-1_5_35
2008-04-21 20:48:41 +00:00
Derrick Brashear
807f90e5ae DEVEL15-libadmin-vos-irix-fixes-20080421
LICENSE IPL10

irix is cranky about missing prototypes


(cherry picked from commit 8bf142ae2a979447b259b0945187379812883bee)
2008-04-21 20:40:01 +00:00
Derrick Brashear
6bcddf862e DEVEL15-ppc64-linux-26-thread-info-20080418
LICENSE IPL10

thread_info is dead


(cherry picked from commit 2a0f8bfda8b00de429cb15481e3e20d5d140a81c)
2008-04-21 19:59:34 +00:00
Derrick Brashear
bfc5c05eec DEVEL15-dafs-irix-prec99-20080421
LICENSE IPL10

unless/until we build c99, irix needs this


(cherry picked from commit 92b5087b42653d5358433c06d60f3adc67a11015)
2008-04-21 19:55:48 +00:00
Jeffrey Altman
ae0cd3cf55 DEVEL15-windows-readme-20080421
LICENSE MIT

update the build instructions
2008-04-21 17:03:50 +00:00
Jeffrey Altman
5ebbd9d58b DEVEL15-windows-notes-20080421
LICENSE MIT

1.5.35
2008-04-21 16:51:28 +00:00
Jeffrey Altman
05e4363d02 DEVEL15-windows-release-notes-20080421
LICENSE MIT

no changes.  just version number increase to 1.5.35
2008-04-21 16:44:06 +00:00
Jeffrey Altman
4ddf9f1a96 DEVEL15-windows-cache-version-20080421
LICENSE MIT

increase the cache version because the cm_volume_t data structure was modified.


(cherry picked from commit a6ef7fed731628a5e5b8af62f7e986d6f7ccf444)
2008-04-21 16:36:49 +00:00
Jeffrey Altman
10898bf79c DEVEL15-windows-version-20080421
LICENSE MIT

1.5.3500.0 == 1.5.35
2008-04-21 16:27:55 +00:00
Simon Wilkinson
d494b7def2 DEVEL15-linux-fc9-20080419
LICENSE IPL10

add in needed changes for fc9 kernels


(cherry picked from commit 0caa578a05150451c706c2ec6c3d095c671a7043)
2008-04-19 22:55:44 +00:00
Derrick Brashear
169d94b968 DEVEL15-klog-deal-with-aix-stupidity-20080418
LICENSE IPL10

aix krb5 is broken. deal.


(cherry picked from commit 194067be89293d2f3ee4e791515c3ac020d3a551)
2008-04-18 21:49:58 +00:00
Jeffrey Altman
a03cad17d8 DEVEL15-windows-volume-status-20080418
LICENSE MIT

A problem was discovered with cm_Analyze when serverRef instances are
marked offline.  cm_CheckOfflineVolume() was not resetting the serverRef
state.  cm_Analyze was also waiting in sleep calls when it was it is
clear that waiting would not result in a change of state.

cm_CheckOfflineVolume() was updated to always reset the serverRef state
and indicate that the volume should be considered online for the purpose
of retrying when the serverRef state is reset to srv_not_busy.

The problems identified in the MIT dev.mit.edu stress test environment
are resolved by these changes.


(cherry picked from commit c3eb805fc0309efca059a26b946eb4350417867e)
2008-04-18 17:46:07 +00:00
Derrick Brashear
6a64ca8122 DEVEL15-lwp-fix-protoize-20080418
LICENSE IPL10

make this cast correct.


(cherry picked from commit 8ea0eef2d6807d2ad51d29853335f115439e616c)
2008-04-18 14:57:13 +00:00
Derrick Brashear
05431752c5 DEVEL15-klog-aix-missing-symbols-20080418
LICENSE IPL10

aix's krb5 isn't heimdal or mit. it has dangling symbols. yay!


(cherry picked from commit f3056feadbd6866bddc20e040b5005baeb4c8cad)
2008-04-18 14:56:21 +00:00
Rainer Toebbicke
c258c2da45 DEVEL15-linux-fakestat-avoid-mtpt-fillin-issue-20080415
LICENSE IPL10
FIXES 93898

"It is actually the detection of a "cell" in the mount point string
which triggers the (loosely consistent) fakestat handling - it's
treated like a foreign cell and the mount point is never "completely
evaluated", i.e. logically replaced by the root directory of the
volume in question. As a result, callbacks are ignored, as they go
against the directory and not the mount point."


(cherry picked from commit 5f6b59f4601e9892e082a145a75e5872818d2e06)
2008-04-15 13:29:37 +00:00
Jeffrey Altman
6bb168751b DEVEL15-windows-volume-20080414
LICENSE MIT

1. Convert cm_volume_t mutex to a rwlock (rw).

2. Don't hold cm_volume_t lock across RPCs

3. Add CM_VOLUMEFLAG_UPDATING_VL flag to prevent multiple threads
   from performing volume update calls at the same time on the same
   volume set.

4. Convert the .rw, .ro, and .bk cm_vol_state_t members of cm_volume_t
   to an array of cm_vol_state_t members indexed using the pre-existing
   RWVOL, ROVOL and BACKVOL preprocessor symbols.  This will permit
   consolidation of code and make it easier to add new volume types
   to the volume set in the future.


(cherry picked from commit 4440b9a61247a0da020042b4262695f0ef7d35de)
2008-04-14 23:44:03 +00:00
Derrick Brashear
26e3d532de DEVEL15-volser-prototype-include-fix-20080414
LICENSE IPL10

so tvolser can build again


(cherry picked from commit 7936739f44372458fffb86058b3279d53995bd8b)
2008-04-14 21:25:52 +00:00
Jeffrey Altman
81dfd46605 DEVEL15-windows-freelance-20080411
LICENSE MIT

Do not set the DV on the rootSCachep because doing so disables
the use of MergeStatus().

Do not remove the rootSCachep from the hash table because doing
so makes causes a second cm_scache_t object for that fid to be created
that is not the root.


(cherry picked from commit 7bfe889eb2e900719c70cd9fd29f82569ef4c04c)
2008-04-11 18:46:24 +00:00
Jeffrey Altman
7bbc074881 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)
2008-04-10 18:52:26 +00:00
Simon Wilkinson
073dfcd668 DEVEL15-void-return-casts-20080409
LICENSE IPL10

do apporpriate casts for void returns to placate irix cc


(cherry picked from commit fab6653cf714ee6121cd7a22857f22f86a969559)
2008-04-09 17:39:57 +00:00
Jeffrey Hutzelman
a35556b5ad 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)
2008-04-09 14:39:19 +00:00
Asanka Herath
1147707e75 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)
2008-04-09 05:36:53 +00:00
Simon Wilkinson
46dd9239ed DEVEL15-redhat-spec-updates-20080408
LICENSE IPL10
FIXES 93616

update to correctly fill in specfile from source tree


(cherry picked from commit 1495088e4168a2ddf35135db872777b9e51823b3)
2008-04-08 19:36:10 +00:00
Jeffrey Altman
ff93caae55 DEVEL15-windows-strlwr-cellname-20080407
LICENSE MIT

cellnames are case insensitive and by convention they are lowercased.


(cherry picked from commit 0d2e36cac80d4c49db8e6b12988344107b7b1cd4)
2008-04-07 15:20:19 +00:00
Jeffrey Altman
5885116e65 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)
2008-04-07 15:17:47 +00:00
Jeffrey Altman
15fa0fedea DEVEL15-windows-freelance-two-20080407
LICENSE MIT

do not add the scp into the hash table twice.


(cherry picked from commit 8f57819a99273812c1d9ba7ec504689b05b83b14)
2008-04-07 07:00:46 +00:00
Jeffrey Altman
c8d8ea2e30 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)
2008-04-07 06:48:19 +00:00
Marc Dionne
4d7406d4d7 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)
2008-04-07 04:49:00 +00:00
Jeffrey Altman
c7afb01bce 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)
2008-04-06 14:37:22 +00:00
Derrick Brashear
63ab4ad9cf DEVEL15-revert-ubik-changes-20080405
LICENSE IPL10

these changes are unneeded; remove them


(cherry picked from commit 5dd7e65c6fd233e70d98b271cbf48ac2356efe0f)
2008-04-05 19:03:24 +00:00
Kevin McBride
941f7e728e 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)
2008-04-04 20:58:45 +00:00
Derrick Brashear
2cee167d04 DEVEL15-tubik-more-makefile-fun-20080404
LICENSE IPL10

kill off library name reuse


(cherry picked from commit e62727e328c8fad2a5b7b305745a248d9aabe19a)
2008-04-04 16:40:04 +00:00
Kevin McBride
38b3c87076 DEVEL15-tubik-vos-20080403
LICENSE IPL10

build pthreaded vos


(cherry picked from commit 65e701fee4968b17066bb81e25b7adaa4024d4f3)
2008-04-03 17:41:29 +00:00
Derrick Brashear
73af04420b DEVEL15-tubik-20080403
LICENSE IPL10

avoid bogus dependency here too


(cherry picked from commit 5f67c569455f0597d42b5a2cccf89e470ed74c53)
2008-04-03 15:20:53 +00:00
Derrick Brashear
ad1c381bbf DEVEL15-tubik-one-more-20080402
LICENSE IPL10

handle the rest of the issues


(cherry picked from commit bc1a7f1ee8fb12eeb7b54f89987e6f240627a579)
2008-04-03 04:54:53 +00:00
Derrick Brashear
54a40fb043 DEVEL15-tubik-makefiles-fun-20080402
LICENSE IPL10

these fixes brought to you by delicious beer.


(cherry picked from commit 33161360381d5ec67f884c087da26bd8009a0511)
2008-04-03 02:20:44 +00:00
Derrick Brashear
55b51230ad DEVEL15-tubik-makefile-fixes-20080402
LICENSE IPL10

don't use gmake macros. ick


(cherry picked from commit ec02ff4342844c0d83ed3e9e5e27aef7c3af7204)
2008-04-02 22:44:04 +00:00
Steven Jenkins
984774fba8 DEVEL15-pthreaded-ubik-20080402
LICENSE IPL10

add pthreaded ubik and various binaries


(cherry picked from commit 9fbbc3f50cc6f04796a8a444bc06acc66a9c55a6)
2008-04-02 21:06:31 +00:00
Marc Dionne
4acf4624d2 DEVEL15-linux-flush-compare-20080402
LICENSE IPL10

because i let this slip out like this. sigh.


(cherry picked from commit 93c326ef08cacc730470a7af75041d943825260b)
2008-04-02 19:21:49 +00:00
Harald Barth
e8595185ca DEVEL15-linux-flush-unlock-20080402
LICENSE IPL10

because i let this slip out like this. sigh.


(cherry picked from commit 31d06c78b2f8ea14877bebf05097b33cc7e233f2)
2008-04-02 14:10:00 +00:00
Tom Keiser
d17e469ade DEVEL15-salvageserver-init-handler-lock-20080401
LICENSE IPL10

init lock


(cherry picked from commit 5fe4de574dba287b8197263028ac49014955a483)
2008-04-01 21:29:12 +00:00
Derrick Brashear
09b0559082 DEVEL15-tsalvaged-clean-20080401
LICENSE IPL10

make clean target work here


(cherry picked from commit 0faa1e0412c4cb22e6820473fa60cdea5d516550)
2008-04-01 21:17:27 +00:00
Derrick Brashear
6a2084b9a3 DEVEL15-vol-osi-assert-20080401
LICENSE IPL10

undo the old windows afs assert undoing


(cherry picked from commit 48838bab91b50a5cf8cd3fb7d1902e6b7525bb86)
2008-04-01 21:05:36 +00:00
Derrick Brashear
053b53c4ae 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)
2008-04-01 19:15:40 +00:00
Simon Wilkinson
39634597ca DEVEL15-aklog-tidyup-20080401
LICENSE IPL10
FIXES 92643

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


(cherry picked from commit 3f54c934b9c933d5f34644a096c821375db17d97)
2008-04-01 18:44:40 +00:00
Derrick Brashear
e06edab7c8 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)
2008-04-01 17:51:31 +00:00
Tom Keiser
b3e5653325 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)
2008-04-01 15:12:06 +00:00