Commit Graph

4439 Commits

Author SHA1 Message Date
Simon Wilkinson
d0285a2193 fssync-poll-interface-20071022
FIXES 74708

support a poll interface

otherwise, the fd setsize can screw with us
2007-10-22 18:29:28 +00:00
Simon Wilkinson
e25e21e909 cpp-avoid-cc-E-20071022
finding the right cpp is good. having it not be cc -E is better
2007-10-22 14:21:26 +00:00
Jeffrey Altman
fd1bf06004 windows-ntstatus-warnings-20071021
suppress warnings caused by multiple definitions of NTSTATUS values
2007-10-22 04:32:09 +00:00
Jeffrey Altman
f90153625e windows-del-symlink-20071021
The cmd.exe "del" command operates by opening a file and then setting
the file disposition to delete on close followed by closing the file.

When the filename is a symlink, the smb_fid_t scp refers to the final
destination object and not the symlink.  In smb_CloseFid() the correct
object would be removed from the directory by name, but the wrong cm_scache_t
would be marked deleted.  This would result in subsequent references to
the target file being considered invalid.

Fix it by looking up the cm_scache_t of the symlink prior to performing
the deletion.
2007-10-22 04:27:14 +00:00
Jeffrey Altman
20cfc16e3d windows-registry-OfflineReadOnlyIsValid-20071019
Add registry value "OfflineReadOnlyIsValid" option.  When set to non-zero
value, an offline or down read only volume will be treated as if it has
a valid callback even if it doesn't.
2007-10-20 04:58:40 +00:00
Arno Schuring
6122c757e1 cpp-autoconf-located-20071019
let autoconf find cpp
2007-10-20 01:20:51 +00:00
Derrick Brashear
7e752ba085 darwin80-dnlc-dont-return-deadvnodes-20071019
FIXES 41550

obvious. if we are going to be like GetVCache, we should
2007-10-19 21:37:15 +00:00
Jeffrey Altman
05ee11d315 windows-pioctl-parse-path-20071018
cm_ParseIoctlPath() moves the ioctlp->inDatap past the ioctl path
to the next data value if there is one.  Make sure we move the pointer
before we alter the contents of the buffer.  Otherwise, the caller
uses the wrong string for its next data blob.
2007-10-19 05:25:39 +00:00
Jeffrey Altman
53baa78733 windows-pioctl-error-codes-20071018
add knowledge of new cm error codes
2007-10-18 23:06:35 +00:00
Jeffrey Altman
91855b82c7 windows-freelance-symlink-20071018
More tweaking of the IoctlPathParsing code.

Add special handling for many more pioctl operations performed on
the Freelance root.afs volume.

Add informative error values for symlink freelance operations.
2007-10-18 06:27:40 +00:00
Jeffrey Altman
8598b81a69 windows-smb-20071018
refactoring, suppression of duplicate status value definition warnings,
and removal of old pattern matching code
2007-10-18 06:24:39 +00:00
Jeffrey Altman
deced1c932 windows-afskfw-20071018
Add SOFTWARE\OpenAFS\Client  AcceptDottedPrincipalNames registry
value to control whether the use of Kerberos v5 principal names
with dots in the first component are permitted.
2007-10-18 06:20:08 +00:00
Derrick Brashear
930f1d7ad7 redhat-spec-require-bison-flex-20071018
require everything we need to build
2007-10-18 05:11:16 +00:00
Derrick Brashear
bc1cc5a65b redhat-packaging-updates-20071018
make the buildall script know centos and new fedora; make the spec file include it
2007-10-18 05:02:42 +00:00
Derrick Brashear
d8faa623f7 darwin-fsref-other-races-20071017
FIXES 41550

not clear this is exactly correct but testing seems to vet it.
2007-10-17 21:32:38 +00:00
Chaskiel M Grundman
49630f2957 darwin-finalizevnode-get-vnode-inside-lock-20071017
FIXES 41550

