5547 Commits

Author SHA1 Message Date
Mike Meffie
c5b1b485cf DEVEL15-hpux-readdir2-prototype-20090123
LICENSE IPL10
FIXES 124187

fix typo in prototype


(cherry picked from commit 85fa1b132ae93a48dfb73155921245106f31f586)
2009-01-22 21:42:38 +00:00
Matt Benjamin
b0bff7cb05 DEVEL15-fbsd-ignore-sigsys-20090123
LICENSE IPL10
FIXES 123867

wrong but a step forward


(cherry picked from commit 6784222ac1741d9da18ba5d66fdd5057343ab8b1)
2009-01-22 21:38:55 +00:00
Matt Benjamin
662e220b5e DEVEL15-obsd44-pass1-20090123
LICENSE IPL10
FIXES 123830

first pass at openbsd 4.4


(cherry picked from commit 35a760632da0f15240153cb17ae96e0981e2c8c4)
2009-01-22 21:29:06 +00:00
Derrick Brashear
1d992f64cb DEVEL15-klog-krb5-link-order-20090122
LICENSE IPL10

match the (bad) link order used elsewhere


(cherry picked from commit db15872a7ee0d1c666502f8da8c8c27c36159110)
2009-01-22 21:19:57 +00:00
Derrick Brashear
82dee0988a DEVEL15-disconnected-no-inline-on-irix-20090122
LICENSE IPL10

make this compile on irix


(cherry picked from commit 90f9073dde7041534d448083eaeabbc61d7563f9)
2009-01-22 20:20:01 +00:00
Derrick Brashear
2d024d64d0 DEVEL15-disconnected-call-makedir-with-correct-casting-20090122
LICENSE IPL10

another find by the irix compiler.


(cherry picked from commit 396b573b12a509b7e0d8d5094ebadc12c6aa8b45)
2009-01-22 20:11:56 +00:00
Derrick Brashear
e44ab38be1 DEVEL15-bcdb-listdumps-argument-fix-20090122
LICENSE IPL10

prototype caught this. oops.


(cherry picked from commit d6c5d0bbb09f84476d7928e62921a4aa01cd17ed)
2009-01-22 19:33:14 +00:00
Derrick Brashear
f94429ef3d DEVEL15-volserver-manage-inuse-better-20090122
LICENSE IPL10
FIXES 124142

V_PEEK/V_SECRETLY should not change inUse. servertype based inUse should not
leak past giving back a volume.


(cherry picked from commit 92cf4d996f91e895b8995d41419b32843a40b9fb)
2009-01-22 19:12:51 +00:00
Jeffrey Altman
9cd0c5ae7e DEVEL15-windows-version-20090122
LICENSE MIT

1.5.57 == 1.5.5700.0
2009-01-22 17:05:50 +00:00
Derrick Brashear
b14c470f9f DEVEL15-openafs-1-5-57-20090122
LICENSE IPL10

make 1.5.57
2009-01-22 16:44:03 +00:00
Jeffrey Altman
4af98ba756 DEVEL15-windows-release-notes-20090122
LICENSE MIT

1.5.57
2009-01-22 16:05:20 +00:00
Jeffrey Altman
8d64e84223 DEVEL15-windows-notes-20090122
LICENSE MIT

notes for 1.5.57
2009-01-22 16:02:12 +00:00
Jeffrey Altman
7388b5d20f DEVEL15-bucoord-ubik_call-no-more-20090122
LICENSE MIT

replace ubik_Call(RPC, ...) with ubik_RPC(...)


(cherry picked from commit 1d70f4e14e991326d8d7e6d3d3f179179a7aaf45)
2009-01-22 15:40:49 +00:00
Jeffrey Altman
98ea8b29d6 DEVEL15-ubik_Call-no-more-20090122
LICENSE MIT

remove more ubik_Call(RPC, ...) calls and replace them with ubik_RPC(...)


(cherry picked from commit d4b17a6e2e08c41de8ee07721029469ebcde6f72)
2009-01-22 15:29:10 +00:00
Peter Tripician
9be2e48fa2 DEVEL15-util-volparse-20090122
LICENSE IPL10
FIXES 84846

avoid some infinite loops on bad input

ensure that all partition ids are within the legal limit

provide prototypes for strlcat and strlcpy when the openafs
implementations are being used.


