Commit Graph

4598 Commits

Author SHA1 Message Date
Jason Edgecombe
7dc4925cd3 man-page-license-change-20071225
LICENSE BSD

Update man pages submitted by Jason Edgecombe to the BSD license.
2007-12-25 22:22:22 +00:00
Jason Edgecombe
84ef02b0f3 man-page-misc-updates-20071225
LICENSE BSD

Add some additional cross-references, add some missing man pages, fix a
few references to the OpenAFS manuals, document the -live flag to vos
move, and add an example for rxdebug.
2007-12-25 22:15:07 +00:00
Andrew Deason
9f97c5cf74 man-page-fileserver-debug-20071225
LICENSE BSD

The file server debug flag is -d, not -debug.
2007-12-25 22:02:19 +00:00
Jeffrey Altman
69d62d5968 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.
2007-12-25 21:58:51 +00:00
Jeffrey Altman
b0bae13aec 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.
2007-12-24 05:29:15 +00:00
Jeffrey Altman
8a923a199d 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.
2007-12-24 05:23:28 +00:00
Jeffrey Altman
815cd6f19e 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.
2007-12-24 05:17:50 +00:00
Jeffrey Altman
1b90fc5329 windows-server-lock-error-20071224
LICENSE MIT

The cm_serverLock must be write locked to modify the refCount
2007-12-24 05:14:11 +00:00
Jeffrey Altman
150919d690 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
2007-12-23 04:51:59 +00:00
Jeffrey Altman
bb77b085ff 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
2007-12-23 04:15:33 +00:00
Jeffrey Altman
111fb3a0a9 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.
2007-12-23 03:43:49 +00:00
Jeffrey Altman
0421cb2afc windows-freelance-20071222
LICENSE MIT

remove unused next field in cm_localMountPoint_t
2007-12-23 03:38:45 +00:00
Jeffrey Altman
89203eb706 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
2007-12-23 03:25:56 +00:00
Derrick Brashear
f54187bfc5 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
2007-12-19 20:56:23 +00:00
Derrick Brashear
b072deb257 fix-verbose-vos-dump-20071217
LICENSE IPL10

fix verbose vos dump to not put garbage in the stream when dumping to stdout
2007-12-18 15:16:20 +00:00
Chaskiel M Grundman
49a968ab68 shlibafsrpc-export-more-20071217
LICENSE IPL10

shlibafsauthent uses these, export them
2007-12-17 21:12:45 +00:00
Derrick Brashear
c2da8a61dd put-relnotes-on-head-20071217
LICENSE IPL10

add 1.4.6 relnotes, put reast on head
2007-12-17 18:02:58 +00:00
Adam Megacz
f72145f79a java-admin-interface-updates-20071214
LICENSE IPL10

pdate java admin interface including support for 1.5
2007-12-14 21:33:56 +00:00
Jeffrey Altman
77c86d6fd3 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'.
2007-12-14 13:33:57 +00:00
Jeffrey Altman
059031b3c6 emulate-vsyslog-20071214
LICENSE IPL10

Do not include vsyslog on Windows.

Include syslog.h for the syslog() prototype.
2007-12-14 13:06:48 +00:00
Derrick Brashear
bf26bc9486 aix-lam-aklog-set-token-name-20071213
LICENSE IPL10

so we set an afs id in the tokens here also
2007-12-13 23:04:54 +00:00
Derrick Brashear
ea3d49eaea emulate-vsyslog-20071213
LICENSE IPL10

aix 5.3 lacks vsyslog. the fixed buffer is poor, but...
2007-12-13 22:41:11 +00:00
Derrick Brashear
af3a4e7852 aix-curpag-redux-20071213
LICENSE IPL10

add curpag() support for aix, based on work by tom keiser
2007-12-13 21:21:56 +00:00
Simon Wilkinson
fcc8aa021f 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)
2007-12-13 20:04:41 +00:00
Derrick Brashear
51d6d9cbbc 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.
2007-12-13 19:46:06 +00:00
Derrick Brashear
b33fb96fff shutdown-cleanup-20071213
LICENSE IPL10

