openafs.git
10 years agoDEVEL15-windows-optimizations-20090703 openafs-devel-1_5_x
Jeffrey Altman [Sat, 4 Jul 2009 04:45:46 +0000]
DEVEL15-windows-optimizations-20090703

LICENSE MIT

when performing offline volume checks, do so in most recently used order

if the system is entering suspend state, short circuit the background
daemon operations to avoid extra work that is going to fail when the
network is shutdown behind the back of the service.

(cherry picked from commit 46287f679023c8d1430c64d03e06933cf6121a24)

10 years agoDEVEL15-linux-vnop-return-value-cleanup-20090703
Simon Wilkinson [Fri, 3 Jul 2009 14:17:28 +0000]
DEVEL15-linux-vnop-return-value-cleanup-20090703

LICENSE IPL10

rework all linux vnode ops so the vulnerability we previously had can't
recur later just because someone makes a change that would leak a negative
error

(cherry picked from commit ebc4f737ae8f8056de1a7f80828a6173ebb24292)

10 years agoDEVEL15-viced-ubik-clientdestroy-null-20090703
Andrew Deason [Fri, 3 Jul 2009 14:04:07 +0000]
DEVEL15-viced-ubik-clientdestroy-null-20090703

LICENSE IPL10
FIXES 125020

null ubik client point when it's freed in hpr_End to avoid a null deref later

(cherry picked from commit 6ef1234402435306cb3935d1eadc5fcf332bd632)

10 years agoDEVEL15-redhat-spec-manpage-updates-20090703
Derrick Brashear [Fri, 3 Jul 2009 13:57:07 +0000]
DEVEL15-redhat-spec-manpage-updates-20090703

LICENSE IPL10

add missing manpages to srpm

(cherry picked from commit 22196a7fd78dff342b2f9fca2b38d9a2dd04d42c)

10 years agoDEVEL15-wix-manpages-chgrp-chown-20090701
Jeffrey Altman [Wed, 1 Jul 2009 22:14:51 +0000]
DEVEL15-wix-manpages-chgrp-chown-20090701

LICENSE MIT

add fs_chgrp.html and fs_chown.html man pages

(cherry picked from commit 8a6bd630354ab7fc17bc5cfaeb10267ad2cc10eb)

10 years agoDEVEL15-manpages-fs-chown-chgrp-20090701
Jeffrey Altman [Wed, 1 Jul 2009 22:13:29 +0000]
DEVEL15-manpages-fs-chown-chgrp-20090701

LICENSE BSD

Add new man pages for fs chown and chgrp on Windows.

Update titles for Windows only commands to indicate they are Windows only.

(cherry picked from commit 4db337f87c0170380037593d1c998fb1b9819aa3)

10 years agoDEVEL15-linux-keyring-export-check-20090701
Marc Dionne [Wed, 1 Jul 2009 21:57:00 +0000]
DEVEL15-linux-keyring-export-check-20090701

LICENSE IPL10
FIXES 125001

check for key_type_keyring being exported; only use it if so

(cherry picked from commit 4ca66112c2a012e04619445275507ae9cd6c11da)

10 years agoDEVEL15-windows-fs-chown-chgrp-20090701
Jeffrey Altman [Wed, 1 Jul 2009 21:25:51 +0000]
DEVEL15-windows-fs-chown-chgrp-20090701

LICENSE MIT

On Windows there is no chown or chgrp command that can be used to
change the owner or group of an object in AFS.   Therefore we
add them to the fs command.

Usage: fs chown -owner <user name or id> [-path <dir/file path>+] [-literal] [-help]
Where: -literal  literal evaluation of mountpoints and symlinks

Usage: fs chgrp -group <user/group name or id> [-path <dir/file path>+] [-literal] [-help]
Where: -literal  literal evaluation of mountpoints and symlinks

(cherry picked from commit ffd065a69578ad26c860b0b3e54053d6432c4a21)

10 years agoDEVEL15-windows-cellconfig-20090630
Jeffrey Altman [Wed, 1 Jul 2009 02:44:29 +0000]
DEVEL15-windows-cellconfig-20090630

LICENSE MIT

nul terminate the correct variable

(cherry picked from commit ad6a8942db587b2c5b9aaee6a3e8e89b69e3918c)

10 years agoDEVEL15-windows-dfs-file-set-warning-20090630
Jeffrey Altman [Tue, 30 Jun 2009 19:11:40 +0000]
DEVEL15-windows-dfs-file-set-warning-20090630

LICENSE MIT

Add a debug log warning if the target volume is a DFS File Set.
If so, the client will not properly protect against information
leakage or properly deal with directory name caching, symlinks,
and other behavioral differences between AFS and DFS.

(cherry picked from commit efdf78ae086ba02cc3f6ffbd7b0a2ca31743ced7)

10 years agoDEVEL15-windows-smb-20090630
Jeffrey Altman [Tue, 30 Jun 2009 19:00:13 +0000]
DEVEL15-windows-smb-20090630

LICENSE MIT

Be sure to call smb_ReleaseVCNoLock before we drop the smb_rctLock.

(cherry picked from commit 49d6a0992c42a6bb1fba8245029f31ca916214e5)

10 years agoDEVEL15-rpmlint-try2-20090629
christof.hanke@rzg.mpg.de [Mon, 29 Jun 2009 21:24:37 +0000]
DEVEL15-rpmlint-try2-20090629

LICENSE IPL10
FIXES 124951

remove unneeded return; fix iob initialization for curpag pioctl

(cherry picked from commit 58024c16844a7298f04495ff9023e396a5391aff)

10 years agoDEVEL15-windows-dcache-prefer-xdata-error-20090629
Jeffrey Altman [Mon, 29 Jun 2009 20:38:34 +0000]
DEVEL15-windows-dcache-prefer-xdata-error-20090629

