Jeffrey Altman [Tue, 25 Dec 2007 21:58:51 +0000]
windows-callback-revoke-multi-cell-servers-
20071225
LICENSE MIT
Remove the callback revoke optimization that prevents a (vol,vn,uniq)
tupple from invalidating entries from multiple cells. We cannot reliably
determine the cell from the server because the server might be identified
as belonging to more than one cell. For example, openafs.org and
grand.central.org.
Jeffrey Altman [Mon, 24 Dec 2007 05:29:15 +0000]
windows-hold-server-mutex-for-vol-list-
20071223
LICENSE MIT
When walking or modifying the cm_server_vols_t associated with a given
cm_server_t the mutex must be held. Otherwise, races can occur.
Jeffrey Altman [Mon, 24 Dec 2007 05:23:28 +0000]
windows-daemon-threads-shutdown-sync-
20071223
LICENSE MIT
Windows Error Reporting received crashes caused by a failure to synchronize
the shutdown of the AFS client service with the background daemon threads.
The daemon threads (cm_Daemon, cm_BkgDaemon+, cm_IPAddrDaemon) could be
accessing data structures as they were being freed or unmapped.
Add synchronization mechanisms to signal the termination of the threads
with the shutdown of the service.
Jeffrey Altman [Mon, 24 Dec 2007 05:17:50 +0000]
windows-update-volume-status-
20071223
LICENSE MIT
Refactor cm_UpdateVolumeStatus. Revise behavior to treat volid 0 as
update the volume status for all volumes in the volume group.
Jeffrey Altman [Mon, 24 Dec 2007 05:14:11 +0000]
windows-server-lock-error-
20071224
LICENSE MIT
The cm_serverLock must be write locked to modify the refCount
Jeffrey Altman [Sun, 23 Dec 2007 04:51:59 +0000]
windows-volstat-and-vista-dfs-support-
20071222
LICENSE MIT
This patch completes the implementation of smb_ReceiveTran2GetDFSReferral()
which is called by Vista even if we do not advertise the support of DFS
referrals. It also adds DFS link mapping notifications to the volstat
interface which can be used by volstat plug-ins to redirect requests to
the dfs target path.
Other miscellaneous items:
(1) return EAS_NOT_SUPPORTED instead of EA length 0 and silently accepting
but not storing EA data
(2) Call cm_VolStatus_Service_Started() before smb initialization instead
of afterwards
(3) During directory enumeration and link assembly push the UNC path into
the lower levels by storing references to the tidPath and the relative
paths within the cm_req_t object.
(4) During directory enumeration make absolutely sure that we do not
reference an unallocated cm_dirEntry_t object
(5) publish a prototype for cm_FollowMountPoint()
(6) return ERROR_RETRY instead of BAD_NETWORK_PATH if the server returns
VBUSY
(7) return PATH_NOT_COVERED instead of BADSHARENAME for DfsLinks when
a volstat plugin is in use
Jeffrey Altman [Sun, 23 Dec 2007 04:15:33 +0000]
windows-freelance-scache-
20071222
LICENSE MIT
(1) remove a race condition caused by holding and releasing the
cm_Freelance_Lock while using a pointer into a private freelance
data structure
(2) do not reference a localMountPoint object that is not allocated
(3) properly assign the DFSLINK file type
(4) update the buffer data versions when we update the contents of
the stat cache object and its buffers to match the registry
contents
Jeffrey Altman [Sun, 23 Dec 2007 03:43:49 +0000]
windows-pioctl-listlink-
20071222
LICENSE MIT
In the error case (1) reference the mountPointString instead of the
output of cm_AssembleLink() which was not generated and (2) do not
free memory and objects that were not allocated nor reference counted.
Jeffrey Altman [Sun, 23 Dec 2007 03:38:45 +0000]
windows-freelance-
20071222
LICENSE MIT
remove unused next field in cm_localMountPoint_t
Jeffrey Altman [Sun, 23 Dec 2007 03:25:56 +0000]
windows-fix-cb-expiration-
20071222
LICENSE MIT
corrects cb expiration that was broken by the osi_Time() -> time() change
in delta windows-readonly-volume-callbacks-
20071109
Derrick Brashear [Wed, 19 Dec 2007 20:56:23 +0000]
darwin-dont-assert-on-lock-state-in-remove-
20071219
LICENSE IPL10
remove panic due to lock being grabbedin another thread can't be accurately
covered with this test on darwin, as e.g. proc_selfthread() is not in the KPI
Derrick Brashear [Tue, 18 Dec 2007 15:16:20 +0000]
fix-verbose-vos-dump-
20071217
LICENSE IPL10
fix verbose vos dump to not put garbage in the stream when dumping to stdout
Chaskiel M Grundman [Mon, 17 Dec 2007 21:12:45 +0000]
shlibafsrpc-export-more-
20071217
LICENSE IPL10
shlibafsauthent uses these, export them
Derrick Brashear [Mon, 17 Dec 2007 18:02:58 +0000]
put-relnotes-on-head-
20071217
LICENSE IPL10
add 1.4.6 relnotes, put reast on head
Adam Megacz [Fri, 14 Dec 2007 21:33:56 +0000]
java-admin-interface-updates-
20071214
LICENSE IPL10
pdate java admin interface including support for 1.5
Jeffrey Altman [Fri, 14 Dec 2007 13:33:57 +0000]
windows-make-cleanup-
20071214
LICENSE MIT
Modify the dependencies for building the cbd and file server resource
files and delete the resource files as part of 'clean'.
Jeffrey Altman [Fri, 14 Dec 2007 13:06:48 +0000]
emulate-vsyslog-
20071214
LICENSE IPL10
Do not include vsyslog on Windows.
Include syslog.h for the syslog() prototype.
Derrick Brashear [Thu, 13 Dec 2007 23:04:54 +0000]
aix-lam-aklog-set-token-name-
20071213
LICENSE IPL10
so we set an afs id in the tokens here also
Derrick Brashear [Thu, 13 Dec 2007 22:41:11 +0000]
emulate-vsyslog-
20071213
LICENSE IPL10
aix 5.3 lacks vsyslog. the fixed buffer is poor, but...
Derrick Brashear [Thu, 13 Dec 2007 21:21:56 +0000]
aix-curpag-redux-
20071213
LICENSE IPL10
add curpag() support for aix, based on work by tom keiser
Simon Wilkinson [Thu, 13 Dec 2007 20:04:41 +0000]
redhat-rpm-mockable-
20071213
LICENSE IPL10
make us able to autobuild with mock. (may need krb5-devel outside the
if krb5support; if we do more thought will be involved)
Derrick Brashear [Thu, 13 Dec 2007 19:46:06 +0000]
vcache-track-maxvcount-accurately-
20071213
LICENSE IPL10
if we can alloc more vnodes, and we are looking for vlru cycles, a legit
vnode is not indicative of a cycle.
Derrick Brashear [Thu, 13 Dec 2007 19:18:06 +0000]
shutdown-cleanup-
20071213
LICENSE IPL10
get rid of cold_shutdown; it's in afs_prototypes.h.
log when we don't clean up memory
Jeffrey Altman [Wed, 12 Dec 2007 04:24:26 +0000]
windows-afslogon-null-pointer-deref-
20071211
LICENSE MIT
'tokenUser' can be dereferenced when NULL if GetTokenInformation() fails.
Mike Meffie [Tue, 11 Dec 2007 21:28:26 +0000]
afs-serveriprank-return-void-
20071211
LICENSE IPL10
can't return 0 from void function
Mike Meffie [Tue, 11 Dec 2007 20:42:34 +0000]
vldb-check-dont-return-int-from-void-
20071211
LICENSE IPL10
void functions shouldn't return 0
Derrick Brashear [Tue, 11 Dec 2007 16:25:55 +0000]
butc-no-retval-in-void-func-
20071211
LICENSE IPL10
fix the build again
Derrick Brashear [Tue, 11 Dec 2007 14:53:30 +0000]
revert-clean-felater-when-rechaining-
20071211
LICENSE IPL10
revert this for now, put it in all in one piece when we commit the ifdef'd out
test code.
Derrick Brashear [Mon, 10 Dec 2007 22:45:42 +0000]
ubik-avoid-truncating-live-database-during-recovery-
20071210
LICENSE IPL10
FIXES 77183
currently we can truncate the live database while we are doing recovery.
address that.
Derrick Brashear [Mon, 10 Dec 2007 22:41:22 +0000]
afs-shutdown-cleanup-
20071210
LICENSE IPL10
FIXES 74479
clean up allocated resources when we shut down
Mike Meffie [Mon, 10 Dec 2007 22:24:55 +0000]
find-cpp-from-slash-
20071210
LICENSE IPL10
find cpp using a full path, not the user's path, at least for now
Jeffrey Altman [Mon, 10 Dec 2007 20:43:58 +0000]
windows-remove-out-of-date-buffers-from-hash-tables-
20071210
LICENSE MIT
When a cm_MergeStatus operation determines that the current data buffers
are out of date, remove them from the buffer hash tables in order to speed
the lookup of valid data buffers.
Jeffrey Altman [Mon, 10 Dec 2007 20:33:34 +0000]
windows-buffers-
20071210
LICENSE MIT
after removing cm_buf_t objects from the hash tables, clear the HT list
pointers to make debugging easier.
when modifying data version values in buf_ForceDataVersion() grab a
read lock on buf_globalLock instead of a write lock. A write lock is
only required if the hash table linked lists are being modified.
The dataVersion itself is protected by the cm_scache_t mx mutex being
held.
Carsten Jacobi [Mon, 10 Dec 2007 18:26:30 +0000]
pam-expires-setting-should-be-32bit-
20071210
LICENSE IPL10
store as a 32 bit value explicitly so 32 bit routines don't leave garbage around here.
Mike Meffie [Mon, 10 Dec 2007 18:20:50 +0000]
uss-lex-more-forward-decls-
20071210
LICENSE IPL10
forward declare this so picky compilers will do their jobs.
Derrick Brashear [Sun, 9 Dec 2007 23:33:42 +0000]
cnvldb-prototypes-
20071209
LICENSE IPL10
forward declare these
Derrick Brashear [Sun, 9 Dec 2007 06:05:51 +0000]
aklog-no-dummy-write-on-aix5-
20071209
LICENSE IPL10
don't do the dummy write on aix5. we are better off actually working
Derrick Brashear [Sat, 8 Dec 2007 17:57:33 +0000]
writedcache-enforce-xdcache-writelock-
20071208
LICENSE IPL10
FIXES 59136
in order that the writes to CacheItems not be addled, we need to *actually*
hold a *write* lock when we write. not even just read as the comment says.
and certainly not none as was happening in the dir package.
Derrick Brashear [Sat, 8 Dec 2007 17:44:00 +0000]
linux24-kernel-configure-test-
20071208
LICENSE IPL10
on linux 2.4 the try kbuild macro needs to try harder to notice what
symbols we don't have
Jeffrey Altman [Fri, 7 Dec 2007 21:32:53 +0000]
windows-wix-afslogon-
20071207
LICENSE MIT
Move afslogon.dll and afscpcc.exe to the OpenAFS\Client\Program directory
Jeffrey Altman [Fri, 7 Dec 2007 16:03:56 +0000]
windows-follow-backup-path-
20071207
LICENSE MIT
Add a registry value, FollowBackupPath, that provides the Windows cache
manager with functionality equivalent to the UNIX afsd -backuptree option.
Jeffrey Altman [Wed, 5 Dec 2007 20:38:38 +0000]
viced-cbstuff-
20071205
LICENSE IPL10
Keep track of AddCallBack calls in cbstuff.
Increment cbstuff.DeleteCallBacks after holding H_LOCK
Jeffrey Altman [Wed, 5 Dec 2007 20:31:56 +0000]
cbd-
20071205
LICENSE IPL10
Windows requires open() to be called with O_BINARY otherwise Ctrl-Z
means EOF which breaks dumpfile processing.
Be consistent about writing/reading time as afs_uint32 instead of
writing as afs_uint32 and reading as time_t since time_t can be 32-bit
or 64-bit depending on the platform.
Derrick Brashear [Tue, 4 Dec 2007 21:08:10 +0000]
largefile-avoid-wraparound-write-to-old-server-
20071204
LICENSE IPL10
FIXES 73720
apply analogous check that's in fileserver to clients writing to old servers
Derrick Brashear [Tue, 4 Dec 2007 21:01:12 +0000]
inode-convertro-dont-include-volser-code-in-viced-
20071204
LICENSE IPL10
FIXES 77574
viced isn't an fssync client; avoid the convert volser code there
Derrick Brashear [Tue, 4 Dec 2007 20:39:18 +0000]
linux-nfs-translator-dont-lose-nfs-pag-on-write-
20071204
LICENSE IPL10
avoid issue where nfs writes through the translator could become unpag'd because a background daemon came into play
Derrick Brashear [Tue, 4 Dec 2007 20:18:50 +0000]
afsdb-avoid-cross-task-stack-use-
20071204
LICENSE IPL10
really for aix, but simplified code universally.
Jeffrey Altman [Tue, 4 Dec 2007 15:44:56 +0000]
windows-giveupallcallbacks-
20071204
LICENSE IPL10
Add a registry value, GiveUpAllCallBacks, that can be used to enable/disable
the use of the GiveUpAllCallBacks RPC. Due to the fact that calling this RPC
can destablize pre-1.4.6 file servers since they do not include DELTA
giveupallcallbacks-locking-
20071121, the default is being set to disabled.
We can re-enable the functionality by default only after sufficient time
has been given for orgs to update their file servers.
Tracy Di Marco White [Sat, 1 Dec 2007 05:40:51 +0000]
nbsd-new-version-
20071201
LICENSE IPL10
FIXES 75602
add support for new version(s) of netbsd
Derrick Brashear [Fri, 30 Nov 2007 19:13:38 +0000]
aix-pin-small-allocs-
20071130
LICENSE IPL10
we assume the small alloc pool is pinned. maybe we should pin it.
Hartmut Reuter [Thu, 29 Nov 2007 21:37:00 +0000]
namei-allow-ufs-
20071129
LICENSE IPL10
allow ufs again for namei. oops.
Jeffrey Altman [Thu, 29 Nov 2007 20:53:53 +0000]
windows-aklog-no-panic-if-no-kfw-
20071129
LICENSE MIT
Jeffrey Altman [Thu, 29 Nov 2007 19:25:04 +0000]
viced-drop-core-on-shutdownandcore-
20071129
LICENSE IPL10
FIXES 74708
when we call ShutDownAndCore, actually drop a core.
Jeffrey Altman [Thu, 29 Nov 2007 18:40:12 +0000]
clean-felater-when-rechaining-
20071129
LICENSE IPL10
FIXES 74708
in order that this not be continually rechained, clear this here; we
are handling it now.
Derrick Brashear [Thu, 29 Nov 2007 18:32:29 +0000]
zero-uio-on-zero-read-
20071127
LICENSE IPL10
avoid leaking random data in a read of a 0 length object.
Jeffrey Altman [Thu, 29 Nov 2007 16:10:24 +0000]
windows-volstat-headers-
20071129
move the enum volstat definition to cm_volstat.h from cm_volume.h.
fix the copyright.
Jeffrey Altman [Thu, 29 Nov 2007 16:06:48 +0000]
windows-smb-out-of-memory-
20071129
It turns out that LsaCallAuthenticationPackage can succeed but still
fail with an extended error. The one case that we have seen reported
is STATUS_NO_MEMORY which would be produced when the paging file is
full. This could be a transient error that will be resolved after
Windows increases the paging file size.
Instead of crashing under this condition we should force the authentication
to fail and permit the client to retry.
WER
567093715-1-
0405174244
Jeffrey Altman [Thu, 29 Nov 2007 16:00:19 +0000]
windows-daemon-shutdown-
20071129
The cm_Daemon() thread did not check after each operation whether or
not the service is in the process of shutting down. As a result the
thread could access data, locks, etc. that had been freed by other
threads.
WER
572098933-1-
0407879071
Jason Edgecombe [Thu, 29 Nov 2007 05:05:37 +0000]
man-page-symlink-
20071128
Add man pages for all the symlink commands (Windows-only).
Russ Allbery [Thu, 29 Nov 2007 04:57:05 +0000]
man-page-vos-convertrotorw-fix-
20071128
Don't say that inode file servers are only available on Solaris and AIX.
Jason Edgecombe [Thu, 29 Nov 2007 04:17:10 +0000]
man-page-fs-sysname-improvements-
20071128
Update the fs sysname man page to document the behavior of multiple @sys
values.
Jason Edgecombe [Thu, 29 Nov 2007 03:54:44 +0000]
man-page-fs-rxstatpeer-
20071128
New man page for fs rxstatpeer.
Steven Jenkins [Thu, 29 Nov 2007 03:32:52 +0000]
man-page-fileserver-auditlog-
20071128
Remove duplicate -auditlog in the fileserver synopsis.
Jason Edgecombe [Thu, 29 Nov 2007 03:30:41 +0000]
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.
Russ Allbery [Thu, 29 Nov 2007 02:56:13 +0000]
man-fs-uuid-tweaks-
20071128
Some minor capitalization and formatting tweaks to the fs uuid man page.
Derrick Brashear [Wed, 28 Nov 2007 05:03:03 +0000]
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
Mike Meffie [Tue, 27 Nov 2007 20:44:47 +0000]
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.
Derrick Brashear [Tue, 27 Nov 2007 20:01:00 +0000]
macos-no-read-on-directories-
20071127
thanks to quentin@mit.edu for pointing this out.
no read() on directories
Marc Dionne [Tue, 27 Nov 2007 19:26:42 +0000]
linux-hash-inodes-for-mmap-
20071127
FIXES 78544
inodes are only added to the superblock dirty list if hashed.
do so.
Asanka Herath [Tue, 27 Nov 2007 17:28:44 +0000]
windows-nim-afscred-double-free-
20071127
fix a double free on error condition
Derrick Brashear [Mon, 26 Nov 2007 22:19:02 +0000]
redhat-cleanup-authlibs-correctly-
20071126
when not packaging authlibs, correctly discard them
Derrick Brashear [Mon, 26 Nov 2007 22:10:34 +0000]
volprocs-alloc-vnode-instead-of-using-stack-
20071126
don't use stack here; alloc memory for short term use
Rainer Toebbicke [Mon, 26 Nov 2007 21:47:00 +0000]
namei-avoid-spurious-emfile-
20071126
FIXES 77531
before we did not handle the fd cache runnign dry. "oops"
Christof Hanke [Mon, 26 Nov 2007 21:03:31 +0000]
assorted-warning-cleanup-
20071126
add missignheader files, missing return values, correct a few calls to printf
Christof Hanke [Mon, 26 Nov 2007 20:38:14 +0000]
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
Derrick Brashear [Fri, 23 Nov 2007 14:29:51 +0000]
enhance-afsdb-debugging-
20071123
allow cmdebug to show locks on cells. add fstrace event for afsdb
Sean O'Malley [Fri, 23 Nov 2007 13:55:49 +0000]
krb5-klog-solaris-
20071123
FIXES 77575
make this work on solaris
Marc Dionne [Fri, 23 Nov 2007 13:37:24 +0000]
linux-2624-
20071123
FIXES 77370
support linux 2.6.24
Derrick Brashear [Fri, 23 Nov 2007 13:00:42 +0000]
macos-buildpkg-cleanup-cruft-
20071123
don't leave the old dmg around since it makes a new one bomb
Jeffrey Altman [Wed, 21 Nov 2007 19:30:51 +0000]
giveupallcallbacks-locking-
20071121
FIXES 74708
Hold H_LOCK across calls into GiveUpAllCallbacks_r
Jeffrey Altman [Wed, 14 Nov 2007 17:18:25 +0000]
windows-dv-logging-
20071114
64-bit data version logging updates
Jeffrey Altman [Wed, 14 Nov 2007 06:22:04 +0000]
windows-64bit-data-version-
20071114
Add support for 64-bit AFSFetchStatus data version values
Derrick Brashear [Wed, 14 Nov 2007 04:34:53 +0000]
dafs-inode-convert-
20071113
the dafs version of this
Derrick Brashear [Tue, 13 Nov 2007 22:15:03 +0000]
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.
Derrick Brashear [Tue, 13 Nov 2007 00:46:09 +0000]
redhat-spec-no-strip-
20071112
suggested by simon. debuginfo support in rpmbuild strips for us. deal here.
Simon Wilkinson [Tue, 13 Nov 2007 00:29:31 +0000]
redhat-reunrevert-fedora-build-change-
20071112
"oops"
Derrick Brashear [Tue, 13 Nov 2007 00:00:57 +0000]
redhat-packaging-updates-
20071112
FIXES 76890
various updates to deal with fedora 8 and remove obsolete stuff
Jeffrey Altman [Mon, 12 Nov 2007 19:03:15 +0000]
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
Kevin McBride [Mon, 12 Nov 2007 18:25:54 +0000]
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.
Tom Keiser [Mon, 12 Nov 2007 18:17:43 +0000]
dafs-optimize-shutdown-
20071112
optimize shutdown case as is done elsewhere, for dafs.
Jeffrey Altman [Mon, 12 Nov 2007 03:24:59 +0000]
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.
Russ Allbery [Mon, 12 Nov 2007 00:12:28 +0000]
man-page-name-underscore-more-
20071111
Missed fs apropos when fixing NAME entries to eliminate spaces.
Russ Allbery [Sun, 11 Nov 2007 22:54:56 +0000]
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.
Jeffrey Altman [Sat, 10 Nov 2007 22:50:44 +0000]
windows-readonly-volume-callbacks-
20071110
avoid a deadlock
Simon Wilkinson [Sat, 10 Nov 2007 20:13:27 +0000]
libafsrpc-makefile-fix-
20071110
FIXES 76836
fix double / in makefile
Dan Hyde [Sat, 10 Nov 2007 00:33:41 +0000]
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.
Jeffrey Altman [Sat, 10 Nov 2007 00:18:11 +0000]
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.
Jeffrey Altman [Sat, 10 Nov 2007 00:14:26 +0000]
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.
Derrick Brashear [Fri, 9 Nov 2007 20:15:46 +0000]
clean-platform-
20071109
clean platform dir
Derrick Brashear [Fri, 9 Nov 2007 19:47:18 +0000]
macos-packaging-updates-
20071109
make the readme correct. make dmgs which have a useful name