Russ Allbery [Thu, 29 Nov 2007 05:51:03 +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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
DEVEL15-redhat-reunrevert-fedora-build-change-
20071112
"oops"
(cherry picked from commit
606ce43066bf1d818a990982f9704a973371c456)
Derrick Brashear [Tue, 13 Nov 2007 00:03:11 +0000]
DEVEL15-redhat-packaging-updates-
20071112
FIXES 76890
various updates to deal with fedora 8 and remove obsolete stuff
(cherry picked from commit
9f284c66a9ad685eab201e480372633d538938b3)
Jeffrey Altman [Mon, 12 Nov 2007 19:04:27 +0000]
DEVEL15-viced-accurately-track-file-callbacks-
20071112
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)
Kevin McBride [Mon, 12 Nov 2007 18:28:30 +0000]
DEVEL15-autoconf-strip-debug-options-sanity-
20071112
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)
Tom Keiser [Mon, 12 Nov 2007 18:19:59 +0000]
DEVEL15-dafs-optimize-shutdown-
20071112
optimize shutdown case as is done elsewhere, for dafs.
(cherry picked from commit
cd8311641fd32328dd1d8a07b1318ecb53726bd1)
Jeffrey Altman [Mon, 12 Nov 2007 03:25:55 +0000]
DEVEL15-windows-readonly-volume-callbacks-
20071111
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)
Russ Allbery [Mon, 12 Nov 2007 00:15:20 +0000]
DEVEL15-man-page-name-underscore-more-
20071111
Missed fs apropos when fixing NAME entries to eliminate spaces.
(cherry picked from commit
e61efde3236b9cd09a09cb9e869b27a14b68c4ac)
Russ Allbery [Sun, 11 Nov 2007 23:51:04 +0000]
DEVEL15-man-page-name-underscore-
20071111
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)
Jeffrey Altman [Sat, 10 Nov 2007 22:55:19 +0000]
DEVEL15-windows-readonly-volume-callbacks-
20071110
avoid a deadlock
(cherry picked from commit
b5935d47fb5b06c4f1c74c3671af4b1a481b8ab3)
Simon Wilkinson [Sat, 10 Nov 2007 20:13:39 +0000]
DEVEL15-libafsrpc-makefile-fix-
20071110
FIXES 76836
fix double / in makefile
(cherry picked from commit
dd1535d31509d48d961085809c132b398edd80ff)
Dan Hyde [Sat, 10 Nov 2007 00:37:50 +0000]
DEVEL15-viced-missing-lock-
20071109
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)
Jeffrey Altman [Sat, 10 Nov 2007 00:19:20 +0000]
DEVEL15-cmdebug-human-readable-expiration-time-
20071109
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)
Jeffrey Altman [Sat, 10 Nov 2007 00:15:55 +0000]
DEVEL15-windows-readonly-volume-callbacks-
20071109
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)
Derrick Brashear [Fri, 9 Nov 2007 20:18:33 +0000]
DEVEL15-clean-platform-
20071109
clean platform dir
(cherry picked from commit
15a52f254b8c079a1e640e18ce90508861ec5d96)
Derrick Brashear [Fri, 9 Nov 2007 19:31:22 +0000]
DEVEL15-macos-packaging-updates-
20071109
make the readme correct. make dmgs which have a useful name
(cherry picked from commit
10ff33e6092a63107600b3b58c44c8d15849bbe6)
Derrick Brashear [Fri, 9 Nov 2007 19:20:29 +0000]
DEVEL15-hpux11-thread-lock-tracking-
20071109
do this for hpux also
(cherry picked from commit
757bdb092ec4e1db9c7dc949499cc761982bd105)
Derrick Brashear [Thu, 8 Nov 2007 14:40:12 +0000]
DEVEL15-darwin-vfs-context-pullback-
20071108
again, commit fix we have in 1.4
(cherry picked from commit
bb900e97df905c9805d9e7dc53a9303c671cf819)
Derrick Brashear [Thu, 8 Nov 2007 14:28:04 +0000]
DEVEL15-reconvert-aklog-to-afs-com-err-
20071108
make this match what we're shipping in 1.4
(cherry picked from commit
7f8f251c3f252e352096f972e71c93db5cd9d3d9)
Derrick Brashear [Thu, 8 Nov 2007 14:23:27 +0000]
DEVEL15-aix5-revert-kcred-
20071108
pull this back to 1.5 and head
(cherry picked from commit
277c37f48c8126ba9cb986ffc7361fcb98e2bbf2)
Derrick Brashear [Thu, 8 Nov 2007 14:14:49 +0000]
DEVEL15-revert-aix5-curpag-
20061009
failed to commit this. commit now
VS: ----------------------------------------------------------------------
(cherry picked from commit
763dc42ff054dfd12c60aaf184271aedfffe589a)
Derrick Brashear [Wed, 7 Nov 2007 04:43:42 +0000]
DEVEL15-openafs-1-5-27-
20071106
make 1.5.27
Derrick Brashear [Wed, 7 Nov 2007 04:33:59 +0000]
DEVEL15-shutdown-cleanup-not-yet-
20071106
(cherry picked from commit
044b90beb46177691fd05e08d552a37a48ad2ac8)
Jeffrey Altman [Wed, 7 Nov 2007 04:09:13 +0000]
DEVEL15-windows-notes-
20071106
1.5.27
Jeffrey Altman [Wed, 7 Nov 2007 04:04:20 +0000]
DEVEL15-linux-nsec-timestamp-zero-
20071106
don't leave garbage in nsec
(cherry picked from commit
ad30730abd77fa489a6d3777e26621357724af9f)
Jeffrey Altman [Wed, 7 Nov 2007 03:42:23 +0000]
DEVEL15-windows-release-notes-
20071106
1.5.27
Jeffrey Altman [Wed, 7 Nov 2007 02:55:33 +0000]
DEVEL15-windows-version-
20071106
1.5.27 == 1.5.2700.0
Anders Kaseorg [Tue, 6 Nov 2007 18:32:37 +0000]
DEVEL15-linux-splice-support-
20071106
support splice in kernels new enough to support it (sendfile is deprecated)
(cherry picked from commit
1951d7d6c773aead0ea6e9d120e23d15fee4a29f)
Derrick Brashear [Mon, 5 Nov 2007 22:10:48 +0000]
DEVEL15-aklog-no-kimpersonate-in-more-cases-
20071105
aix's NAS kerberos can't support kimpersonate. deal
(cherry picked from commit
e06a144f33347bcac29131cd450d828c2803b9c0)
Derrick Brashear [Mon, 5 Nov 2007 21:44:23 +0000]
DEVEL15-krb5-klog-no-err-table-yet-
20071105
right now we don't have this everywhere, until we reorder libraries, and
test usefully with configure, forget it.
(cherry picked from commit
bf7787ba99d5cae9a9413ba59dd4c01996a6d557)
Thomas Mueller [Mon, 5 Nov 2007 20:29:11 +0000]
DEVEL15-cbd-use-callback-size-for-callbacks-
20071105
FIXES 76408
cast correctly
(cherry picked from commit
564be8601c1447b85984eb3773b48ccaa22b4343)
Jeffrey Altman [Mon, 5 Nov 2007 18:26:49 +0000]
DEVEL15-windows-bplus-tree-
20071105
Migrate search key into thread local storage
(cherry picked from commit
55149d5e2b69cd6dfa7f6fd3d02e0d488b3fd69d)
Jeffrey Altman [Mon, 5 Nov 2007 18:24:34 +0000]
DEVEL15-windows-afsd-notification-
20071105
fidp->cell is not a pointer
(cherry picked from commit
981f984b2dd675bab31d5d0374592c9e0fa12bbb)
Jeffrey Altman [Mon, 5 Nov 2007 00:24:45 +0000]
DEVEL15-windows-afsd-notification-
20071104
the difference between osi_assert() and osi_assertx() is whether or not
a description is specified as part of the call. When no message is
specified afsd_notifier() is called with a NULL msgp parameter. This
results in a null pointer dereference during the EventLog() call.
As a result, none of the information describing the assertion is written
to the log file.
This commit sets a default message for use when no other message is
provided and it replaces all calls to osi_assert with osi_assertx and
adds descriptions.
(cherry picked from commit
89ac3ec2f68db045cf719d619eea1fb97a6364a3)
Jeffrey Altman [Mon, 5 Nov 2007 00:18:37 +0000]
DEVEL15-windows-osi-lock-assert-msg-
20071104
modify lock_AssertXXX macros to call osi_assertx() and provide a
descriptive message.
(cherry picked from commit
bc7a0be8eb24f5347b8a5b51067b15270aa84691)
Asanka Herath [Sat, 3 Nov 2007 16:33:54 +0000]
DEVEL15-windows-scache-syncop-waiters-
20071103
One of the issues that has become a serious problem since the addition
of the local directory updates is that although cm_SyncOp synchronizes
operations, it does not preserve the order of requests. This has always
been a problem in that it has been possible for a request to fail to
complete due to its worker thread's bad luck. When a request takes
longer than the Windows SMB Redirector's timeout, the SMB Redirector
tears down the SMB virtual circuit.
When using the local directory updates it is really important that
the directory update operations complete in the order that they were
sent to the file server. If they don't, then the local directory
state and the file server state will not match and the local directory
state must be discarded which in turn forces a new read of the entire
directory contents over the network.
This patch adds a new cm_scache_waiter_t object that is used to store
the current thread, buffer, and syncop flags within a waiters queue
on each cm_scache_t object. If a thread is forced to sleep in cm_SyncOp,
upon waking it will check to see if there are any other threads waiting
that are attempting to perform a similar task ahead of it in the queue.
If yes, the thread goes back to sleep. If not, it goes ahead and
enters the cm_SyncOp conflict resolution block.
This patch has the additional side effect of reducing the number of
competing threads that must obtain the cm_scache_t mutex and process
the cm_SyncOp conflict resolution block. As a result, the overall
CPU utilization of the service and the clock time associated with
processing requests will be reduced.
(cherry picked from commit
45e2d81aa3f62927adc85e4e23daf511478829e4)
Jeffrey Altman [Sat, 3 Nov 2007 16:19:28 +0000]
DEVEL15-windows-dir-
20071103
Reorganize the locking for cm_BeginDirOp and cm_EndDirOp.
There are a number of locations where locks are obtained, dropped, and
reobtained. This reorganization attempts to accomplish several things:
(1) be optimistic for the most common case so it will be fast
(2) add consistency checks after each location where locks are dropped
and re-obtained. If we lose a race in cm_BeginDirOp and the bplus
tree is out of date, retry until we get to a consistent state
that we can use.
(3) Ensure that all operations take place with the correct locks.
(cherry picked from commit
2c45d9ec9fc888c2c6eed46538fe4a9c440e3c8c)
Jeffrey Altman [Sat, 3 Nov 2007 16:09:14 +0000]
DEVEL15-windows-buf-
20071103
assert that the cm_scache_t mutex is held when calling
buf_ForceDataVersion().
(cherry picked from commit
ef6684d005b3858dd6a1a94deee48b4bbd167932)
Jeffrey Altman [Sat, 3 Nov 2007 16:06:53 +0000]
DEVEL15-windows-bplus-tree-
20071103
rename findNode to leafNode in bplus_Lookup
replace all OutputDebugString calls with osi_LogX calls
modify bestMatch to special case the return values for leaf nodes.
If an entry is above or below the values available in the leaf node
return BTLOWER or BTUPPER instead of BTERROR.
In insert and delete operations check for BTLOWER/BTUPPER and isleaf,
if true convert to either slot 0 or Max and perform the insertion.
This produces easier to read code when performing lookups.
(cherry picked from commit
e4ddca6854f7bd4b4ce153b2377bb6ca31f44b8f)
Jeffrey Hutzelman [Sat, 3 Nov 2007 15:59:32 +0000]
DEVEL15-windows-cellservdb-
20071103
GCO Public CellServDB 25 Oct 2007
(cherry picked from commit
a08f0f4dc05890147eb58d8420ada45d2bf69864)
Jeffrey Altman [Sat, 3 Nov 2007 01:07:29 +0000]
DEVEL15-windows-install-des-prototypes-
20071102
required by auth-getkey-prototyping-
20071102
(cherry picked from commit
75729fa4ae564f1c5e9efb6f387840ab4b24263f)
Derrick Brashear [Fri, 2 Nov 2007 18:05:07 +0000]
DEVEL15-auth-getkey-prototyping-
20071102
make this sane
(cherry picked from commit
32828680ae0342b91bea9fc2c4ecceb25510d7f3)
Ken Raeburn [Thu, 1 Nov 2007 19:13:39 +0000]
DEVEL15-viced-new-host-reup-h-lock-
20071101
FIXES 69384
don't leave lock dropped
(cherry picked from commit
6b5146db5b111aca5ab0b3f6423f67fb01303627)
Dale Ghent [Thu, 1 Nov 2007 17:07:31 +0000]
DEVEL15-solaris-cc-deal-with-new-64-bit-arch-specifier-
20071101
FIXES 75908
switch from -xmarch=amd64 to -m64
(cherry picked from commit
20a837c5cc0a093b3c74622056cca9f3f561bd6b)
Dale Ghent [Thu, 1 Nov 2007 16:57:37 +0000]
DEVEL15-solaris-nevada-update-
20071101
FIXES 75896
update for current solaris nevada
(cherry picked from commit
7a0df48baf351eb2aaa2b6c4da0054d111facdb9)
Simon Wilkinson [Thu, 1 Nov 2007 16:51:47 +0000]
DEVEL15-krb5-klog-
20071101
FIXES 75672
technically just pulling up mdw@umich.edu's work.
Simon Wilkinson [Thu, 1 Nov 2007 16:09:32 +0000]
DEVEL15-auth-cleanup-
20071101
kill warnings in auth directory
(cherry picked from commit
089a02bcbc9df2090c275e5620248f478be1e286)
Simon Wilkinson [Thu, 1 Nov 2007 16:02:26 +0000]
DEVEL15-rxgen-ansi-again-
20071101
ansified rxgen again, for 1.5
(cherry picked from commit
8b8e0935e474cc2f79638b97134fa9e2d55adee8)
Tom Keiser [Thu, 1 Nov 2007 15:00:03 +0000]
DEVEL15-dafs-salvage-deal-with-clones-
20071101
FIXES 75591
cope with trying to salvage a clone correctly
(cherry picked from commit
eea1cb08145b2669384b2380e0878067f826d3dd)
Chaskiel M Grundman [Thu, 1 Nov 2007 03:31:29 +0000]
DEVEL15-linux-afs-unlinked-file-dentry-flagging-
20071031
fix case:
perl -e 'open FOO, ">foo"; unlink(foo); @stat = stat(FOO); print "inode for foo(unlinked) is $stat[1]\n"; system("/bin/ls -ali | grep $stat[1]");'
(cherry picked from commit
c5678a4af78305cac2246480cc0c038655db324d)
Simon Wilkinson [Wed, 31 Oct 2007 22:31:57 +0000]
DEVEL15-more-anonymous-pointer-cleanup-
20071031
more char*->void* conversion
(cherry picked from commit
8214014855be3fb99c00c23400a2a3325b2b4a57)
Jeffrey Altman [Wed, 31 Oct 2007 15:36:02 +0000]
DEVEL15-windows-uaewouldblock-
20071031
Reorganize the order of the includes to ensure that EWOULDBLOCK is not
assigned the same value as EIO.
(cherry picked from commit
d16d5c031274e05ea27f12965e094ae42d8af9e5)
Jeffrey Altman [Wed, 31 Oct 2007 15:34:38 +0000]
DEVEL15-windows-btree-
20071031
Add additional validation and error handling code after each call to
getSlot(). If an invalid slot is returned, return NONODE. If the
invalid slot is returned when extracting a data node, invalidate the
tree.
Modify compareKeys() to always perform a case-insensitive comparison
and only perform a case sensistive comparison if the case-insensitive
one matches. This ensures the ordering is consistently reported.
Add lock assertions to ensure that all calls are being performed with
the correct locks being held. There have been some crash reports that
provide stack data that does not appear to be possible unless there is
a race. However, there are no obvious locations where the race is
taking place and the test suite indicates that all of the correct locks
are being held. We shall see what happens in the field.
For consistency replace all calls to findKey in which the range is
(1,numentries) with calls to getSlot().
Optimize the depth search loop by testing the slot value in the for
statement instead of forcing the loop to be broken later.
(cherry picked from commit
27ce37c7a0ea23c46c72484719697a900ac0a714)
Jeffrey Altman [Wed, 31 Oct 2007 15:25:01 +0000]
DEVEL15-windows-begindirop-
20071031
Avoid a race condition in cm_BeginDirOp() caused by the failure to
hold the cm_scache_t mutex while copying status data from the scp to
the dirop
(cherry picked from commit
cf0d1393f4df2c0a8840aa00db05de7bd221c275)
Jeffrey Altman [Wed, 31 Oct 2007 15:21:42 +0000]
DEVEL15-windows-cm_analyze-ewouldblock-
20071031
Add support for EWOULDBLOCK to cm_Analyze. If the file server returns
EWOULDBLOCK, retry the request every two seconds for up to the RDRtimeout.
(cherry picked from commit
ff4c519c789af1c4b126d926dd94f3efab1ebd14)
Simon Wilkinson [Wed, 31 Oct 2007 12:36:18 +0000]
DEVEL15-util-cleanup-
20071031
kill the warnings in src/util
(cherry picked from commit
3e1646fed23cb58a7220e622aeb8afd519bb9840)
Simon Wilkinson [Wed, 31 Oct 2007 04:21:14 +0000]
DEVEL15-openafs-bozo-varargs-
20071031
convert bozo to be prototypable
(cherry picked from commit
3f449eb48eb0f4069062401a6a27f7481c0e88d3)
Simon Wilkinson [Wed, 31 Oct 2007 04:09:10 +0000]
DEVEL15-openafs-void-star-pointers-
20071031
convert anonymous pointers from char* to void*
(cherry picked from commit
855e6442615ad2c42ca8f485d8a7efbcdb8f2105)
Simon Wilkinson [Tue, 30 Oct 2007 15:16:33 +0000]
DEVEL15-openafs-string-header-cleanup-
20071030
fix string head inclusion issue
(cherry picked from commit
7d05bd439e144aa3bc5fd68908d1a359182897b0)
Simon Wilkinson [Tue, 30 Oct 2007 03:56:53 +0000]
DEVEL15-redhat-packaging-update-
20071029
update rpm packaging stuff for what shipped in 1.4.5
(cherry picked from commit
7fe8131c049186e8340890a1effdf109d87f0611)
Simon Wilkinson [Fri, 26 Oct 2007 17:21:51 +0000]
DEVEL15-redhat-fedora-build-driver-
20071026
driver script for fedora builds
(cherry picked from commit
1b3ecae23c87a0d97b561169ca33a6e7eca449ee)
Derrick Brashear [Fri, 26 Oct 2007 17:11:14 +0000]
DEVEL15-redhat-spec-fix-hugemem-modpath-
20071026
make this match other kernsls
(cherry picked from commit
2ced26c8badb79a81152523bbfb4ef2cc476cb03)
Jeffrey Altman [Thu, 25 Oct 2007 05:49:00 +0000]
DEVEL15-windows-aclent-remove-extraneous-code-
20071024
Microsoft provided a dump showing cm_data.aclLRUEndp == NULL in
GetFreeACLEnt(). Couldn't find any reason why that would be true.
However, there is extraneous code that manipulates the value of
aclLRUEndp when it should be left to osi_QRemoveHT() to update
the pointer values.
Also add an additional explicit test for aclLRUEndp == NULL in
GetFreeACLEnt().
(cherry picked from commit
fb7595ad1d31c5ccafa18de854f2bf8bc8c067de)
Derrick Brashear [Thu, 25 Oct 2007 04:43:39 +0000]
DEVEL15-macos-installer-crap-
20071025
put it back the way it was
(cherry picked from commit
511aed14e0d18aa8c3a9a3742d79443912a4d9ff)
Derrick Brashear [Wed, 24 Oct 2007 19:22:21 +0000]
DEVEL15-STABLE14-yscall-cleanup-if-we-installed-
20071024
FIXES 75307
Simon Wilkinson [Wed, 24 Oct 2007 16:45:01 +0000]
DEVEL15-linux-nfstrans-
20071024
FIXES 75233
better track changes so we can build an nfstranslator module for new linux kernels
(cherry picked from commit
d78b844133549b530273fc7ad1ea376d582985d9)
Dan Hyde [Wed, 24 Oct 2007 16:35:27 +0000]
DEVEL15-cblater-bitmask-bug-
20071024
FIXES 75304
add missing ()
(cherry picked from commit
1d9ba682a5533bb720ef033287f78cff467aac11)
Derrick Brashear [Wed, 24 Oct 2007 06:41:44 +0000]
DEVEL15-darwin-allow-finder-to-unlink-rsrc-files-
20071024
finder tries hard to clean up resource fork files it creates when you drop something in a dropbox that don't then get updates.
let it think it won
(cherry picked from commit
3973d822379ca3af99db43d34d8d3468740cf5a7)
Chaskiel M Grundman [Wed, 24 Oct 2007 06:30:41 +0000]
DEVEL15-finder-and-tiger-cp-deal-with-dropboxes-
20071024
FIXES 69363
this way copying finishes
(cherry picked from commit
f814c8a9636b2939da9d0f17de4d71c6fd23ae6c)
Jeffrey Altman [Wed, 24 Oct 2007 04:50:35 +0000]
DEVEL15-windows-wix-nsis-uninstall-
20071023
At somepoint windows installer broke the use of the 'file' RegistrySearch
type. Instead of returning the full file name path we are only getting
the directory. Switch to using the 'raw' type since we know we aren't
prefixing the file name with a hash.
(cherry picked from commit
57b28bb8eed956e1fe27cef81efd4cb30e63837d)
Mike Meffie [Tue, 23 Oct 2007 23:37:30 +0000]
DEVEL15-afs-shutdown-free-resources-
20071023
try hard to free resources
(cherry picked from commit
15f6e3170ce8e0c6f8e92f1fe046e2293cf8e833)
Derrick Brashear [Tue, 23 Oct 2007 18:39:19 +0000]
DEVEL15-darwin-uio-64-
20071023
use the 64 bit awareness in the KPI
(cherry picked from commit
3b3ccef28eb19079e73f78779e2778d3aa44bb83)
Jason Edgecombe [Tue, 23 Oct 2007 18:01:15 +0000]
DEVEL15-pod-man-fs-uuid-
20071023
FIXES 75175
add man page for fs uuid
(cherry picked from commit
66a19a512e2a015b39089343288881a108b8d637)
Derrick Brashear [Tue, 23 Oct 2007 15:29:49 +0000]
DEVEL15-darwin-afsd-cleanup-power-notification-nicely-
20071023
don't drop a core on shutdown
(cherry picked from commit
4526c6a4f7e6f627249580cac0ba9373735ae667)
Derrick Brashear [Tue, 23 Oct 2007 15:20:34 +0000]
DEVEL15-vos-restore-check-doesnt-apply-to-pipes-
20071023
as pointed out by hung pham
(cherry picked from commit
79e51892fe1d6fe115a9ae6301f4553e6b6dc07c)