LICENSE MIT
FIXES 125018

Fix issue reported by Marc Dionne.  RXAFS_FetchData and RXAFS_StoreData
return access denied errors that are not reported by the subsequent
call to rx_EndCall which should be preferred.

(cherry picked from commit a50fa631cad6919d15721ac2c234ebbdda2b4031)

10 years agoDEVEL15-revert-voldump-v-tag-generation-20090629
Derrick Brashear [Mon, 29 Jun 2009 16:20:16 +0000]
DEVEL15-revert-voldump-v-tag-generation-20090629

LICENSE IPL10
FIXES 18349

generating v tags is currently incompatible. revert this for now

(cherry picked from commit f202b9778e4489fd80288c5be36e3c102b0cfba9)

10 years agoDEVEL15-rcu-patch-fallout-20090629
Marc Dionne [Mon, 29 Jun 2009 14:59:31 +0000]
DEVEL15-rcu-patch-fallout-20090629

LICENSE IPL10
FIXES 124996

massaging this for 1.5.x/head caused some fallout. fix doubled endif, and
install_session_keyring arguments

(cherry picked from commit 3d5415922ea4ede4ce538d7894a6062bf115c6bd)

10 years agoDEVEL15-cellservdb-20090629
Jeffrey Hutzelman [Mon, 29 Jun 2009 07:03:54 +0000]
DEVEL15-cellservdb-20090629

CellServDB from central.org dated 29 Jun 2009

(cherry picked from commit 4a09cd4976dc9088cd32115dc06458afb3a577d4)

10 years agoDEVEL15-windows-shutdown-20090628
Jeffrey Altman [Mon, 29 Jun 2009 04:27:50 +0000]
DEVEL15-windows-shutdown-20090628

LICENSE MIT

short circuit on-going offline volume checks once a shutdown has begun.

(cherry picked from commit 307e077b2343b73731d7f21f422b7a130caf12c7)

10 years agoDEVEL15-windows-hard-link-count-20090628
Jeffrey Altman [Mon, 29 Jun 2009 04:25:45 +0000]
DEVEL15-windows-hard-link-count-20090628

LICENSE MIT

cm_Link() is used to create hard links.  It did not apply the updated
link target status info to the target cm_scache_t object.  As a result
the linkCount would be incorrect.

cm_Unlink() did not take linkCount into account.  It did not reduce the
locally known linkCount, nor did it invalidate any currently known
callback.  As a result the linkCount would be incorrect.

(cherry picked from commit b8a1dba29367c9786a5f43c90b0a000ff4d4315d)

10 years agoDEVEL15-windows-multi-homed-callbacks-20090627
Jeffrey Altman [Sun, 28 Jun 2009 05:15:51 +0000]
DEVEL15-windows-multi-homed-callbacks-20090627

LICENSE MIT

Properly handle callbacks from multi-homed file servers.
Comparing cm_server_t pointers is insufficient.  For a multi-homed
server there will be multiple entries.  The UUID for all of the
equivalent entries will be the same.  What matters is not that
the pointers are the same but whether in the case of UUID labeled
servers that the UUIDs match.

Add cm_ServerEqual() to perform the comparison.

(cherry picked from commit d54859c6ac2e5186b18da027303860966504dbd9)

10 years agoDEVEL15-windows-callback-server-tracking-for-readonly-vols-20090626
Jeffrey Altman [Fri, 26 Jun 2009 15:12:12 +0000]
DEVEL15-windows-callback-server-tracking-for-readonly-vols-20090626

LICENSE MIT

Readonly volume callbacks apply to every cm_scache_t from the
same volume.  We were already tracking the cbExpires time in
the cm_volume_t.  We need to also track the cbServerp in the
cm_volume_t so that the cm_scache_t objects can be assigned
the correct server from which the callback was issued.

Add cbServerpRO field to the cm_volume_t.  Bump the memory
map version to force a rebuild of the cache data.

(cherry picked from commit 100186ec2e4ca5046e1bc312918d4630de00bc7e)

10 years agoDEVEL15-windows-cell-config-clones-20090626
Jeffrey Altman [Fri, 26 Jun 2009 14:14:58 +0000]
DEVEL15-windows-cell-config-clones-20090626

LICENSE MIT

Add support for parsing clones from the CellServDB file.

(cherry picked from commit de374565233eea489079e102865ab6cd65ef0dbb)

10 years agoDEVEL15-allow-gcpags-disabling--at-compile-20090624
Derrick Brashear [Thu, 25 Jun 2009 13:13:24 +0000]
DEVEL15-allow-gcpags-disabling--at-compile-20090624

LICENSE IPL10

put this back as was for now; if we want to undef, we can do it later, completel
y

(cherry picked from commit e43342e3778524a68219875b5fdc6fae0adbef1f)

10 years agoDEVEL15-pag-get-lint-20090623
christof.hanke@rzg.mpg.de [Thu, 25 Jun 2009 00:14:55 +0000]
DEVEL15-pag-get-lint-20090623

LICENSE IPL10
FIXES 124951

make things happy for rpmlint again (wrong initialization)

(cherry picked from commit 4ac7d59d464d66322a2925c86e955cd8d8067f75)

10 years agoDEVEL15-linux-rcu-read-lock-export-20090623
Marc Dionne [Wed, 24 Jun 2009 22:54:04 +0000]
DEVEL15-linux-rcu-read-lock-export-20090623

LICENSE IPL10
FIXES 124986

deal with rcu_read_lock() becoming GPLONLY

(cherry picked from commit 0e718b642cedd1ebc799ada35960164c95c24280)