(cherry picked from commit 69bab4cc6ee68ab98b6f207f6ab80352250f6b97)
2009-01-22 15:16:37 +00:00
Marc Dionne
40e27f1ac3 DEVEL15-salvager-sensible-chdirlessness-20090122
LICENSE IPL10
FIXES 124154

make salvager look for and create headers in the right place.


(cherry picked from commit f11480748cd682f60e81e8854e254fe964d5955c)
2009-01-22 14:29:54 +00:00
Simon Wilkinson
0553066a23 DEVEL15-disconnected-linux-dont-inactive-while-disconnected-20090121
LICENSE IPL10
FIXES 124175

possibly not the ultimate right fix but it will make things work for now


(cherry picked from commit 81e1d5403438929bc6380c05bdacb808a31aaa37)
2009-01-21 21:33:43 +00:00
Simon Wilkinson
cea3be2fd3 DEVEL15-disconnected-pioctl-error-recovery-20090121
LICENSE IPL10
FIXES 124174

make reconnection possible by doing error recovery


(cherry picked from commit 0593374e2de0da391ea793e45ca08d6c971d8f86)
2009-01-21 21:27:52 +00:00
Simon Wilkinson
c5ad887a94 DEVEL15-disconnected-shadow-directory-fixes-20090121
LICENSE IPL10
FIXES 124173

fix bugs in disconnected's directory shadowing


(cherry picked from commit 4045f3d5350955de91e019b09ad2ed7941f6dadb)
2009-01-21 21:17:47 +00:00
Simon Wilkinson
1c1c2157cb DEVEL15-disconnected-replay-fixes-20090121
LICENSE IPL10
FIXES 124172

updates to fix bugs in disconnected change replays


(cherry picked from commit cc42d05324c6a3dc619192a997125ca8f3a595fd)
2009-01-21 21:15:03 +00:00
Jeffrey Altman
2bfb445dea DEVEL15-windows-avoid-rwevent-collision-part-two-20090121
LICENSE MIT

don't leave out the size of the buffer.


(cherry picked from commit 0fb28687b498bd4cd7994fd388c3eef2f4cd17f9)
2009-01-21 21:04:42 +00:00
Jeffrey Altman
faa424a4f7 DEVEL15-windows-avoid-rwevent-collision-20090121
LICENSE MIT

Prevent multiple smb_Server threads from sharing the same EVENT
object when they are each waiting for their own packet requests
to complete.


(cherry picked from commit 10ecf76d281dc90a4f83f0c45404712b62bcea8b)
2009-01-21 21:01:11 +00:00
Simon Wilkinson
ebe2300372 DEVEL15-rename-conn-to-afs-conn-20090121
LICENSE IPL10
FIXES 124116

based on patch from daleg@elemental.org. rename to avoid conflict with opensolar
is


(cherry picked from commit a268678326f3713a0ba41f69a1432bd1fca2872f)
2009-01-21 20:07:47 +00:00
Simon Wilkinson
6a154cc1b9 DEVEL15-darwin-no-vprintf-20090121
LICENSE IPL10

restore old behavior for mac client


(cherry picked from commit 9cc62beeb985745475ac7b3ecc5bf61c2fa06a9d)
2009-01-21 14:32:43 +00:00
Jeffrey Altman
9036c075b7 DEVEL15-windows-smb-parse-ascii-block-20090119
LICENSE MIT

smb_ParseASCIIBlock() may be called with more than just data
type ASCII (0x4).  If the type is 2, 3, or 4 the data field is
a null terminated string.  If the type is 1 or 5 the data field
is a counted string.  if the type is 2 the data field is never
Unicode.

In any case, if the type is unrecognized smb_ParseASCIIBlock()
will return NULL and all of the callers must be prepared to handle
it.  If the return is NULL, the smb request will fail with
CM_ERROR_BADSMB.


(cherry picked from commit a0fd9b17334333e257ae9c476c4fbf85ee9fec95)
2009-01-20 04:36:07 +00:00
Steven Jenkins
258a75ad90 DEVEL15-undo-rename-residency-from-mrafs-to-osd-20090119
LICENSE IPL10
FIXES 124130

restore the mr-afs names until such time as the pioctl registrations
are addressed.


(cherry picked from commit e5a6c3f62dde6bc1b6a26957b866c3f27dc28c3a)
2009-01-20 03:32:34 +00:00
Jason Edgecombe
5c884ed12c DEVEL15-man-page-pts-membership-fixes-20090119
FIXES 124157
LICENSE BSD