the ovp initialization should happen while we have the vnode locked, regardless.
2007-10-17 18:16:19 +00:00
Derrick Brashear
eac13cbb48 afs-shutdown-free-resources-20071017
try hard to free resources
2007-10-17 15:32:50 +00:00
Derrick Brashear
30193a043e darwin90-disk-cache-20071016
FIXES 43303

don't break memcache, also
2007-10-17 04:46:19 +00:00
Douglas Engert
62689b0134 translator-sysnamelist-bugfix-20071016
FIXES 74478

fix sysname list support bug when the list is empty
2007-10-16 22:55:38 +00:00
Jeffrey Altman
89c8d7e125 windows-fs-uuid-20071016
do not require afs client administrator access to display the current
Uuid value.
2007-10-16 18:24:31 +00:00
Jason Edgecombe
7b2fc6e8d5 fs-uuid-20071016
FIXES 74473

Change "fs uuid" to "fs uuid -generate" where "-generate" is a
required parameter.

This command requires root access to execute it.

Unlike the Windows variant, the UNIX version does not yet support displaying
the current UUID to the user.  When this functionality is added, "-generate"
should become an optional parameter.
2007-10-16 18:18:28 +00:00
Jeffrey Altman
b8ecf28e22 restore-20071016
FIXES 74531

afs_com_err() was called without specifying the error code.
2007-10-16 17:55:10 +00:00
Derrick Brashear
38719a218c darwin-access-avoid-confusing-cp-20071015
FIXES 69363

it wants EPERM; EACCES, and it just retries forever.

"no means no. now go away"
2007-10-15 20:19:03 +00:00
Derrick Brashear
d66f71cc08 darwin-install-fstrace-catalog-20071015
fstrace needs the message catalog to be useful. install it.
2007-10-15 18:23:54 +00:00
Derrick Brashear
38a653ea0d redhat-spec-no-kdump-really-20071015
make really, really sure it's not there
2007-10-15 18:00:58 +00:00
Rainer Toebbicke
14e71a12b6 volser-return-extended-stats-to-callers-20071015
FIXES 74398

make sure when we roll over stats we return the new values
2007-10-15 15:13:42 +00:00
Jeffrey Altman
707c164a6f windows-clean-eventlog-20071014
delete AFS_component_version_number.h in the lang subdirectory
2007-10-15 04:18:30 +00:00
Jeffrey Altman
8a50a53fdf windows-pioctl-two-20071014
Two more locations where an intermediary path of length zero should
be ignored.
2007-10-15 03:32:12 +00:00
Jeffrey Altman
7504c66402 windows-pioctl-20071014
do not parse an intermediary path if the path length is 0
2007-10-14 06:54:06 +00:00
Derek Atkins
b6cfa8d6c8 rpm-kmodule-patch-20071012
install the openafs module in the kernel module area, in rpms
2007-10-12 05:28:55 +00:00
Marc Dionne
7832148ae0 gcc42-integer-overflow-fix-20071007
fix issue where gcc 4.2 compiled kernel modules were breaking on linux

====================
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.
====================

with fix from Hans-Werner Pulsen

====================

with fix from Hans-Werner Pulsen
2007-10-11 18:44:53 +00:00
Derrick Brashear
e1b1f4655f macos-version-generation-20071011
make release time simpler
2007-10-11 17:51:56 +00:00
Simon Wilkinson
c4ad02b69a rpm-files-update-20071011
updates for the specfile and rpm generation
2007-10-11 17:38:56 +00:00
Jeffrey Altman
4a80289db7 windows-freelance-pioctl-two-20071010
explicitly process the last component of the path separately and do not
follow symlinks or chase mountpoints on the last component.
2007-10-10 19:50:25 +00:00
Derrick Brashear
63e1761b99 darwin90-disk-cache-20071010
FIXES 43303