10 years agoDEVEL15-fbsd61-stdlib-proto-define-20090623
Harald Barth [Wed, 24 Jun 2009 22:45:05 +0000]
DEVEL15-fbsd61-stdlib-proto-define-20090623

LICENSE IPL10
FIXES 124952

add define to make stdlib have malloc prototype

(cherry picked from commit a125b571a4d7c6c8c491bda079115a5eab835971)

10 years agoDEVEL15-osol-solookup-20090624
Andrew Deason [Wed, 24 Jun 2009 22:38:27 +0000]
DEVEL15-osol-solookup-20090624

LICENSE IPL10
FIXES 124924

update for new opensolaris solookup function signature

(cherry picked from commit ee72f251049ca361b095e813adce63216343afd8)

10 years agoDEVEL15-util-snprintf-replacement-20090624
Jeffrey Altman [Wed, 24 Jun 2009 16:15:54 +0000]
DEVEL15-util-snprintf-replacement-20090624

LICENSE BSD

1. Add a test program for *printf functionality.  util/tests/snprintf_test.c

2. Replace OpenAFS implementation of afs_*printf() with Heimdal's version.

3. Add support to Heimdal's version to support:

 - floating point

 - OpenAFS %I ipv4 address formatting (dotted notation and hostname lookup)

 - Microsoft's I32 and I64 integer size modifiers

With these changes OpenAFS gains:

 - output that is compliant with standard *printf implementations.
   the previous implementation had justification, padding and case
   errors.

 - support for a NULL buffer which computes the required size based
   upon the input format and arguments.  the previous implementation
   would crash.

 - support for additional format types.

 - OpenAFS specific implementations of vasnprintf(), vasprintf(),
   asprintf(), and asnprintf().

(cherry picked from commit b45838ca82a085360491b14fdb16e88612a43165)

10 years agoDEVEL15-windows-config-amd64-20090624
Jeffrey Altman [Wed, 24 Jun 2009 15:47:41 +0000]
DEVEL15-windows-config-amd64-20090624

LICENSE MIT

amd64 uses 64-bit pointers.  Define AFS_64BITPOINTER_ENV.

(cherry picked from commit 74d49eb2c68f787044fe9f612d4f5f4610907572)

10 years agoDEVEL15-linux-call-inode-setattr-op-20090622
Marc Dionne [Mon, 22 Jun 2009 16:25:32 +0000]
DEVEL15-linux-call-inode-setattr-op-20090622

LICENSE IPL10
FIXES 124942

call inode's setattr op instead of just inode_setattr, when one is available.
needed for xfs, notably also will cause truncates to be journalled for ext3,
which may solve some existing issues

(cherry picked from commit b02e22b5f0590929ef9120da4799ca9a47fa3aeb)

10 years agoDEVEL15-cellconfig-gethostbyname-20090618
Jeffrey Altman [Fri, 19 Jun 2009 04:48:28 +0000]
DEVEL15-cellconfig-gethostbyname-20090618

LICENSE MIT

The CellServDB processing in auth/cellconfig and WINNT/afsd/cm_config
differ in one important way.  cellconfig uses the IP addresses specified
in the CellServDB file and ignores the host name; whereas cm_config
calls gethostbyname() on the host name and falls back to the specified
address only if gethostbyname() fails.

This commit modifies cellconfig to use gethostbyname() calls on the
host names when the client CellServDB file is being used.   The server
CellServDB file is left alone because ubik servers need to be given
the exact list of ip addresses specified by the administrator and
there is no method of indicating clones to other servers using DNS.

This change permits a greater resilency to cell server configuration
changes due to IP address renumbering as the DNS names in the CellServDB
file can be CNAME or A records.

A host name can be resolved to multiple IP addresses and all of the
addresses will be added to the hostAddr list for the cell provided
that they do not exceed the maximum number of hosts.  If the same
host name is listed multiple times the duplicate IP addresses will
be ignored.

The behavior of all tools that use CellServDB files on Windows will now
be consistent.

(cherry picked from commit 0200a40061a70c8e768f7510604839aaa7925a28)

10 years agoDEVEL15-windows-conn-analyze-20090615
Jeffrey Altman [Fri, 19 Jun 2009 04:38:50 +0000]
DEVEL15-windows-conn-analyze-20090615

LICENSE MIT

When processing RX_CALL_TIMEOUT, if there is no fid specified its a vldb
rpc and we should retry.  If there is a fid and the volume is a readonly
volume then we should also retry.  Only fail if the request has no alternate
server to look at.

When processing RX_CALL_DEAD, log the fact that the call is dead.

When processing any other RX error between -2 and -64, do not force
a new connection to the same server.   Mark the server down and retry
with a new server if possible.

(cherry picked from commit 82d9807e2246997ac73930c91d1ad4312084cc57)

10 years agoDEVEL15-windows-netidmgr-20090617
Jeffrey Altman [Fri, 19 Jun 2009 04:16:23 +0000]
DEVEL15-windows-netidmgr-20090617

LICENSE MIT

permit building with a broader range of visual studio versions

(cherry picked from commit cfe1f5676d458ca2ca8ba562ace782305e68059f)

10 years agoDEVEL15-windows-testcellconf-20090617
Jeffrey Altman [Fri, 19 Jun 2009 04:16:13 +0000]
DEVEL15-windows-testcellconf-20090617

LICENSE MIT

make testcellconf work on Windows

(cherry picked from commit f310847d2dfa924aaeff2924cfbc885d1cd58a31)

10 years agoDEVEL15-windows-client-config-cell-search-registry-20090616
Jeffrey Altman [Fri, 19 Jun 2009 04:15:52 +0000]
DEVEL15-windows-client-config-cell-search-registry-20090616

LICENSE MIT

Add registry based cell search functionality to afs_config.exe
even though the tool is close to useless at this point.