More wording and typo fixes for the pts membership man page.


(cherry picked from commit 8c18c62dffa23557fb521950eede4252cdafc0b5)
2009-01-19 23:04:54 +00:00
Derrick Brashear
6cae88d817 DEVEL15-linux-init-script-uses-bash-20090119
LICENSE IPL10
FIXES 124056

note the script uses bash


(cherry picked from commit 5e1859a88e8133904f1315833c17851d7e6d10a4)
2009-01-19 20:53:51 +00:00
Simon Wilkinson
f8475c5270 DEVEL15-disconnected-extend-truncation-20090119
LICENSE IPL10
FIXES 124094

implement extending truncation so disconnected works


(cherry picked from commit dc0b96f5b7ee3f5f95639dfd5afb98ecb4ff6885)
2009-01-19 19:42:42 +00:00
Simon Wilkinson
f49dba09fb DEVEL15-abstract-reset-vcache-20090119
LICENSE IPL10
FIXES 124147

abstract vcache resetting code so disconnected can reuse it


(cherry picked from commit 57744971179a8ee7441e73eeb9e2a56d671fcc37)
2009-01-19 19:39:22 +00:00
Simon Wilkinson
2dbb3d044a DEVEL15-afs-q-improvements-20090119
LICENSE IPL10
FIXES 124134

simplify afs_q macros and allow further reuse in disconnected


(cherry picked from commit 9ef65a789feed5007f18041d259f0ddd6c3c97e9)
2009-01-19 19:27:09 +00:00
Simon Wilkinson
07887f0ec0 DEVEL15-disconnected-flush-before-shadowing-20090119
LICENSE IPL10
FIXES 124149

make
touch a
fs discon offline
rm -f a
fs discon online
work


(cherry picked from commit e1cc987ea57c03a93dd02164ecb75cd705fc79b3)
2009-01-19 18:48:03 +00:00
Steven Jenkins
367a04c2b1 DEVEL15-rename-residency-from-mrafs-to-osd-20090119
LICENSE IPL10
FIXES 124130

rename mrafs commands into their equivalent osd versions; structures etc are the
 same.


(cherry picked from commit 92c7925b12d7b99e4ff044bc053330e77336a21a)
2009-01-19 18:09:19 +00:00
Simon Wilkinson
af919780f4 DEVEL15-linux-disconnected-avoid-ls-hang-20090119
LICENSE IPL10
FIXES 124152

avoid allowing a non-CStatd vcache to make its way into a readdir which causes a
n infinite loop


(cherry picked from commit 9fa51694c6a41323cfeb7b41bb4dff9e8dac77be)
2009-01-19 17:29:32 +00:00
Russ Allbery
ca5ad7b634 DEVEL15-man-page-pts-membership-privilege-20090118
FIXES 124151
LICENSE BSD

Add system:ptsviewers to the privilege documentation of pts membership and
try to clarify the privilege required by being less verbose and hopefully
more direct.


(cherry picked from commit d781450cf3c08bf89f3d1490620ed89885f7e518)
2009-01-19 03:32:18 +00:00
Derrick Brashear
3bf819947e DEVEL15-krb5-klog-link-rule-20090118
LICENSE IPL10

this was just wrong


(cherry picked from commit df71f42b637c5ef2aa266a709720b35e65b8e27f)
2009-01-19 03:25:29 +00:00
Derrick Brashear
5d0697c2b6 DEVEL15-volser-setflags-clear-callptr-20090118
LICENSE IPL10

make things calling SetFlags not error


(cherry picked from commit dbc73f43ee64072509ee0ae66cf7499ff9e5d861)
2009-01-19 03:19:15 +00:00
Marc Dionne
1f41be5168 DEVEL15-linux-2629-20090115
LICENSE IPL10
FIXES 124115

add 2.6.29 support


(cherry picked from commit 24a5d12bae9a2af393f3641055893824c71a4712)
2009-01-15 13:27:27 +00:00
Chaskiel M Grundman
375c6e1d4d DEVEL15-osi-probe-check-result-cope-with-enoent-20090115
LICENSE IPL10

in order for probing to work right


(cherry picked from commit 86225b60147d58ca71063a72be02236df1257407)
2009-01-15 13:13:09 +00:00
Jeffrey Altman
3b4463520b DEVEL15-rx-afs-kmutex-kcondvar-20090113
LICENSE BSD