get rid of cold_shutdown; it's in afs_prototypes.h.
log when we don't clean up memory
2007-12-13 19:18:06 +00:00
Jeffrey Altman
8f84815d0d windows-afslogon-null-pointer-deref-20071211
LICENSE MIT

'tokenUser' can be dereferenced when NULL if GetTokenInformation() fails.
2007-12-12 04:24:26 +00:00
Mike Meffie
319ad227d1 afs-serveriprank-return-void-20071211
LICENSE IPL10

can't return 0 from void function
2007-12-11 21:28:26 +00:00
Mike Meffie
2e057314d9 vldb-check-dont-return-int-from-void-20071211
LICENSE IPL10

void functions shouldn't return 0
2007-12-11 20:42:34 +00:00
Derrick Brashear
bc70f0f0ab butc-no-retval-in-void-func-20071211
LICENSE IPL10

fix the build again
2007-12-11 16:25:55 +00:00
Derrick Brashear
96ea2c11b4 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.
2007-12-11 14:53:30 +00:00
Derrick Brashear
0f9529171c 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.
2007-12-10 22:45:42 +00:00
Derrick Brashear
f5fde5736f afs-shutdown-cleanup-20071210
LICENSE IPL10
FIXES 74479

clean up allocated resources when we shut down
2007-12-10 22:41:22 +00:00
Mike Meffie
e26be7b8e3 find-cpp-from-slash-20071210
LICENSE IPL10

find cpp using a full path, not the user's path, at least for now
2007-12-10 22:24:55 +00:00
Jeffrey Altman
649194188e 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.
2007-12-10 20:43:58 +00:00
Jeffrey Altman
ef5e9a4dd7 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.
2007-12-10 20:33:34 +00:00
Carsten Jacobi
c057063abe 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.
2007-12-10 18:26:30 +00:00
Mike Meffie
8114be0c6a uss-lex-more-forward-decls-20071210
LICENSE IPL10

forward declare this so picky compilers will do their jobs.
2007-12-10 18:20:50 +00:00
Derrick Brashear
c6db6a90be cnvldb-prototypes-20071209
LICENSE IPL10

forward declare these
2007-12-09 23:33:42 +00:00
Derrick Brashear
40307b6023 aklog-no-dummy-write-on-aix5-20071209
LICENSE IPL10

don't do the dummy write on aix5. we are better off actually working
2007-12-09 06:05:51 +00:00
Derrick Brashear
c0a04c21cf 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.
2007-12-08 17:57:33 +00:00
Derrick Brashear
55e581824f 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
2007-12-08 17:44:00 +00:00
Jeffrey Altman
68021a6f2b windows-wix-afslogon-20071207
LICENSE MIT

Move afslogon.dll and afscpcc.exe to the OpenAFS\Client\Program directory
2007-12-07 21:32:53 +00:00
Jeffrey Altman
ab939a6216 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.
2007-12-07 16:03:56 +00:00
Jeffrey Altman
974ad01826 viced-cbstuff-20071205
LICENSE IPL10

Keep track of AddCallBack calls in cbstuff.

Increment cbstuff.DeleteCallBacks after holding H_LOCK
2007-12-05 20:38:38 +00:00
Jeffrey Altman
946f416577 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.
2007-12-05 20:31:56 +00:00
Derrick Brashear
d13cd42cb4 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
2007-12-04 21:08:10 +00:00
Derrick Brashear
58dd384ba4 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
2007-12-04 21:01:12 +00:00
Derrick Brashear
ebbd12f3ab 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
2007-12-04 20:39:18 +00:00
Derrick Brashear
a342c531a2 afsdb-avoid-cross-task-stack-use-20071204
LICENSE IPL10

really for aix, but simplified code universally.
2007-12-04 20:18:50 +00:00