(cherry picked from commit 377b8c176fde2cab27d27c644b6966bf153daad5)

10 years agoDEVEL15-windows-kauth-cell-search-registry-20090616
Jeffrey Altman [Fri, 19 Jun 2009 04:15:23 +0000]
DEVEL15-windows-kauth-cell-search-registry-20090616

LICENSE MIT

add registry based cell search to ka_UserAuthenticateGeneral2()
which is used by klog() and afslogon.dll when no kerberos support
is available.

(cherry picked from commit 3af8eafae68b7260941b59346720730410f97944)

10 years agoDEVEL15-windows-netidmgr-cell-search-registry-20090616
Jeffrey Altman [Fri, 19 Jun 2009 04:15:10 +0000]
DEVEL15-windows-netidmgr-cell-search-registry-20090616

LICENSE MIT

Forgot to update the afs provider to support registry based cellservdb
lookups

(cherry picked from commit 4bf09a2ebfabede83cdac782de52386423e01927)

10 years agoDEVEL15-windows-installer-nsis-20090615
Jeffrey Altman [Fri, 19 Jun 2009 04:14:52 +0000]
DEVEL15-windows-installer-nsis-20090615

LICENSE MIT

reorder some operations and make sure that directories are created
before the installer attempts to generate files into them.

(cherry picked from commit 3e26e46b660f2e92eb9c693f9a3c4f97f2acd80c)

10 years agoDEVEL15-windows-cellservdb-rank-20090615
Jeffrey Altman [Fri, 19 Jun 2009 04:14:39 +0000]
DEVEL15-windows-cellservdb-rank-20090615

LICENSE MIT

When inserting a new vldb server, if the rank is 0 (unknown), do not
override the default rank assigned by cm_NewServer().  Doing so erases
the randomized ranking.

(cherry picked from commit 81c9b8c0c4ddf711872104ba6645c1310093af24)

10 years agoDEVEL15-windows-server-find-by-uuid-20090614
Jeffrey Altman [Fri, 19 Jun 2009 04:13:56 +0000]
DEVEL15-windows-server-find-by-uuid-20090614

LICENSE MIT

Add cm_FindServerByUuid().  This function is similar to cm_FindServerByIP()
but uses the server's known uuid instead which is constant across multi-
homed systems.

(cherry picked from commit 88ef4fb720efd8f7c0b130b5bdf35ef840aafc59)

10 years agoDEVEL15-windows-server-xdr-free-20090614
Jeffrey Altman [Fri, 19 Jun 2009 04:13:43 +0000]
DEVEL15-windows-server-xdr-free-20090614

LICENSE MIT

when releasing the capabilities memory allocation use xdr_free() not
the free() of the afsd_service.exe module.

(cherry picked from commit 571dc5edbe76a7e62d47adee8df52bbf532c55bc)

10 years agoDEVEL15-windows-callback-handling-20090614
Jeffrey Altman [Fri, 19 Jun 2009 04:13:30 +0000]
DEVEL15-windows-callback-handling-20090614

LICENSE MIT

Turn SRXAFSCB_InitCallBackState3() into the primary function for
processing InitCallBackStateX RPCs.  InitCallBackState3 accepts an
optional server uuid which can be used instead of the IP address
to locate a matching server object.  If the RPC comes from a server
that we know of, we can restrict the calback state initialization
to cm_scache_t objects on that file server.  If the request comes
from a server that we know nothing about and a uuid was specified,
we can ignore it.

During callback revocation, make use of the cell associated with
the server to restrict the revocation to cm_scache_t objects in
the one cell.  This is especially important for readonly volume
callbacks since volume ids are shared across multiple cells.

Add a missing case where the cm_volume_t cbExpiresRO time should
be set to the cm_scache_t cbExpires time.

(cherry picked from commit a79ce67d7a52a99c10192a92c66a7e10500770bf)

10 years agoDEVEL15-windows-cache-validation-20090610
Jeffrey Altman [Fri, 19 Jun 2009 04:13:14 +0000]
DEVEL15-windows-cache-validation-20090610

LICENSE MIT

correct cell validation to avoid false detection of infinite loops
if a cm_cell_t object had to be freed.

add newlines to output of volumeHashTableSize and cellHashTableSize

(cherry picked from commit ae1923e36260ff59efb85dda99b5345341bff6d8)

10 years agoDEVEL15-windows-freelance-default-cell-20090609
Jeffrey Altman [Fri, 19 Jun 2009 04:12:53 +0000]
DEVEL15-windows-freelance-default-cell-20090609

LICENSE MIT

If a freelance mount point does not specify a cell name, default to
the workstation cell.

(cherry picked from commit 37e1cd23195215cd5999be7fa5a8de6af7efebcb)

10 years agoDEVEL15-windows-dirty-buffers-20090608
Jeffrey Altman [Fri, 19 Jun 2009 04:12:34 +0000]
DEVEL15-windows-dirty-buffers-20090608

LICENSE MIT

In the buf_IncrSync thread, if the volume is known to be unavailable
do not attempt to write the buffer.  Just skip it.

In buf_Sync(), if we are shutting down and a buffer is left dirty,
log a message to the Windows Event Log indicating that the dirty buffer
was lost.

(cherry picked from commit 2033fa9ec62089887f074381ac118a2c60e9c311)

10 years agoDEVEL15-windows-cell-locking-20090608
Jeffrey Altman [Fri, 19 Jun 2009 04:12:21 +0000]
DEVEL15-windows-cell-locking-20090608

LICENSE MIT
FIXES 124910

cm_cellLock protects the cm_cell_t fields allNextp, nameNextp, idNextp,
and freeNextp.  Therefore, a write lock must be obtained whenever those
items may change.  This patch makes that consistent.