The rx_pthread.h defines afs_kcondvar_t and afs_kmutex_t but
their use throughout the rx library is inconsistent.  Sometimes
they are used, other times pthread_cond_t and pthread_mutex_t.

This commit ensures that afs_kmutex_t and afs_kcondvar_t are
used consistently.


(cherry picked from commit 3394644531fb89b02ffbe0c10f4a51c3a4169a39)
2009-01-14 06:34:19 +00:00
Simon Wilkinson
a457319783 DEVEL15-linux-truncate-cleanup-20090113
LICENSE IPL10

fix the patch to actually be applicable


(cherry picked from commit e6d60f58e2a6b7ac9964cfb1ec753decd5d6ed91)
2009-01-13 19:37:15 +00:00
Jeffrey Altman
7db92770cc DEVEL15-rx-make-rxdebug-optional-20090113
LICENSE BSD

Permit the rx library to be built without the RXDEBUG preprocessor
definition.  When RXDEBUG is not defined all of the debugging functions
either become stubs or log a message indicating that the library was
built without RXDEBUG so that there will be no surprises.  There
are no changes to the export list.  By default RXDEBUG is defined.

Eventually the definition of RXDEBUG can become a configuration option
to the build system.


(cherry picked from commit f1a13e15625afa324ffc6614eea432dcc89bf768)
2009-01-13 16:33:30 +00:00
Matt Benjamin
6f16b7ae43 DEVEL15-freebsd-cleanup-20090112
LICENSE IPL10
FIXES 124107

minor freebsd cleanup


(cherry picked from commit ba9556ff2bbf854bb5c05074032b94973bf339ec)
2009-01-12 14:33:25 +00:00
Marc Dionne
52f448f472 DEVEL15-linux-i-size-20090112
LICENSE IPL10
FIXES 124106

use i_size_read macro correctly


(cherry picked from commit 45e808945627b36ab1dbb64b6fafa8ed7b1901b6)
2009-01-12 14:19:10 +00:00
Andrew Deason
e925aec435 DEVEL15-libuafs-set-fileoffsetbits-20090112
LICENSE IPL10
FIXES 124093

make libuafs work with things which expect to be able to use native file
sizes etc


(cherry picked from commit 47ac8ba7022e80e5bc0023782b6b27d5ac97ccd3)
2009-01-12 14:11:49 +00:00
Marc Dionne
5cb4f10729 DEVEL15-linux24-no-backing-dev-20090112
LICENSE IPL10
FIXES 124100

backing_dev_info isn't in 2.4


(cherry picked from commit 434ad307430fc12968abd65e007f8e606aa55917)
2009-01-12 13:28:55 +00:00
Rainer Toebbicke
a09a42b65d DEVEL15-fetch64-fstrace-typo-20090112
LICENSE IPL10
FIXES 124113

move l to correct side of % for type printing


(cherry picked from commit d158ddb25c769d357d5f58acbd911ec7a7281343)
2009-01-12 13:24:24 +00:00
Jeffrey Altman
6b60f14257 DEVEL15-rx-statistics-active-flag-20090110
LICENSE MIT

Permit rx statistics gathering to be disabled by setting the
new rx_stats_active variable to 0.  This avoids grabbing the
rx_stats_mutex throughout the execution of the requests and
permits greater concurrency thoughout the library.


(cherry picked from commit 30cfed8e25dfcc6c423d1e121360f048d6724328)
2009-01-11 05:56:07 +00:00
Jeffrey Altman
449a759be2 DEVEL15-rx-finer-grained-locking-20091010
LICENSE MIT

not everything should be under the rx_stats_mutex.  doing so
results in too much lock contention.  add new mutexes:
rx_quota_mutex, rx_waiting_mutex, rx_pthread_mutex, and rx_packets_mutex.
Each new mutex protects an associated group of variables.
2009-01-11 04:52:00 +00:00
Jeffrey Altman
3698203264 DEVEL15-rx-user-socket-buffer-sizes-20090110
LICENSE MIT

if the socket buffer size specified by the configuration is too large
to be applied, do not drop down immediately to 32766 bytes.  Instead
try increasingly smaller values trying to find the largest one that
works.  use the same value for the send buf size as well.


(cherry picked from commit 5b0e23567e1ed64f448bb3253ad90d39cad31271)
2009-01-11 04:25:43 +00:00