Russ Allbery [Wed, 1 Mar 2006 00:12:52 +0000]
html-style-todo-
20060228
Some style sheet updates and lots of to-do updates based on feedback from
C. Alex North-Keys.
Russ Allbery [Tue, 28 Feb 2006 23:43:03 +0000]
html-link-fixes-
20060228
Make the mentions of subcommands in the fs command introduction links to
the relevant pages, and add to README a to-do note to do this for the rest
of the introductory pages.
Fix links to man pages that contain underscores by working around a bug
in Pod::Simple.
Jeffrey Altman [Tue, 28 Feb 2006 23:24:23 +0000]
viced-panic-if-maxhosttables-exceeded-
20060228
Do not allow HTBlocks to allocate more blocks than will fit in
hosttablesptrs. Doing so corrupts memory. Panic instead until
we can get this fixed right.
Todd M. Lewis [Tue, 28 Feb 2006 23:09:08 +0000]
up-m-docs-
20060228
Document the -m flag to up.
Russ Allbery [Tue, 28 Feb 2006 21:17:27 +0000]
amd64-linux26-fix-
20060228
Restore the previous code for AMD64 under Linux 2.6, as the generic
Linux 2.6 code apparently does not work with all AMD64 kernels.
Chas Williams [Tue, 28 Feb 2006 00:17:52 +0000]
systm-h-header-inclusion-
20060227
FIXES 24765
avoid implicit references by including the prototypes from the header except 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.
====================
FIXES 24765
avoid implicit references by including the prototypes from the header except on
linux
Chas Williams [Mon, 27 Feb 2006 20:46:25 +0000]
pod-updates-
20060227
FIXES 26463
update pod files to deal with some section number changes
Chaskiel M Grundman [Mon, 27 Feb 2006 20:36:24 +0000]
tiger-updates-
20060220
update lpioctl, setattr and free tuios
Chaskiel M Grundman [Mon, 27 Feb 2006 20:34:10 +0000]
darwin-bsd-flock-
20060227
FIXES 25544
deal with posix flag in flock request on darwin
Derrick Brashear [Mon, 27 Feb 2006 20:17:21 +0000]
shut-up-fucking-whiner-
20060227
without further comment
Jim Rees [Mon, 27 Feb 2006 18:31:18 +0000]
indent-style-note-
20060227
Document our official indent style.
Jeffrey Hutzelman [Sat, 25 Feb 2006 06:44:18 +0000]
rmtsys-up-limits-
20060225
FIXES 27095
raise limits of constants in rmtsys
Hartmut Reuter [Sat, 25 Feb 2006 06:39:20 +0000]
vnop-remove-revised-lock-order-
20060225
FIXES 27176
drop the tdc lock even rearlier
Jeffrey Altman [Fri, 24 Feb 2006 07:48:21 +0000]
windows-ioctl-
20060224
FIXES 27225
properly compute the length of the ioctl output buffer for each data
segment
Jeffrey Altman [Fri, 24 Feb 2006 07:45:35 +0000]
windows-freelance-default-
20060224
change freelance default to on. this matches what the installers do.
Jim Rees [Thu, 23 Feb 2006 15:52:23 +0000]
aclprocs-protos-
20060223
Prototypes for aclprocs.
Also some other prototypes for viced.
Derrick Brashear [Thu, 23 Feb 2006 12:32:25 +0000]
softsig-thread-hack-not-on-nbsd30-
20060223
based on comment from gendalia@iastate.edu
Jim Rees [Wed, 22 Feb 2006 20:29:01 +0000]
viced-cleanup-
20060222
Prototypes, dead code removal, and other minor cleanups
Jeffrey Altman [Wed, 22 Feb 2006 05:07:48 +0000]
rxkad-krb5-improvements-
20060222
correct precedence of && and || in conditional to determine when
tkt_DecodeTicket5() should be called.
optimize order of ticket property evaluation to delay call to get_key()
which will require that a lock be obtained until after we know that
all of the other checks will succeed.
Jeffrey Altman [Wed, 22 Feb 2006 05:01:31 +0000]
viced-log-get-key-failure-
20060221
log afsconf_GetKey() failure
Jeffrey Altman [Wed, 22 Feb 2006 04:07:34 +0000]
server-rxmaxmtu-option-
20060221
add -rxmaxmtu <bytes> to allow setting the max send and receive RX MTU size
Jim Rees [Tue, 21 Feb 2006 21:07:57 +0000]
fbsd61-
20060221
Param file for FreeBSD 6.1. Builds, untested.
Derrick Brashear [Mon, 20 Feb 2006 21:49:17 +0000]
cache-autotune-
20060220
put in defaults so an old afsd will still start ok.
Jeffrey Altman [Mon, 20 Feb 2006 15:26:21 +0000]
viced-client-cps-race-fix-
20060220
remove a race condition between h_TossStuff_r and SRXAFS_FlushCPS by
changing h_ID2Client to return the client with a refcount and then
release the refCount with PutClient.
when the CPS list is non-NULL and the viceid is ANONYMOUSID be sure
to set the prlist_val to NULL if the prlist_len is being set to 0
since all of the tests are performed on prlist_val
Jeffrey Altman [Sat, 18 Feb 2006 06:01:27 +0000]
rx-dpf-
20060217
typo
====================
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.
====================
conditionalize rx_intentionallyDroppedOnReadPer100
Derrick Brashear [Sat, 18 Feb 2006 04:58:28 +0000]
flushrec-prototype-
20060217
add a prototype to shut up gcc4
Chaskiel M Grundman [Sat, 18 Feb 2006 04:53:34 +0000]
vnode-ref-verification-
20060217
verify we got a ref when we call vnode_ref
Jeffrey Altman [Sat, 18 Feb 2006 04:11:30 +0000]
rx-dpf-
20060216
when dpf is in use, log error codes from abort packets and perform
ntoh translation of addresses and port numbers.
Chaskiel M Grundman [Fri, 17 Feb 2006 21:57:12 +0000]
qremove-set-null-
20060217
when we remove an object from a queue null its list pointers
Chaskiel M Grundman [Fri, 17 Feb 2006 21:43:42 +0000]
flushvolume-vhashq-consistency-
20060217
avoid having vflushed vnodes in play
Jim Rees [Fri, 17 Feb 2006 17:58:21 +0000]
test-heimdal-
20060217
Add a configure test for heimdal and use it to build asetkey or not.
Thanks to Derek Atkins for his helpful suggestions.
Derrick Brashear [Fri, 17 Feb 2006 17:34:15 +0000]
hpux11-store-fd-sonner-
20060217
FIXES 23112
based on report from jbuehler@spirentcom.com
Chaskiel M Grundman [Fri, 17 Feb 2006 16:41:28 +0000]
darwin-x86-lwp-fix-
20060217
make lwp work on darwin x86
Jeffrey Altman [Fri, 17 Feb 2006 15:35:38 +0000]
windows-notes-
20060216
1.5.0 development build
Chaskiel M Grundman [Fri, 17 Feb 2006 15:22:24 +0000]
darwin-lost-wakeups-
20060213
eliminate the apparent lost wakeup problem in tiger
Klas Lindfors [Fri, 17 Feb 2006 14:48:09 +0000]
viced-has-as-member-locking-
20060217
FIXES 26967
A crucial line was missing from DELTA viced-fix-check-rights-race-
20060213
Jeffrey Altman [Thu, 16 Feb 2006 22:06:02 +0000]
windows-optimize-find-uid-
20060216
Rename smb_GetUser to smb_GetUserFromVCP and add smb_GetUserFromUID.
Use calls to smb_GetUserFromUID to reduce the number of times that
the smb_user_t object is obtained and released during the processing
of an smb call.
Jeffrey Altman [Thu, 16 Feb 2006 22:03:47 +0000]
windows-server-ping-
20060216
add logging of server addresses, status and capabilities
prevent multiple threads from pinging the same server simultaneously.
instead, threads block and then use the result of the ping that was
already taking place.
Jeffrey Altman [Thu, 16 Feb 2006 22:01:45 +0000]
windows-daemon-check-registry-
20060216
Add registry values to allow the defaults for daemon checks to be altered
at startup. Log values to afsd_init.log.
daemonCheckDownInterval
daemonCheckUpInterval
daemonCheckVolInterval
daemonCheckCBInterval
daemonCheckLockInterval
daemonCheckTokenInterval
Jeffrey Altman [Thu, 16 Feb 2006 21:59:19 +0000]
windows-lock-testing-
20060216
turn on the support for backing byte range lock allocations with
afs file server locks.
Jeffrey Altman [Thu, 16 Feb 2006 21:48:50 +0000]
windows-rx-wsaeconnreset-
20060216
Deal with the fact that Windows returns WSAECONNRESET after an ICMP
port not reachable packet was returned in response to a packet previously
sent.
Derrick Brashear [Wed, 15 Feb 2006 21:01:49 +0000]
linux-inode-i-mutex-
20060214
new (2.6.16) kernerls have i_mutex instead of i_sem
====================
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.
====================
make i_sem become i_mutex
Chaskiel M Grundman [Wed, 15 Feb 2006 20:53:02 +0000]
darwin-event-cleanup-
20060215
clean up event resources added for deadlock avoidance
Derrick Brashear [Wed, 15 Feb 2006 16:38:33 +0000]
asetkey-macos-
20060215
make the same fix we do on aklog w.r.t com_err
Derrick Brashear [Wed, 15 Feb 2006 16:32:42 +0000]
darwin-ifnet-flags-
20060215
darwin (8.0) already has this
Jeffrey Altman [Wed, 15 Feb 2006 16:31:15 +0000]
windows-reg-fix-
20060215
cleanup the back connection hostname code
Chaskiel M Grundman [Wed, 15 Feb 2006 07:01:40 +0000]
darwin80-mkdir-error-leak-fix-
20060215
avoid a potential refcount decrement "leak" (well, the opposite, really) when a mkdir fails
Adam Megacz [Wed, 15 Feb 2006 00:37:28 +0000]
macos-dynroot-start-anyway-
20060214
start afsd if -dynroot specified
Adam Megacz [Wed, 15 Feb 2006 00:33:45 +0000]
macos-afsdb-
20060214
enable afsdb by default
Chaskiel M Grundman [Tue, 14 Feb 2006 20:32:45 +0000]
lookup-checkcode-bulkstats-
20060214
do error code analysis on bulkstat results also
Jim Rees [Tue, 14 Feb 2006 16:58:13 +0000]
dead-code-and-prototyes-
20060214
Remove dead code and add prototypes.
Jeffrey Altman [Tue, 14 Feb 2006 14:03:17 +0000]
windows-build-sys_name-
20060214
Add the sys_name to the dest and obj directories in order to allow
both 32-bit and 64-bit builds to be built from the same directory
tree.
Jeffrey Altman [Tue, 14 Feb 2006 13:25:10 +0000]
windows-notes-
20060214
updates
Chaskiel M Grundman [Mon, 13 Feb 2006 18:51:55 +0000]
remove-recursive-vfs-getcontext-
20060213
remove unused code
Derrick Brashear [Mon, 13 Feb 2006 18:38:37 +0000]
solaris-afs-nfsrdwr-avoid-reading-past-end-of-file-
20060213
FIXES 25747
avoid a panic when we attempt a read past the end of the file
Derrick Brashear [Mon, 13 Feb 2006 18:29:26 +0000]
revert-bkg-disable-var-
20060213
remove the bkg daemon disabling
Jeffrey Altman [Mon, 13 Feb 2006 17:09:36 +0000]
viced-fix-check-rights-race-
20060213
FIXES 25869
acl_CheckRights() was generating core dumps because the client's prlist
was being invalidated by h_TossStuff_r() as part of freeing the associated
host. This patch fixes the problem in probably redundant ways.
A missing hold on the host is now obtained. refCounts on the client
are now preserved as part of GetClient()/PutClient(). Read/Write locks
are now obtained on the client when accessing/manipulating the prlist.
This patch adds the client parameter to GetVolumePackage() and
PutVolumePackage() and adds the new function PutClient().
This patch removes the need for the client X had conn Y stolen by X messages.
This is replaced by "deleted client X already had conn Y stolen by X. If
we see this there is definitely a logic problem as the client should not
be deleted at this point. We a no longer allowing the race condition that
would have resulted in the original message.
In addition, this patch fixes a problem with UAEs caused by the
inappropriate translation of VICE error into UAEs when there is overlap
between VICE error values and those in sys/errno.h.
Jeffrey Altman [Mon, 13 Feb 2006 16:33:49 +0000]
windows-findacl-optimize-
20060213
don't remove an entry from the queue and add it to the head if it already
is the head.
Jeffrey Altman [Mon, 13 Feb 2006 16:28:59 +0000]
windows-new-server-ping-
20060213
when adding a new server, mark it down to start.
this will allow the Ping to use the short timeout when checking the real
status.
Jeffrey Altman [Sun, 12 Feb 2006 06:25:37 +0000]
windows-off-to-the-races-
20060211
several race conditions were introduced over the last couple of weeks.
let's fix them.
Jeffrey Altman [Fri, 10 Feb 2006 18:43:22 +0000]
windows-vcp-fidsp-empty-
20060210
protect against the case in which the vcp->fidsp list is empty
which de-queuing smb_fid_t objects
Jeffrey Altman [Fri, 10 Feb 2006 17:10:44 +0000]
viced-probe-uuid-on-old-connection-
20060210
When we have found an existing host via Uuid, send the probe to the
connection associated with the old host instead of the new one. If
you send it to the new connection, we will fail to detect that the
old host is no longer responding and hence that it should be removed.
This should solve the 55 second delay problem seen from clients with
Uuids that move addresses or sit behind a NAT.
Jeffrey Altman [Fri, 10 Feb 2006 17:07:43 +0000]
viced-log-typo-
20060210
missing % in format string causes crash at log level 125
Derrick Brashear [Fri, 10 Feb 2006 16:49:37 +0000]
viced-debug-port-numbers-
20060210
fix port number printing to not print byteswapped port numbers
Jeffrey Altman [Thu, 9 Feb 2006 15:28:56 +0000]
windows-afslogon-
20060209
replace sizeof(opt) with sizeof(LogonOption_t)
add more debug statements
Jeffrey Altman [Tue, 7 Feb 2006 07:46:55 +0000]
viced-host-nat-
20060207
When we discover a new address for an existing host we can take the
opportunity to cleanup the hash table and the interface list if the
new address differs from an existing address only by the port number.
In that case we know the client is communicating to us from behind a
NAT and the old addr/port number combination is no longer going to
be of use to us.
Jeffrey Altman [Tue, 7 Feb 2006 06:04:34 +0000]
viced-more-dbg-improvements-
20060207
convert the rest of the addresses output in hex to dotted notation
Jim Rees [Mon, 6 Feb 2006 17:18:12 +0000]
no-global-sunlock-
20060206
Don't use global_sunlock on OpenBSD unless running smp kernel
Jeffrey Altman [Mon, 6 Feb 2006 07:06:33 +0000]
windows-winqual-
20060206
Fix two bugs reported via Windows Crash Reporting:
* Freelance initialization is somehow broken allowing the number of
locally defined mountpoints to become negative. Due to the use of
!= instead of < in loops, it is possible to read/write unallocated
memory.
* GetTextualSid() was not properly handling a NULL output buffer
pointer as an indication that the desired size should be returned.
Chaskiel M Grundman [Sun, 5 Feb 2006 18:21:51 +0000]
darwin-avoid-bogus-name-caching-
20060205
FIXES 26225
avoid the possibility of creating bogus cached named vnodes
Jeffrey Altman [Sun, 5 Feb 2006 17:45:34 +0000]
windows-mountpoints-
20060205
* if the mountpointstring is empty, return No Such Path; do not panic
Jeffrey Altman [Sun, 5 Feb 2006 17:44:41 +0000]
windows-afslogon-
20060205
* AFS_Logoff_Event must destroy tokens even if integrated logon is not
being used unless LogoffPreserveTokens is non-zero
Jeffrey Altman [Sun, 5 Feb 2006 07:44:50 +0000]
windows-afslogon-
20060204
* fix LogoffPreserveTokens to work in the correct direction
* modify behavior to avoid domain controller queries when integrated
logon is disabled or the logon account is local
Jeffrey Altman [Fri, 3 Feb 2006 23:21:04 +0000]
windows-todays-bugs-
20060203
* cell names must be treated as case insensitive
* smb logoff messages do not mean the user is logging off the machine.
do not use as an indication that tokens should be destroyed
* use the correct lock and avoid a deadlock when handling dead VCs
Jeffrey Altman [Thu, 2 Feb 2006 21:47:37 +0000]
viced-log-add-ports-
20060202
* add port numbers to Host addresses so we can distinguish clients behind
NATs
* make messages consistent with regards to case and punctuation of
"Host x.x.x.x:y"
* convert hex addresses to dotted notation
Jeffrey Altman [Wed, 1 Feb 2006 18:28:58 +0000]
windows-more-cleanup-
20060201
missed one case where the vcpCounter wrapped fids at 0
Chaskiel M Grundman [Thu, 2 Feb 2006 08:27:16 +0000]
bkg-disable-var-
20060202
don't extern this
Jeffrey Altman [Wed, 1 Feb 2006 18:02:29 +0000]
windows-more-cleanups-
20060201
* remove all references to 'dead_vcp'; cleanup smb_vc_t's as soon as
we know they are dead
* add mx holds across the cm_cell_t updates
* add cm_FindSCacheParent() and remove duplicate code elsewhere
* add mx holds across scp->flags updates
* add cm_CleanFile()
* clear CM_SCACHEFLAG_CALLBACK when discarding callbacks
* fix smb fid wrapping. wrap at 0xFFFF instead of 0 because 0xFFFF
is -1 which is INVALID_HANDLE
* add missing mx holds around vcp->flags updates
Tom Keiser [Wed, 1 Feb 2006 16:20:07 +0000]
aix-prototyping-fixes-
20060201
FIXES 26102
fix some prototypes and enable prototype enforcement for aix
Tom Keiser [Wed, 1 Feb 2006 16:09:01 +0000]
osi-audit-locking-fix-
20060201
FIXES 25955
fix aix builds
Jeffrey Altman [Wed, 1 Feb 2006 15:58:30 +0000]
getsomespace-r-rewrite-
20060201
rewrite of GetSomeSpace_r to get rid of the brokenness we had before.
also make GetCapabilities work like other rpc stubs which don't need callbacks
Jeffrey Altman [Tue, 31 Jan 2006 09:13:11 +0000]
windows-smb_fid_t-mx-
20060130
*Includes the changes from STABLE14-windows-smb_fid_t-audit-
20060125
as well:
"Further testing revealed that some smb_vc_t objects could not be freed
because the associated smb_fid_t objects never reached a zero refcount.
Additional auditing uncovered cases in which there were holds not being
released and others in which they were released to many times. This
patch fixes the problems and improves auditability by modifying the
behavior of the smb_IoctlXXX() functions to not release a reference
that was obtained by the caller. Now the caller releases the reference."
Fixup token deletion logic
Surround all references to smb_fid_t flags and other references
by obtaining and releasing the 'mx' lock.
Ken Hornstein [Mon, 30 Jan 2006 22:11:40 +0000]
merge-up-fixes-rxtcp-
20060130
Merge in fixes to up from the rxtcp branch.
Chaskiel M Grundman [Sat, 28 Jan 2006 19:20:44 +0000]
simple-darwin-disable-bkg-
20060128
avoid potential hang by disabling bkg daemons on 10.4 for now
Chaskiel M Grundman [Sat, 28 Jan 2006 18:06:06 +0000]
newvcache-dont-spin-
20060128
make things so newvcache won't spin
Chaskiel M Grundman [Sat, 28 Jan 2006 18:02:40 +0000]
reclaim-defered-flush-fixes-
20060128
fix side effect of reclaim lookaside
Derrick Brashear [Thu, 26 Jan 2006 21:24:39 +0000]
up-cleanup-
20060126
FIXES 25863
subsumes todd's fix
Tom Keiser [Thu, 26 Jan 2006 20:34:50 +0000]
osi-panic-revert-to-kandr-
20060126
FIXES 25924
avoid prototype issue for now
Chas Williams [Thu, 26 Jan 2006 18:55:18 +0000]
linux-vcache-extra-ref-unneeded-
20060126
FIXES 25829
the dynamic/system inode version of the linux client already keeps an
extra reference when the inode is on the vcache list. the inode/vnode
should not go away while we are trying to flush the dcache children.
Jim Rees [Thu, 26 Jan 2006 18:13:06 +0000]
remove-spurious-var-
20060126
Remove unused local variable "lock".
Jim Rees [Thu, 26 Jan 2006 18:11:23 +0000]
cast-pointer-
20060126
Cast pointer to long for printf.
"%p" would be a better fix, but is it supported on all platforms?
Derrick Brashear [Thu, 26 Jan 2006 16:03:03 +0000]
macos-avoid-reclaim-hang-
20060124
FIXES 25686
based on chaskiel's suggestion, implement a lookaside reclaim list
Chas Williams [Thu, 26 Jan 2006 16:00:34 +0000]
more-rxglock-cleanup-
20060126
FIXES 23321
more rx glock cleanup. eval for pullup after 1.4.1
Chas Williams [Thu, 26 Jan 2006 15:56:41 +0000]
linux26-build-update-
20060126
FIXES 25879
KBUILD_BASENAME will need to be set in 2.6.15 and later for configure to work usefully
Tom Keiser [Thu, 26 Jan 2006 15:52:37 +0000]
ukernel-rx-knet-deref-
20060126
FIXES 25927
pass correct parameter to avoid type mismatch
Derrick Brashear [Thu, 26 Jan 2006 15:49:05 +0000]
sol10-vnode-cleanup-
20060126
Because we use a private pool of vnodes, it's up to us to trigger cleanup.
here we do so.
Jim Rees [Wed, 25 Jan 2006 19:44:15 +0000]
regen-no-doc-noise-
20060125
Don't say we're building man pages if we're not.
Russ Allbery [Wed, 25 Jan 2006 05:59:38 +0000]
man-page-html-
20060124
Initial cut at an HTML conversion of the POD reference pages. Requires
Pod::Simple be installed (version 3.0 or later, probably). Also fix a POD
formatting bug in the afs(1) man page noticed while testing HTML output.
Derrick Brashear [Wed, 25 Jan 2006 04:45:00 +0000]
macos-avoid-reclaim-hang-
20060124
FIXES 25686
based on chaskiel's suggestion, implement a lookaside reclaim list
Jeffrey Hutzelman [Wed, 25 Jan 2006 03:49:25 +0000]
release-avoid-negative-time-
20060124
avoid any possibility of time going negative when releasing incrementally