This patch also fixes an out of order lock acquisition and removes
cm_cell_t objects from the id and name hash tables before freeing them.

(cherry picked from commit f5b74d9fbcc42ad3a1105df3363e6c22c16fee84)

10 years agoDEVEL15-windows-search-cell-registry-20090608
Jeffrey Altman [Fri, 19 Jun 2009 04:12:09 +0000]
DEVEL15-windows-search-cell-registry-20090608

LICENSE MIT

do not clear the newCellNamep buffer on error.
that is inconsistent with the other SearchCell functions
and breaks "fs newcell".

(cherry picked from commit 7bf6fd6bcbdcb87544798c9634618fccb4678f45)

10 years agoDEVEL15-windows-buf-infinite-looping-on-dirty-buffers-20090607
Jeffrey Altman [Fri, 19 Jun 2009 04:11:22 +0000]
DEVEL15-windows-buf-infinite-looping-on-dirty-buffers-20090607

LICENSE MIT

If there are dirty buffers when the file server becomes unresponsive,
the cache manager will attempt to write them repeatedly resulting in
use of 100% of the cpu of the machine until the file server becomes
responsive.

This patch reduces the cpu utilization by ensuring that only the first
in a list of buffers on the same file needs to fail with timed out,
all down, all busy, all offline, or clock skew.  The other dirty buffers
will just be skipped.  A small delay is enforced in the buf_IncrSync
thread between invocation.

This patch is not a complete fix for the problem.  The buf_IncrSync
thread needs to become more intelligent in order to avoid attempts to
write to volumes that are known to be inaccessible.

(cherry picked from commit bada49cff904c1e783ca9fa81a92036ceae7378d)

10 years agoDEVEL15-ubik-fix-allbetter-loglevels-20090616
Andrew Deason [Tue, 16 Jun 2009 19:09:52 +0000]
DEVEL15-ubik-fix-allbetter-loglevels-20090616

LICENSE IPL10
FIXES 124938

make allBetter log more sensibly; right now it's very loud. move it to level 25

(cherry picked from commit e44c38c423fee7f10540ee339c372dce043af10d)

10 years agoDEVEL15-afs-snrpintf-support-percentp-for-ptrs-20090616
Derrick Brashear [Tue, 16 Jun 2009 19:08:25 +0000]
DEVEL15-afs-snrpintf-support-percentp-for-ptrs-20090616

LICENSE IPL10

so we can portably log pointers

(cherry picked from commit a44bee561505c8f955c84d5c96227d72d3cdaf57)

10 years agoDEVEL15-gitignore-20090615
Simon Wilkinson [Mon, 15 Jun 2009 23:33:13 +0000]
DEVEL15-gitignore-20090615

LICENSE IPL10

make gitignore files

(cherry picked from commit c41a46774134aee6eaf6a41e9061386035ae6ebf)

10 years agoDEVEL15-vnode-disk-object-name-hi-length-field-20090611
Derrick Brashear [Thu, 11 Jun 2009 20:40:03 +0000]
DEVEL15-vnode-disk-object-name-hi-length-field-20090611

LICENSE IPL10

reserved6 is used for the high portion of the 64 bit length. make the
structure reflect it.

(cherry picked from commit a7f9ce9ce1b2608937c5c3ffc73a2de07abc5fb1)

10 years agoDEVEL15-dafs-create-volumes-online-20090611
Andrew Deason [Thu, 11 Jun 2009 15:25:25 +0000]
DEVEL15-dafs-create-volumes-online-20090611

LICENSE IPL10
FIXES 124492

newly created volumes were not marked "not in use" by the volserver, so the
fileserver would not take them. fix it.

(cherry picked from commit 27cbb188bd1cb3e050c6911b1ddde75c46aa712f)

10 years agoDEVEL15-bosserver-invoke-salvager-fully-specifying-force-20090611
Andrew Deason [Thu, 11 Jun 2009 15:19:25 +0000]
DEVEL15-bosserver-invoke-salvager-fully-specifying-force-20090611

LICENSE IPL10
FIXES 124916

bos salvage can invoke salvager with -f (instead of -force) which is no
longer unique. fix that.

(cherry picked from commit 2c755529c79492738fec61a5fc311216678a52e7)

10 years agoDEVEL15-aix6-no-vprintf-but-strict-kernel-prototypes-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:30:39 +0000]
DEVEL15-aix6-no-vprintf-but-strict-kernel-prototypes-20090609

LICENSE IPL10

alas, we can't use varargs style prototypes since we can't handle the args!

(cherry picked from commit e87be8c5794ccd6eecd3b420dc12085a3608fadb)

10 years agoDEVEL15-excise-cplusplus-comments-from-kernel-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:11:04 +0000]
DEVEL15-excise-cplusplus-comments-from-kernel-20090609

LICENSE IPL10

aix6 compiler doesn't allow // style comments

(cherry picked from commit 2ee2aa00bc689b7876dc589537a8f805d44eaef5)

10 years agoDEVEL15-aix6-kernel-varargs-prototypes-ok-20090609
Derrick Brashear [Tue, 9 Jun 2009 22:06:15 +0000]
DEVEL15-aix6-kernel-varargs-prototypes-ok-20090609

LICENSE IPL10

varargs style prototypes are ok in the aix6 kernel env

(cherry picked from commit 6794613924416dd542a1d54a9d692af396a0f0d9)

10 years agoDEVEL15-man-page-xstat-fs-test-20090608
Mike Meffie [Mon, 8 Jun 2009 23:41:28 +0000]
DEVEL15-man-page-xstat-fs-test-20090608

LICENSE IPL10
FIXES 124905

Document xstat_fs_test collection 3, which returns callback statistics
from the file server (useful for tuning).

