]>
git.michaelhowe.org Git - packages/o/openafs.git/log
Jeffrey Altman [Fri, 28 Dec 2007 07:26:00 +0000 (07:26 +0000)]
DEVEL15-windows-get-buffer-
20071228
LICENSE MIT
cm_BkgPrefetch() contained two errors. First, the loop at the top of the
function that ensures that a cm_buf_t is allocated for each of the offset
positions failed to actually obtain the buffer for the specified offset.
Instead, it repeatedly obtained the buffer for the starting base address.
Second, cm_GetBuffer() would reserve all of the buffers associated with
the cm_scache_t even in the case where we already have a callback and the
existing buffer has the proper data version number. In that situation
reserving the buffers simply wastes valuable time.
(cherry picked from commit
33aeecd83f8ce670269868145648ae6e277cf3cb )
Jeffrey Altman [Fri, 28 Dec 2007 07:13:15 +0000 (07:13 +0000)]
DEVEL15-windows-cell-aliases-
20071228
LICENSE MIT
Fix the lookup of cell aliases to:
1. avoid re-reading CellServDB each time a cell alias is specified
2. avoid reconstructing the vlserver list for the cell each time an
alias is specified
3. permit aliases to be used when AFSDB records were used previously
with the full cell name
(cherry picked from commit
d942d97ed82b9f4b86fdea8443912ec64b28dd96 )
Jeffrey Altman [Fri, 28 Dec 2007 07:09:11 +0000 (07:09 +0000)]
DEVEL15-windows-bkg-daemon-threads-
20071228
LICENSE MIT
Reduce the default number of background daemon threads used for prefetch and
store operations to one. Given the current implementation when more than
one thread is allocated they step on each other's toe while fighting over
locks.
A better model might be to divide up threads based upon cells or volumes
as a means of preventing contention.
(cherry picked from commit
7a1253d1d180716f2aace6e8c115f845fbfe003d )
Jeffrey Altman [Thu, 27 Dec 2007 21:00:41 +0000 (21:00 +0000)]
DEVEL15-windows-default-chunksize-
20071227
LICENSE MIT
Drop the default chunksize to 18 (256KB) from 20 (1MB) due to the increased
propensity to timeout reads on slow network connections.
(cherry picked from commit
1e262e133d2fa0464d6419b1acc6fd2c075f9dbd )
Jeffrey Altman [Wed, 26 Dec 2007 16:22:19 +0000 (16:22 +0000)]
DEVEL15-windows-callback-restore-multi-cell-servers-
20071226
LICENSE MIT
The case of openafs.org and grand.central.org is a hideous abuse of
the AFS cell name space. There are many negatives associated with
trying to support two different cell names pointing at overlapping
vlserver lists:
(1) The CM can store duplicate entries for all of the data simply because
the cell name that was used is different
(2) If the CM attempts to optimize the data storage by aliasing or otherwise
combining the cell names as part of one cm_cell_t object, then future
attempts to separate the two cell names will require the destruction
of the cache.
(3) If the CM does not associate a callback revoke with a particular cell,
then the status data associated with any entry that matches the revoked
AFSFid will be discarded. For volume callbacks this can have a serious
impact because volume IDs are not unique across cells and discarding
status data for readonly volumes that are in use can result in a
significant number of FetchStatus requests being sent to the associated
file server.
There are other issues as well involving authentication.
The case of openafs.org advertising the vlserver addresses of
grand.central.org should be considered a hack; a hack that the Windows
client will no longer ensure will work.
Additional debugging messages have been added to assist individuals attempting
to debug why callback revokes do not appear to take affect when two cell
names share the same vlserver data.
(cherry picked from commit
56a82598b19e4232b0095c2b5778d4571c8aa9b2 )
Jeffrey Altman [Tue, 25 Dec 2007 23:06:14 +0000 (23:06 +0000)]
DEVEL15-windows-pthread-
20071225
LICENSE MIT
The pthread_cond_timedwait/wait implementations were broken. Not only
did they return the wrong error values but more importantly, they did not
always return with the mutex locked.
(cherry picked from commit
b41b3bb52eaba52bba8fda0c49083322d6959238 )
Jeffrey Altman [Tue, 25 Dec 2007 22:59:46 +0000 (22:59 +0000)]
DEVEL15-rx-event-handler-
20071225
LICENSE MIT
Update event_handler() for Windows. The return code of
pthread_cond_timedwait() is not limited to 0 and -1 because 'errno'
cannot be set. Instead of setting 'errno' the error code is returned
directly by the function as the return code.
This patch is only for debugging purposes to track the number of
success, timeout, and other errors experienced by the routine.
(cherry picked from commit
6b1537b246732e4f7f67661d8230d051db8f3f8d )
Jason Edgecombe [Tue, 25 Dec 2007 22:29:58 +0000 (22:29 +0000)]
DEVEL15-man-page-license-change-
20071225
LICENSE BSD
Update man pages submitted by Jason Edgecombe to the BSD license.
(cherry picked from commit
7dc4925cd35036e7f7b448d15a291791cd025e86 )
Jason Edgecombe [Tue, 25 Dec 2007 22:26:43 +0000 (22:26 +0000)]
DEVEL15-man-page-misc-updates-
20071225
LICENSE BSD
Add some additional cross-references, add some missing man pages, fix a
few references to the OpenAFS manuals, document the -live flag to vos
move, and add an example for rxdebug.
(cherry picked from commit
84ef02b0f392c761211adc7d5876217ad835c6c0 )
Andrew Deason [Tue, 25 Dec 2007 22:23:43 +0000 (22:23 +0000)]
DEVEL15-man-page-fileserver-debug-
20071225
LICENSE BSD
The file server debug flag is -d, not -debug.
(cherry picked from commit
9f97c5cf74358116a109a4982588d61164456714 )
Jeffrey Altman [Tue, 25 Dec 2007 22:01:44 +0000 (22:01 +0000)]
DEVEL15-windows-callback-revoke-multi-cell-servers-
20071225
LICENSE MIT
Remove the callback revoke optimization that prevents a (vol,vn,uniq)
tupple from invalidating entries from multiple cells. We cannot reliably
determine the cell from the server because the server might be identified
as belonging to more than one cell. For example, openafs.org and
grand.central.org.
(cherry picked from commit
69d62d59689c7cd9758177f1f23d3b60df3a8a40 )
Jeffrey Altman [Mon, 24 Dec 2007 05:30:37 +0000 (05:30 +0000)]
DEVEL15-windows-hold-server-mutex-for-vol-list-
20071223
LICENSE MIT
When walking or modifying the cm_server_vols_t associated with a given
cm_server_t the mutex must be held. Otherwise, races can occur.
(cherry picked from commit
b0bae13aec9acb944d5d6a64c11df857ffc40eb3 )
Jeffrey Altman [Mon, 24 Dec 2007 05:24:14 +0000 (05:24 +0000)]
DEVEL15-windows-daemon-threads-shutdown-sync-
20071223
LICENSE MIT
Windows Error Reporting received crashes caused by a failure to synchronize
the shutdown of the AFS client service with the background daemon threads.
The daemon threads (cm_Daemon, cm_BkgDaemon+, cm_IPAddrDaemon) could be
accessing data structures as they were being freed or unmapped.
Add synchronization mechanisms to signal the termination of the threads
with the shutdown of the service.
(cherry picked from commit
8a923a199d91aae6d1fc9bb6a2f1856fe5dbcb07 )
Jeffrey Altman [Mon, 24 Dec 2007 05:19:09 +0000 (05:19 +0000)]
DEVEL15-windows-update-volume-status-
20071223
LICENSE MIT
Refactor cm_UpdateVolumeStatus. Revise behavior to treat volid 0 as
update the volume status for all volumes in the volume group.
(cherry picked from commit
815cd6f19ec37330e7829506c1208c9426b3a41f )
Jeffrey Altman [Mon, 24 Dec 2007 05:15:42 +0000 (05:15 +0000)]
DEVEL15-windows-server-lock-error-
20071224
LICENSE MIT
The cm_serverLock must be write locked to modify the refCount
(cherry picked from commit
1b90fc5329dc7dd2055ab9150e3709b2b2cfac06 )
Jeffrey Altman [Sun, 23 Dec 2007 04:52:58 +0000 (04:52 +0000)]
DEVEL15-windows-volstat-and-vista-dfs-support-
20071222
LICENSE MIT
This patch completes the implementation of smb_ReceiveTran2GetDFSReferral()
which is called by Vista even if we do not advertise the support of DFS
referrals. It also adds DFS link mapping notifications to the volstat
interface which can be used by volstat plug-ins to redirect requests to
the dfs target path.
Other miscellaneous items:
(1) return EAS_NOT_SUPPORTED instead of EA length 0 and silently accepting
but not storing EA data
(2) Call cm_VolStatus_Service_Started() before smb initialization instead
of afterwards
(3) During directory enumeration and link assembly push the UNC path into
the lower levels by storing references to the tidPath and the relative
paths within the cm_req_t object.
(4) During directory enumeration make absolutely sure that we do not
reference an unallocated cm_dirEntry_t object
(5) publish a prototype for cm_FollowMountPoint()
(6) return ERROR_RETRY instead of BAD_NETWORK_PATH if the server returns
VBUSY
(7) return PATH_NOT_COVERED instead of BADSHARENAME for DfsLinks when
a volstat plugin is in use
(cherry picked from commit
150919d690eca9ee00d3ce549554a058662c360c )
Jeffrey Altman [Sun, 23 Dec 2007 04:16:54 +0000 (04:16 +0000)]
DEVEL15-windows-freelance-scache-
20071222
LICENSE MIT
(1) remove a race condition caused by holding and releasing the
cm_Freelance_Lock while using a pointer into a private freelance
data structure
(2) do not reference a localMountPoint object that is not allocated
(3) properly assign the DFSLINK file type
(4) update the buffer data versions when we update the contents of
the stat cache object and its buffers to match the registry
contents
(cherry picked from commit
bb77b085ff420d8b13c1a71b3144b6b31258ad3d )
Jeffrey Altman [Sun, 23 Dec 2007 03:44:58 +0000 (03:44 +0000)]
DEVEL15-windows-pioctl-listlink-
20071222
LICENSE MIT
In the error case (1) reference the mountPointString instead of the
output of cm_AssembleLink() which was not generated and (2) do not
free memory and objects that were not allocated nor reference counted.
(cherry picked from commit
111fb3a0a9525bb9d618dfa23cd1df3eb8eb61c5 )
Jeffrey Altman [Sun, 23 Dec 2007 03:39:59 +0000 (03:39 +0000)]
DEVEL15-windows-freelance-
20071222
LICENSE MIT
remove unused next field in cm_localMountPoint_t
(cherry picked from commit
0421cb2afcc19f05e83a2e415c3e93df8516da98 )
Jeffrey Altman [Sun, 23 Dec 2007 03:27:29 +0000 (03:27 +0000)]
DEVEL15-windows-fix-cb-expiration-
20071222
LICENSE MIT
corrects cb expiration that was broken by the osi_Time() -> time() change
in delta windows-readonly-volume-callbacks-
20071109
(cherry picked from commit
89203eb7065d7bd4e2a40f2afd5fab979ddf1008 )
Derrick Brashear [Wed, 19 Dec 2007 20:57:55 +0000 (20:57 +0000)]
DEVEL15-darwin-dont-assert-on-lock-state-in-remove-
20071219
LICENSE IPL10
remove panic due to lock being grabbedin another thread can't be accurately
covered with this test on darwin, as e.g. proc_selfthread() is not in the KPI
(cherry picked from commit
f54187bfc59797fe955e779d432d155ab3792022 )
Derrick Brashear [Tue, 18 Dec 2007 15:16:31 +0000 (15:16 +0000)]
DEVEL15-fix-verbose-vos-dump-
20071217
LICENSE IPL10
fix verbose vos dump to not put garbage in the stream when dumping to stdout
(cherry picked from commit
b072deb257da24746e8c1ec2b01ff3b779e866c8 )
Chaskiel M Grundman [Mon, 17 Dec 2007 21:12:57 +0000 (21:12 +0000)]
DEVEL15-shlibafsrpc-export-more-
20071217
LICENSE IPL10
shlibafsauthent uses these, export them
(cherry picked from commit
49a968ab68c9f0014d3d5801893c280d00696940 )
Chaskiel M Grundman [Mon, 17 Dec 2007 20:49:39 +0000 (20:49 +0000)]
DEVEL15-comerr-rename-
20071217
LICENSE IPL10
the mapfile was renamed so this got dropped in pullup
Adam Megacz [Fri, 14 Dec 2007 21:35:55 +0000 (21:35 +0000)]
DEVEL15-java-admin-interface-updates-
20071214
LICENSE IPL10
pdate java admin interface including support for 1.5
(cherry picked from commit
f72145f79a2f9b04a042de93940456a41cb6e8b0 )
Jeffrey Altman [Fri, 14 Dec 2007 13:35:39 +0000 (13:35 +0000)]
DEVEL15-windows-make-cleanup-
20071214
LICENSE MIT
Modify the dependencies for building the cbd and file server resource
files and delete the resource files as part of 'clean'.
(cherry picked from commit
77c86d6fd39cb8e21f2028292e682155dd587803 )
Jeffrey Altman [Fri, 14 Dec 2007 13:19:43 +0000 (13:19 +0000)]
DEVEL15-emulate-vsyslog-
20071214
LICENSE IPL10
Do not include vsyslog on Windows.
Include syslog.h for the syslog() prototype.
(cherry picked from commit
059031b3c6ff61340daad288deb378dc48cbd43a )
Derrick Brashear [Thu, 13 Dec 2007 23:06:08 +0000 (23:06 +0000)]
DEVEL15-aix-lam-aklog-set-token-name-
20071213
LICENSE IPL10
so we set an afs id in the tokens here also
(cherry picked from commit
bf26bc9486de7831ae298b11e9ca33ac14ed92a7 )
Derrick Brashear [Thu, 13 Dec 2007 22:41:53 +0000 (22:41 +0000)]
DEVEL15-emulate-vsyslog-
20071213
LICENSE IPL10
aix 5.3 lacks vsyslog. the fixed buffer is poor, but...
(cherry picked from commit
ea3d49eaea3d825e5b328e0fbb4382fe5b0249cd )
Derrick Brashear [Thu, 13 Dec 2007 21:22:39 +0000 (21:22 +0000)]
DEVEL15-aix-curpag-redux-
20071213
LICENSE IPL10
add curpag() support for aix, based on work by tom keiser
(cherry picked from commit
af3a4e78523596427235b45fc1892725a29bd1d6 )
Simon Wilkinson [Thu, 13 Dec 2007 20:06:26 +0000 (20:06 +0000)]
DEVEL15-redhat-rpm-mockable-
20071213
LICENSE IPL10
make us able to autobuild with mock. (may need krb5-devel outside the
if krb5support; if we do more thought will be involved)
(cherry picked from commit
fcc8aa021f6305209fb8cf638d5446206029f581 )
Derrick Brashear [Thu, 13 Dec 2007 19:47:46 +0000 (19:47 +0000)]
DEVEL15-vcache-track-maxvcount-accurately-
20071213
LICENSE IPL10
if we can alloc more vnodes, and we are looking for vlru cycles, a legit
vnode is not indicative of a cycle.
(cherry picked from commit
51d6d9cbbc5971623097624a58e400cf8ab5e5ab )
Derrick Brashear [Thu, 13 Dec 2007 19:18:29 +0000 (19:18 +0000)]
DEVEL15-shutdown-cleanup-
20071213
LICENSE IPL10
get rid of cold_shutdown; it's in afs_prototypes.h.
log when we don't clean up memory
(cherry picked from commit
b33fb96fff39c421064d03ff058dde76f2aeed8b )
Jeffrey Altman [Wed, 12 Dec 2007 04:25:38 +0000 (04:25 +0000)]
DEVEL15-windows-afslogon-null-pointer-deref-
20071211
LICENSE MIT
'tokenUser' can be dereferenced when NULL if GetTokenInformation() fails.
(cherry picked from commit
8f84815d0d8c9cc0b49eb29bfceeb03a7ae7f04f )
Mike Meffie [Tue, 11 Dec 2007 21:30:04 +0000 (21:30 +0000)]
DEVEL15-afs-serveriprank-return-void-
20071211
LICENSE IPL10
can't return 0 from void function
(cherry picked from commit
319ad227d12b8ab301d464c2460be74f7a44ec4d )
Mike Meffie [Tue, 11 Dec 2007 20:43:50 +0000 (20:43 +0000)]
DEVEL15-vldb-check-dont-return-int-from-void-
20071211
LICENSE IPL10
void functions shouldn't return 0
(cherry picked from commit
2e057314d957a8854ee3c912715a916c3f002863 )
Derrick Brashear [Tue, 11 Dec 2007 16:27:06 +0000 (16:27 +0000)]
DEVEL15-butc-no-retval-in-void-func-
20071211
LICENSE IPL10
fix the build again
(cherry picked from commit
bc70f0f0abcc0843c23a0f63ee6b2ad6b842983d )
Derrick Brashear [Mon, 10 Dec 2007 22:45:55 +0000 (22:45 +0000)]
DEVEL15-ubik-avoid-truncating-live-database-during-recovery-
20071210
LICENSE IPL10
FIXES 77183
currently we can truncate the live database while we are doing recovery.
address that.
(cherry picked from commit
0f9529171c37c4ef1e76156da111d83d04b38505 )
Derrick Brashear [Mon, 10 Dec 2007 22:42:30 +0000 (22:42 +0000)]
DEVEL15-afs-shutdown-cleanup-
20071210
LICENSE IPL10
FIXES 74479
clean up allocated resources when we shut down
(cherry picked from commit
f5fde5736f333e284a244467641f08727481b4ae )
Mike Meffie [Mon, 10 Dec 2007 22:26:24 +0000 (22:26 +0000)]
DEVEL15-find-cpp-from-slash-
20071210
LICENSE IPL10
find cpp using a full path, not the user's path, at least for now
(cherry picked from commit
e26be7b8e3c8ca73e6ef6640c7d2b8d8200a0c65 )
Jeffrey Altman [Mon, 10 Dec 2007 20:45:16 +0000 (20:45 +0000)]
DEVEL15-windows-remove-out-of-date-buffers-from-hash-tables-
20071210
LICENSE MIT
When a cm_MergeStatus operation determines that the current data buffers
are out of date, remove them from the buffer hash tables in order to speed
the lookup of valid data buffers.
(cherry picked from commit
649194188e4af21370faa1bf1217a887adae2572 )
Jeffrey Altman [Mon, 10 Dec 2007 20:35:06 +0000 (20:35 +0000)]
DEVEL15-windows-buffers-
20071210
LICENSE MIT
after removing cm_buf_t objects from the hash tables, clear the HT list
pointers to make debugging easier.
when modifying data version values in buf_ForceDataVersion() grab a
read lock on buf_globalLock instead of a write lock. A write lock is
only required if the hash table linked lists are being modified.
The dataVersion itself is protected by the cm_scache_t mx mutex being
held.
(cherry picked from commit
ef5e9a4dd7a4977d7d9f41266f2a0c491720e387 )
Carsten Jacobi [Mon, 10 Dec 2007 18:28:07 +0000 (18:28 +0000)]
DEVEL15-pam-expires-setting-should-be-32bit-
20071210
LICENSE IPL10
store as a 32 bit value explicitly so 32 bit routines don't leave garbage around here.
(cherry picked from commit
c057063abea93733170c1b31c91b52050a150a98 )
Mike Meffie [Mon, 10 Dec 2007 18:22:34 +0000 (18:22 +0000)]
DEVEL15-uss-lex-more-forward-decls-
20071210
LICENSE IPL10
forward declare this so picky compilers will do their jobs.
(cherry picked from commit
8114be0c6a311007125d6c01b9e0ee7a16b71c29 )
Derrick Brashear [Sun, 9 Dec 2007 23:35:37 +0000 (23:35 +0000)]
DEVEL15-cnvldb-prototypes-
20071209
LICENSE IPL10
forward declare these
(cherry picked from commit
c6db6a90bee37f91c56d1aa1c4ed5657c353b3a0 )
Derrick Brashear [Sun, 9 Dec 2007 06:07:31 +0000 (06:07 +0000)]
DEVEL15-aklog-no-dummy-write-on-aix5-
20071209
LICENSE IPL10
don't do the dummy write on aix5. we are better off actually working
(cherry picked from commit
40307b60236c8e43321a31ab524ec6edd61cbabf )
Derrick Brashear [Sat, 8 Dec 2007 17:59:06 +0000 (17:59 +0000)]
DEVEL15-writedcache-enforce-xdcache-writelock-
20071208
LICENSE IPL10
FIXES 59136
in order that the writes to CacheItems not be addled, we need to *actually*
hold a *write* lock when we write. not even just read as the comment says.
and certainly not none as was happening in the dir package.
(cherry picked from commit
c0a04c21cf36e4c8e25be9703f715f30d1bf55a6 )
Derrick Brashear [Sat, 8 Dec 2007 17:46:09 +0000 (17:46 +0000)]
DEVEL15-linux24-kernel-configure-test-
20071208
LICENSE IPL10
on linux 2.4 the try kbuild macro needs to try harder to notice what
symbols we don't have
(cherry picked from commit
55e581824fceea149b9a48ee928aa76e97c009a8 )
Jeffrey Altman [Fri, 7 Dec 2007 21:34:12 +0000 (21:34 +0000)]
DEVEL15-windows-wix-afslogon-
20071207
LICENSE MIT
Move afslogon.dll and afscpcc.exe to the OpenAFS\Client\Program directory
(cherry picked from commit
68021a6f2bf692e20044bb932501112934a09bac )
Jeffrey Altman [Fri, 7 Dec 2007 16:06:24 +0000 (16:06 +0000)]
DEVEL15-windows-release-notes-
20071207
LICENSE MIT
more updates for 1.5.28
Jeffrey Altman [Fri, 7 Dec 2007 16:05:22 +0000 (16:05 +0000)]
DEVEL15-windows-follow-backup-path-
20071207
LICENSE MIT
Add a registry value, FollowBackupPath, that provides the Windows cache
manager with functionality equivalent to the UNIX afsd -backuptree option.
(cherry picked from commit
ab939a6216161cd6afab74e60ca87d376145651c )
Jeffrey Altman [Fri, 7 Dec 2007 15:57:04 +0000 (15:57 +0000)]
DEVEL15-windows-version-
20071207
LICENSE IPL10
1.5.2800.0 == 1.5.28
Jeffrey Altman [Fri, 7 Dec 2007 15:54:21 +0000 (15:54 +0000)]
DEVEL15-windows-notes-
20071207
LICENSE IPL10
another change for 1.5.28
Derrick Brashear [Fri, 7 Dec 2007 04:47:22 +0000 (04:47 +0000)]
DEVEL15-openafs-1-5-28-
20071206
LICENSE IPL10
make 1.5.28
Jeffrey Altman [Wed, 5 Dec 2007 20:43:57 +0000 (20:43 +0000)]
DEVEL15-viced-cbstuff-
20071205
LICENSE IPL10
Keep track of AddCallBack calls in cbstuff.
Increment cbstuff.DeleteCallBacks after holding H_LOCK
(cherry picked from commit
974ad01826f39c817834c6377cf2872177fa7031 )
Jeffrey Altman [Wed, 5 Dec 2007 20:33:30 +0000 (20:33 +0000)]
DEVEL15-cbd-
20071205
LICENSE IPL10
Windows requires open() to be called with O_BINARY otherwise Ctrl-Z
means EOF which breaks dumpfile processing.
Be consistent about writing/reading time as afs_uint32 instead of
writing as afs_uint32 and reading as time_t since time_t can be 32-bit
or 64-bit depending on the platform.
(cherry picked from commit
946f416577914aef5b31e398994fb8876b4ee5e9 )
Derrick Brashear [Tue, 4 Dec 2007 21:09:49 +0000 (21:09 +0000)]
DEVEL15-largefile-avoid-wraparound-write-to-old-server-
20071204
LICENSE IPL10
FIXES 73720
apply analogous check that's in fileserver to clients writing to old servers
(cherry picked from commit
d13cd42cb4e0b2fe3f91565eac37dc3f3e6d3270 )
Derrick Brashear [Tue, 4 Dec 2007 21:03:33 +0000 (21:03 +0000)]
DEVEL15-inode-convertro-dont-include-volser-code-in-viced-
20071204
LICENSE IPL10
FIXES 77574
viced isn't an fssync client; avoid the convert volser code there
(cherry picked from commit
58dd384ba4020c924604ab612276948803333549 )
Derrick Brashear [Tue, 4 Dec 2007 20:40:53 +0000 (20:40 +0000)]
DEVEL15-linux-nfs-translator-dont-lose-nfs-pag-on-write-
20071204
LICENSE IPL10
avoid issue where nfs writes through the translator could become unpag'd because a background daemon came into play
(cherry picked from commit
ebbd12f3ab83eafa0d8cd6978a45a4cc0b248334 )
Derrick Brashear [Tue, 4 Dec 2007 20:31:07 +0000 (20:31 +0000)]
DEVEL15-afsdb-avoid-cross-task-stack-use-
20071204
LICENSE IPL10
really for aix, but simplified code universally.
(cherry picked from commit
a342c531a24544988e1a2c2ad1de6d555787989d )
Jeffrey Altman [Tue, 4 Dec 2007 20:14:31 +0000 (20:14 +0000)]
DEVEL15-windows-notes-
20071204
LICENSE IPL10
1.5.28
Jeffrey Altman [Tue, 4 Dec 2007 19:54:24 +0000 (19:54 +0000)]
DEVEL15-windows-release-notes-
20071204
LICENSE IPL10
1.5.28 updates
Jeffrey Altman [Tue, 4 Dec 2007 15:48:48 +0000 (15:48 +0000)]
DEVEL15-windows-giveupallcallbacks-
20071204
LICENSE IPL10
Add a registry value, GiveUpAllCallBacks, that can be used to enable/disable
the use of the GiveUpAllCallBacks RPC. Due to the fact that calling this RPC
can destablize pre-1.4.6 file servers since they do not include DELTA
giveupallcallbacks-locking-
20071121 , the default is being set to disabled.
We can re-enable the functionality by default only after sufficient time
has been given for orgs to update their file servers.
(cherry picked from commit
1c33df3870bffd4aa2eaf43d8ec56a75a1a3cd0f )
Tracy Di Marco White [Sat, 1 Dec 2007 05:42:42 +0000 (05:42 +0000)]
DEVEL15-nbsd-new-version-
20071201
LICENSE IPL10
FIXES 75602
add support for new version(s) of netbsd
(cherry picked from commit
1daa2c0b4fd25f959f6436a9d9eb9a45b7cab379 )
Derrick Brashear [Fri, 30 Nov 2007 19:17:01 +0000 (19:17 +0000)]
DEVEL15-aix-pin-small-allocs-
20071130
LICENSE IPL10
we assume the small alloc pool is pinned. maybe we should pin it.
(cherry picked from commit
f9fddc03ec2f36528953f5264263458bf730506e )
Jeffrey Altman [Thu, 29 Nov 2007 20:55:30 +0000 (20:55 +0000)]
DEVEL15-windows-aklog-no-panic-if-no-kfw-
20071129
LICENSE MIT
(cherry picked from commit
e260ccde93009f7536d25ff6a42dcc1d126f08ec )
Jeffrey Altman [Thu, 29 Nov 2007 19:26:41 +0000 (19:26 +0000)]
DEVEL15-viced-drop-core-on-shutdownandcore-
20071129
LICENSE IPL10
FIXES 74708
when we call ShutDownAndCore, actually drop a core.
(cherry picked from commit
a6fd54900e9ac9f5bf2a419338341ad355639034 )
Jeffrey Altman [Thu, 29 Nov 2007 18:41:56 +0000 (18:41 +0000)]
DEVEL15-clean-felater-when-rechaining-
20071129
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 )
Derrick Brashear [Thu, 29 Nov 2007 18:34:32 +0000 (18:34 +0000)]
DEVEL15-zero-uio-on-zero-read-
20071127
LICENSE IPL10
avoid leaking random data in a read of a 0 length object.
(cherry picked from commit
262d1d1c70222b8378109674cd5090f602c52971 )
Jeffrey Altman [Thu, 29 Nov 2007 16:11:43 +0000 (16:11 +0000)]
DEVEL15-windows-volstat-headers-
20071129
move the enum volstat definition to cm_volstat.h from cm_volume.h.
fix the copyright.
(cherry picked from commit
7da027754463f7040c89b6a04c35d13d5fbe31d3 )
Jeffrey Altman [Thu, 29 Nov 2007 16:08:57 +0000 (16:08 +0000)]
DEVEL15-windows-smb-out-of-memory-
20071129
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 )
Jeffrey Altman [Thu, 29 Nov 2007 16:02:14 +0000 (16:02 +0000)]
DEVEL15-windows-daemon-shutdown-
20071129
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 )
Jason Edgecombe [Thu, 29 Nov 2007 05:54:15 +0000 (05:54 +0000)]
DEVEL15-man-page-symlink-
20071128
Add man pages for all the symlink commands (Windows-only).
(cherry picked from commit
1ee37a57d3d343b8d7a1ab26b6783d396624c856 )
Russ Allbery [Thu, 29 Nov 2007 05:51:03 +0000 (05:51 +0000)]
DEVEL15-man-page-vos-convertrotorw-fix-
20071128
Don't say that inode file servers are only available on Solaris and AIX.
(cherry picked from commit
6cd96f678e12570205d2cbf532b86219b1737c49 )
Jason Edgecombe [Thu, 29 Nov 2007 05:47:48 +0000 (05:47 +0000)]
DEVEL15-man-page-fs-sysname-improvements-
20071128
Update the fs sysname man page to document the behavior of multiple @sys
values.
(cherry picked from commit
3be37f4d1ca1e3fae238e58d07708577d5653ae2 )
Jason Edgecombe [Thu, 29 Nov 2007 05:44:11 +0000 (05:44 +0000)]
DEVEL15-man-page-fs-rxstatpeer-
20071128
New man page for fs rxstatpeer.
(cherry picked from commit
f78f007dc593ec6948bf904d7903223bd6046081 )
Steven Jenkins [Thu, 29 Nov 2007 05:39:53 +0000 (05:39 +0000)]
DEVEL15-man-page-fileserver-auditlog-
20071128
Remove duplicate -auditlog in the fileserver synopsis.
(cherry picked from commit
a7291b33490ce62a9ea5b93fab268e3c669a6051 )
Jason Edgecombe [Thu, 29 Nov 2007 05:35:33 +0000 (05:35 +0000)]
DEVEL15-man-page-additions-
20071128
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 )
Russ Allbery [Thu, 29 Nov 2007 05:17:29 +0000 (05:17 +0000)]
DEVEL15-man-fs-uuid-tweaks-
20071128
Some minor capitalization and formatting tweaks to the fs uuid man page.
(cherry picked from commit
5743116d700ce279cde3a8dee962757df509d557 )
Derrick Brashear [Wed, 28 Nov 2007 05:04:51 +0000 (05:04 +0000)]
DEVEL15-getpag-prototype-
20071127
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 )
Mike Meffie [Tue, 27 Nov 2007 20:46:24 +0000 (20:46 +0000)]
DEVEL15-linux-try-kbuild-deal-with-old-modpost-
20071127
the pre 2.6.20.1 modpost issued warnings and not errors for unresolvable symbols.
not overly useful.
(cherry picked from commit
eee1f81821656ed85720523750b312eaf0dd71b4 )
Derrick Brashear [Tue, 27 Nov 2007 20:02:35 +0000 (20:02 +0000)]
DEVEL15-macos-no-read-on-directories-
20071127
thanks to quentin@mit.edu for pointing this out.
no read() on directories
(cherry picked from commit
746aab982ae3b7b6e1fb8109e5e9892a1821d6ec )
Marc Dionne [Tue, 27 Nov 2007 19:28:26 +0000 (19:28 +0000)]
DEVEL15-linux-hash-inodes-for-mmap-
20071127
FIXES 78544
inodes are only added to the superblock dirty list if hashed.
do so.
(cherry picked from commit
89261e8b84697f3b5158e197ca9946c6fe9f45ed )
Asanka Herath [Tue, 27 Nov 2007 17:31:39 +0000 (17:31 +0000)]
DEVEL15-windows-nim-afscred-double-free-
20071127
fix a double free on error condition
(cherry picked from commit
4172d60820fdf3375091b0a451e8d25809019d8d )
Derrick Brashear [Mon, 26 Nov 2007 22:20:27 +0000 (22:20 +0000)]
DEVEL15-redhat-cleanup-authlibs-correctly-
20071126
when not packaging authlibs, correctly discard them
(cherry picked from commit
3c401f4724bea0b39baabfb3e38168886925e358 )
Derrick Brashear [Mon, 26 Nov 2007 22:12:04 +0000 (22:12 +0000)]
DEVEL15-volprocs-alloc-vnode-instead-of-using-stack-
20071126
don't use stack here; alloc memory for short term use
(cherry picked from commit
4f98eb48fccde9dd70708b2dd6b0903745d16b7a )
Rainer Toebbicke [Mon, 26 Nov 2007 21:47:29 +0000 (21:47 +0000)]
DEVEL15-namei-avoid-spurious-emfile-
20071126
FIXES 77531
before we did not handle the fd cache runnign dry. "oops"
(cherry picked from commit
48bcb88ddc8fe7baa7a2b0f8decee7e704ad32ef )
Christof Hanke [Mon, 26 Nov 2007 21:08:38 +0000 (21:08 +0000)]
DEVEL15-assorted-warning-cleanup-
20071126
add missignheader files, missing return values, correct a few calls to printf
(cherry picked from commit
da18bb147b25e62ed69c6f88fa6331161018d9fb )
Christof Hanke [Mon, 26 Nov 2007 20:39:46 +0000 (20:39 +0000)]
DEVEL15-kauth-ubik-wrap-pad-requisite-args-out-
20071126
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 )
Derrick Brashear [Fri, 23 Nov 2007 14:32:56 +0000 (14:32 +0000)]
DEVEL15-enhance-afsdb-debugging-
20071123
allow cmdebug to show locks on cells. add fstrace event for afsdb
(cherry picked from commit
b776352e3b824d7c733ef05a71eac85c025b290b )
Sean O'Malley [Fri, 23 Nov 2007 13:59:34 +0000 (13:59 +0000)]
DEVEL15-krb5-klog-solaris-
20071123
FIXES 77575
make this work on solaris
(cherry picked from commit
aa5c3518df8d73c2b0aa625e77179f33df97c2af )
Marc Dionne [Fri, 23 Nov 2007 13:40:36 +0000 (13:40 +0000)]
DEVEL15-linux-2624-
20071123
FIXES 77370
support linux 2.6.24
(cherry picked from commit
af7cf697ef8c0a416251d3fbfd516738e14c290b )
Derrick Brashear [Fri, 23 Nov 2007 13:03:05 +0000 (13:03 +0000)]
DEVEL15-macos-buildpkg-cleanup-cruft-
20071123
don't leave the old dmg around since it makes a new one bomb
(cherry picked from commit
dda101f22d4690f2c7c8731740fd9676f2a85c66 )
Jeffrey Altman [Wed, 21 Nov 2007 19:34:36 +0000 (19:34 +0000)]
DEVEL15-giveupallcallbacks-locking-
20071121
FIXES 74708
Hold H_LOCK across calls into GiveUpAllCallbacks_r
(cherry picked from commit
b0b3565b69b0b8fda46b25e7bd73c5116b32d83e )
Jeffrey Altman [Wed, 14 Nov 2007 17:19:41 +0000 (17:19 +0000)]
DEVEL15-windows-dv-logging-
20071114
64-bit data version logging updates
(cherry picked from commit
5d84c50e5eb754eb33de0e53eab3fd64d170bb36 )
Jeffrey Altman [Wed, 14 Nov 2007 06:23:33 +0000 (06:23 +0000)]
DEVEL15-windows-64bit-data-version-
20071114
Add support for 64-bit AFSFetchStatus data version values
(cherry picked from commit
5d245327f057389950c30bb36af6d12f6f96c73a )
Derrick Brashear [Wed, 14 Nov 2007 04:36:14 +0000 (04:36 +0000)]
DEVEL15-dafs-inode-convert-
20071113
the dafs version of this
(cherry picked from commit
473b0345210c98a44cffb8c5de1d0da5980969f4 )
Derrick Brashear [Tue, 13 Nov 2007 22:15:20 +0000 (22:15 +0000)]
DEVEL15-inode-convert-ro-to-rw-
20071113
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 )
Derrick Brashear [Tue, 13 Nov 2007 00:47:19 +0000 (00:47 +0000)]
DEVEL15-redhat-spec-no-strip-
20071112
suggested by simon. debuginfo support in rpmbuild strips for us. deal here.
(cherry picked from commit
524f749430e78edab581ad84978d13870911b6f8 )
Simon Wilkinson [Tue, 13 Nov 2007 00:31:25 +0000 (00:31 +0000)]
DEVEL15-redhat-reunrevert-fedora-build-change-
20071112
"oops"
(cherry picked from commit
606ce43066bf1d818a990982f9704a973371c456 )