support disk cache in darwin90
2007-10-10 18:38:45 +00:00
Jeffrey Altman
b7030276f7 windows-build-xstat-20071010
build xstat directory
2007-10-10 17:05:47 +00:00
Jeffrey Altman
9991a731e0 windows-clean-eventlog-20071010
clean eventlog/lang/AFS_component_version_number.h
2007-10-10 16:43:30 +00:00
Jeffrey Altman
58627b15eb windows-installer-wix-20071010
Later versions of the wix toolset require that all variables be defined
with a value.
2007-10-10 16:37:25 +00:00
Jeffrey Altman
fae48bb39b windows-freelance-pioctl-20071010
pioctl commands were failing with CM_ERROR_NOSUCHCELL because the
Freelance cell object was not being added to the Cell Name and ID
hash tables.

ParseIoctlPath was not consistently returning the FID of the specified
symlink or mount point object.  The was still one more case in which
CM_FLAG_FOLLOW was being specified left over from
windows-parse-ioctl-path-20070629.  Changed the use of CM_FLAG_FOLLOW
into a 'follow' variable to ease testing and permit easy migration to
adding a 'follow' parameter to the function.

RXAFS_GetVolumeStatus is always going to fail for Freelance volumes.
Fake the response data.

UpdateVolume() was performing the wrong test for Freelance volumes.
Freelance volumes should not be marked offline even though they have
no servers.
2007-10-10 16:20:29 +00:00
Derrick Brashear
604838e7d4 darwin90-debug-harder-20071009
stab the stabs
2007-10-09 22:28:18 +00:00
Derrick Brashear
9240a1e252 taking-rx-back-into-the-20th-century-20061228
ken's patch is now on the ipv6 branch
2007-10-09 22:26:24 +00:00
Derrick Brashear
b4b2b74d14 darwin90-dsym-and-ppc-cputype-support-20071009
build for all ppc cputypes. also, support dsym debug info instead of stabs, when appropriate
2007-10-09 16:58:47 +00:00
Derrick Brashear
e4adbbc79b sol10-abstraction-20071005
abstract things as needed
2007-10-05 23:16:36 +00:00
Tom Keiser
f6e59be4dc dafs-listen-after-restoring-state-20071004
don't start rx server until the previous state has been loaded
2007-10-05 04:30:19 +00:00
Derrick Brashear
409a345703 vol-salvager-avoid-logging-to-nothing-20071004
check for logFile before using
2007-10-05 04:22:27 +00:00
Marc Dionne
127cebfacd linux-2623-support-20071004
FIXES 70773

update for support for 2.6.23
2007-10-05 04:07:27 +00:00
Dale Ghent
4ac01ec1ed solaris10-network-updates-20071004
FIXES 72759

This patch removes use of the non-Public ILL structures by OpenAFS to
gather network interface information in order to make RX packet size
and server locality decisions.
2007-10-05 03:22:11 +00:00
Jeffrey Altman
3c216378cb windows-btree-rename-case-only-20071004
Attempts to rename by case only would fail when there are more than
one ambiguous matches.  The list of data nodes would be corrupted
and future tree manipulations could result in a crash.
2007-10-04 15:11:07 +00:00
Jeffrey Altman
a7abca15b0 libadmin-minimize-dns-lookups-20071003
Some cells have a large number of servers listed in the vldb that
no longer exist and/or do not have PTR records in DNS.  The algorithm
used to obtain the "server names" from IP addresses involves opening
a cell handle, creating an iterator of all servers, and then iterating
over them until a match is found for the IP address.  This is done for
every server reference.  Each time the iterator was constructed the
vldb would be queried and gethostbyaddr() would be called on every listed
ip address.

This patch stores a copy of the server list in the cell handle along with
an expiration time generated from a 10 minute TTL.  This significant
reduces but does not eliminate the number of times that the caller is
blocked on reverse dns lookups.
2007-10-03 16:27:53 +00:00
Jeffrey Altman
a4b995b618 windows-tviced-resfile-20071003
Add explicit build rules for TVICEDRES since we do not
build the non-threaded file server on Windows
2007-10-03 16:17:43 +00:00