(cherry picked from commit 394243f3ae2dc5437b66d8f5afb393c2cfd1fb7b)

10 years agoDEVEL15-dynroot-bad-merge-20090605
Derrick Brashear [Sat, 6 Jun 2009 00:59:18 +0000]
DEVEL15-dynroot-bad-merge-20090605

LICENSE IPL10

remove doubled code

10 years agoDEVEL15-man-page-cellservdb-extras-20090605
Derrick Brashear [Fri, 5 Jun 2009 19:23:02 +0000]
DEVEL15-man-page-cellservdb-extras-20090605

LICENSE IPL10

Document linked cells and non-voting replicas in the CellServDB man page
and note the need for better linked cell documentation.

(cherry picked from commit 6d973e499acd598bbc3a4e131d14f9801b94fe71)

10 years agoDEVEL15-fsbnode-rename-unused-to-dummy-20090604
Derrick Brashear [Thu, 4 Jun 2009 23:09:21 +0000]
DEVEL15-fsbnode-rename-unused-to-dummy-20090604

LICENSE IPL10

a prayer this will make hpu cc stop segving

(cherry picked from commit 3e65e3aee17c64a19c0a1ff4b9b7d99c0725b689)

10 years agoDEVEL15-aix51-no-userspace-pag-subsystem-20090604
Derrick Brashear [Thu, 4 Jun 2009 21:51:21 +0000]
DEVEL15-aix51-no-userspace-pag-subsystem-20090604

LICENSE IPL10

getpagvalue() appeared post 5.1.

(cherry picked from commit 33e04c09a1f36281a6f37fdfd7b402426b9df5d4)

10 years agoDEVEL15-death-to-longc-procs-20060804
Russ Allbery [Thu, 4 Jun 2009 17:12:40 +0000]
DEVEL15-death-to-longc-procs-20060804

longc_procs.h was only used on Ultrix, about which we no longer care.
Delete it, its installation rules, and the places where we were including
it.

(cherry picked from commit f3a77810db0044bd0fc3df1101269ab42b365fef)

10 years agoDEVEL15-ptserver-debug-flag-20090603
Andrew Deason [Wed, 3 Jun 2009 23:11:50 +0000]
DEVEL15-ptserver-debug-flag-20090603

LICENSE IPL10
FIXES 124893

parse -d (debug) earlier in the ptserver argument parsing, so database
switch does not override it.

(cherry picked from commit 6124a81e791f54953ea4be3cf3588d9ccf5fb248)

10 years agoDEVEL15-ptserver-procs-loglevels-20090603
Andrew Deason [Wed, 3 Jun 2009 22:49:06 +0000]
DEVEL15-ptserver-procs-loglevels-20090603

LICENSE IPL10
FIXES 124894

make loglevels for create/delete match those for other pts operations

(cherry picked from commit d9d50fea986569dfaa3c3b6aee2e8c99f0d280e8)

10 years agoDEVEL15-ptserver-vicelog-missing-newlines-20090603
Andrew Deason [Wed, 3 Jun 2009 22:44:03 +0000]
DEVEL15-ptserver-vicelog-missing-newlines-20090603

LICENSE IPL10
FIXES 124894

some ViceLog calls in ptserver were missing newlines. that's fixed.

(cherry picked from commit 4310874d8f8b83b8a2c5840880d4f35059c67ea7)

10 years agoDEVEL15-klog-krb5-avoid-freeing-garbage-20090603
Douglas Engert [Wed, 3 Jun 2009 21:58:19 +0000]
DEVEL15-klog-krb5-avoid-freeing-garbage-20090603

LICENSE IPL10

avoid freeing garbage due to an uninitialized variable

(cherry picked from commit edfb415915bff06c055f58867695cbb37df626e1)

10 years agoDEVEL15-aix-pag-complaints-20090603
Derrick Brashear [Wed, 3 Jun 2009 16:14:05 +0000]
DEVEL15-aix-pag-complaints-20090603

LICENSE IPL10

make the new code work properly, thanks to aix's complaints

(cherry picked from commit ec51165b5134b406eecfbb2b7d53b2a094f30256)

10 years agoDEVEL15-curpag-via-pioctl-20090603
Derrick Brashear [Wed, 3 Jun 2009 06:40:44 +0000]
DEVEL15-curpag-via-pioctl-20090603

LICENSE IPL10
FIXES 124709

curpag needs to know about kernel constructs (getpagvalue on AIX, onegroup
versus two group on linux) and on aix 5.1 simply can't work. add a new pioctl
and use it to simply ask the kernel what the current pag is

(cherry picked from commit 4af75fe96a9e4a985081d4af78439aeebabd6939)

10 years agoDEVEL15-linux-allow-disabling-syscall-probing-20090602
Simon Wilkinson [Tue, 2 Jun 2009 19:31:57 +0000]
DEVEL15-linux-allow-disabling-syscall-probing-20090602

LICENSE IPL10

give a configure switch to allow disabling syscall probing

(cherry picked from commit 091139b3e2160e1f56b11820d59589de9ccd9c40)

10 years agoDEVEL15-linux-locking-brace-fix-20090602
Derrick Brashear [Tue, 2 Jun 2009 19:12:21 +0000]
DEVEL15-linux-locking-brace-fix-20090602

LICENSE IPL10

so regardless of which code branch we choose we work

(cherry picked from commit 521f4e6d473335ac8f7f265904bda7840fddad71)

10 years agoDEVEL15-vfsck-conditional-for-namei-20090602
Derrick Brashear [Tue, 2 Jun 2009 18:39:43 +0000]
DEVEL15-vfsck-conditional-for-namei-20090602

LICENSE IPL10

make build fly again on solaris when namei and not inode is in play

(cherry picked from commit be47f4de0595dd044053695de3cdcedb2ec2a113)

10 years agoDEVEL15-doc-man-page-install-variables-20090602
Russ Allbery [Tue, 2 Jun 2009 18:33:42 +0000]
DEVEL15-doc-man-page-install-variables-20090602

LICENSE BSD

We were horribly confused about variables when creating man page symlinks.
Be less confused by using variables less.

(cherry picked from commit 3ae35e12714bf4759d313086b17ef47bae1d7504)

10 years agoDEVEL15-auth-cellconfig-overflow-20090601
simon@sxw.org.uk [Tue, 2 Jun 2009 04:32:19 +0000]
DEVEL15-auth-cellconfig-overflow-20090601

LICENSE IPL10
FIXES 124891

(cherry picked from commit e89f90f7f17efc80c984b2858cd85a87f8cdfbf3)

10 years agoDEVEL15-doc-admin-guide-updates-20090601
Jason Edgecombe [Mon, 1 Jun 2009 23:52:16 +0000]
DEVEL15-doc-admin-guide-updates-20090601

LICENSE BSD
FIXES 124889

Updates to chapter one of the Admin Guide.  Remove references to the
Authentication Server, add references to a Kerberos server, revise ntpd
parts to reflect the fact that OpenAFS doesn't ship ntpd, and removed
the distinction between the US and non-US versions of the Update Server.

(cherry picked from commit d7b3953a530a49edfed203d59194b3a293ed80b8)

10 years agoDEVEL15-doc-xml-build-cvsignore-20090601
Russ Allbery [Mon, 1 Jun 2009 23:46:47 +0000]
DEVEL15-doc-xml-build-cvsignore-20090601

LICENSE BSD

Ignore new generated files from the documentation build.

(cherry picked from commit e34fe0f9a85c0fa965fe30ead4c5ba14d077268f)

10 years agoDEVEL15-doc-xml-version-depends-20090601
Russ Allbery [Mon, 1 Jun 2009 23:40:51 +0000]
DEVEL15-doc-xml-version-depends-20090601

LICENSE BSD

Make PDF manual generation also depend on version.xml, matching HTML
generation.

(cherry picked from commit 2520cc9aabef8877cdd99abb858dc011dfa5629f)

10 years agoDEVEL15-xml-versioning-take-two-20090601
Derrick Brashear [Mon, 1 Jun 2009 18:51:56 +0000]
DEVEL15-xml-versioning-take-two-20090601

LICENSE IPL10

deal with this in a way which does not trip creation of CML state config files

(cherry picked from commit 0a617e33234f6104fdfb0d45593cf313c961f653)

10 years agoDEVEL15-vsprocs-log-format-bug-20090531
Simon Wilkinson [Mon, 1 Jun 2009 00:13:59 +0000]
DEVEL15-vsprocs-log-format-bug-20090531

LICENSE IPL10

fix the logged data to avoid a format string issue

(cherry picked from commit 8e0b8243ea8b38e6ceab8f1dc6a0e032d6622568)

10 years agoDEVEL15-doc-doxygen-20090531
Jeffrey Altman [Sun, 31 May 2009 17:56:53 +0000]
DEVEL15-doc-doxygen-20090531

LICENSE BSD

Doxygen converted versions of the IBM provided architecture and
protocol documentation.

Funded under an SBIR grant.

(cherry picked from commit 5526ba218f7f3653cabe5423b25b82f0241b0abc)

10 years agoDEVEL15-openafs-1-5-60-20090530 openafs-devel-1_5_60
Derrick Brashear [Sun, 31 May 2009 02:27:10 +0000]
DEVEL15-openafs-1-5-60-20090530

LICENSE IPL10

make 1.5.60

10 years agoDEVEL15-afsd-allow-maxmtu-override-20090530
Douglas Engert [Sun, 31 May 2009 02:22:39 +0000]
DEVEL15-afsd-allow-maxmtu-override-20090530

LICENSE IPL10
FIXES 124880

rxi_Findcbi, rxi_FIndIfnet, rxi_FindIfMTU "failure" end up returning
the RX_REMOTE_PACKET_SIZE as the mtu to use unless we allow our override
to apply, so we do that. then, add an afsd switch to allow setting it.

afsd man page update required and will follow.

====================
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
FIXES 124880

man page update to document previous work

(cherry picked from commit 74df876dafb9cf80ab5a8099b4202f2205bd9791)

10 years agoDEVEL15-windows-version-20090530
Jeffrey Altman [Sun, 31 May 2009 01:58:39 +0000]
DEVEL15-windows-version-20090530

LICENSE MIT

1.5.60 == 1.5.5600.0

10 years agoDEVEL15-viced-host-uuid-and-addr-hashing-corrections-20090530
Jeffrey Altman [Sat, 30 May 2009 18:27:17 +0000]
DEVEL15-viced-host-uuid-and-addr-hashing-corrections-20090530

LICENSE IPL10
FIXES 124634

only valid addr/port pairs are registered in the hash table.
add then remove when changing addresses.
make host restoral properly hash hosts.
remove should remove the address we asked for and not simply the
primary address.

(cherry picked from commit ca613599a2537756462a420ae1a632747a433226)

11 years agoDEVEL15-xml-doc-building-glue-20090527
Derrick Brashear [Wed, 27 May 2009 20:44:48 +0000]
DEVEL15-xml-doc-building-glue-20090527

LICENSE IPL10
FIXES 124804

add configure switches for building docs. generate version files needed.

(cherry picked from commit e452c704c59700496227dccb3161efd34ca709ba)

11 years agoDEVEL15-windows-install-20090527
Jeffrey Altman [Wed, 27 May 2009 14:55:58 +0000]
DEVEL15-windows-install-20090527

LICENSE MIT

Install ptclient.exe and pt_util.exe as part of the server installation

(cherry picked from commit d28e5fd04def989dcfb98ccd2b99ef44f5667167)

11 years agoDEVEL15-windows-ptserver-ubik-20090527
Jeffrey Altman [Wed, 27 May 2009 14:45:20 +0000]
DEVEL15-windows-ptserver-ubik-20090527

LICENSE MIT

move io.h inside AFS_NT40_ENV

(cherry picked from commit c1876dbf32b5c253b5325bf18a0bf2549b6c9682)

11 years agoDEVEL15-obsd-45-param-file-20090527
Matt Benjamin [Wed, 27 May 2009 14:26:51 +0000]
DEVEL15-obsd-45-param-file-20090527

LICENSE IPL10
FIXES 124719

add missing param file for obsd 4.5

(cherry picked from commit ea404cf1e3a174c8809cd7f3bcc5750e0983cce6)

11 years agoDEVEL15-windows-pt_util-20090527
Jeffrey Altman [Wed, 27 May 2009 08:04:15 +0000]
DEVEL15-windows-pt_util-20090527

LICENSE MIT

add missing build rules for pt_util.exe

(cherry picked from commit 39b4c0381a68824cb52c0d3a2ee1d81851598373)

11 years agoDEVEL15-windows-pt_util-20090526
Jeffrey Altman [Wed, 27 May 2009 07:59:46 +0000]
DEVEL15-windows-pt_util-20090526

LICENSE MIT

build pt_util.exe on Windows

(cherry picked from commit 8ea8519f3094692c2d7a55fb1702255d0b115a8f)

11 years agoDEVEL15-volser-retry-transaction-creation-20090526
Derrick Brashear [Wed, 27 May 2009 03:46:53 +0000]
DEVEL15-volser-retry-transaction-creation-20090526

LICENSE IPL10
FIXES 124635

version of the retry transaction creation patch for head/1.5

(cherry picked from commit 34fc86bcc749f3bd059831b7e5dae03dc09a9393)

11 years agoDEVEL15-unix-mkvers-xml-20090526
Derrick Brashear [Wed, 27 May 2009 03:13:02 +0000]
DEVEL15-unix-mkvers-xml-20090526

LICENSE IPL10

make mkvers do a xml version file for unix also

(cherry picked from commit 29223f5a52beac5b40853863733c70028fc7c52c)

11 years agoDEVEL15-man-page-vos-dump-flags-20090526
Russ Allbery [Wed, 27 May 2009 02:24:49 +0000]
DEVEL15-man-page-vos-dump-flags-20090526

LICENSE BSD

Add documentation of the -clone and -omitdirs flags to vos dump.

(cherry picked from commit 4c7a7f343c6cb0c5e6def6d28649cea65ff2907e)

11 years agoDEVEL15-linux-byte-range-locks-sensibility-20090526
Simon Wilkinson [Wed, 27 May 2009 01:47:51 +0000]
DEVEL15-linux-byte-range-locks-sensibility-20090526

LICENSE IPL10
FIXES 124766

make our locks work correctly with the linux connectathon lock testing

(cherry picked from commit 49b7bbdd3b45df694fadbef48f9ed99d9bfe07b9)

11 years agoDEVEL15-java-errno-header-20090526
fabrizio.manfredi@gmail.com [Wed, 27 May 2009 01:13:47 +0000]
DEVEL15-java-errno-header-20090526

LICENSE IPL10
FIXES 124810

use the errno header instead of assuming extern int

(cherry picked from commit 3b2a1ac2b1d4212363527a6edc6dd2aa76a3f960)

11 years agoDEVEL15-linux-mmap-antirecursion-avoid-spurious-eio-20090526
Russ Allbery [Wed, 27 May 2009 00:44:39 +0000]
DEVEL15-linux-mmap-antirecursion-avoid-spurious-eio-20090526

LICENSE IPL10

fix error code checking

(cherry picked from commit 1fb1b8d0a2f82c6e72e59afb0a400ea0d5b21fe1)

11 years agoDEVEL15-doc-xml-windows-release-notes-20090526
Jeffrey Altman [Tue, 26 May 2009 16:29:52 +0000]
DEVEL15-doc-xml-windows-release-notes-20090526

LICENSE MIT

Add notes describing registry support for CellServDB info and
conversion of docs to HtmlHelp format.

(cherry picked from commit e754a0bebdeaa5bd8acfdb5d802392715e38fd5b)

11 years agoDEVEL15-windows-notes-20090525
Jeffrey Altman [Tue, 26 May 2009 04:50:03 +0000]
DEVEL15-windows-notes-20090525

LICENSE MIT

changes for 1.5.60

11 years agoDEVEL15-windows-xml-release-notes-version-20090525
Jeffrey Altman [Tue, 26 May 2009 03:20:24 +0000]
DEVEL15-windows-xml-release-notes-version-20090525

LICENSE MIT

autogenerate version info.

fix chapter title.

(cherry picked from commit 582688f1be17611d2926a4a7281d55bc7ccaa611)

11 years agoDEVEL15-windows-top-makefile-20090525
Jeffrey Altman [Tue, 26 May 2009 01:54:25 +0000]
DEVEL15-windows-top-makefile-20090525

LICENSE MIT

add rules for building documentation sources

add option for including cygwin libs in wix installer

(cherry picked from commit 2f7046eff6599d9a66a7f31bb6f33b7f88646db5)

11 years agoDEVEL15-windows-doc-man-dependency-20090525
Jeffrey Altman [Tue, 26 May 2009 00:54:06 +0000]
DEVEL15-windows-doc-man-dependency-20090525

LICENSE IPL10

html\index.html not index.html

(cherry picked from commit 4a523957feabf7f5d9f36b7a05c79fd6eccf426e)