2840 Commits

Author SHA1 Message Date
Chas Williams
543d4464d8 linux26-avoid-memory-zone-fun-20050113
FIXES 16965

"  the wake_up_bit() mechanism has replaced
'per object' wait queues (atleast when testing for single bit changes).
the actual wait queue to use is determined using a hash on page->flags
(which encodes the zone table in the lower 8 bits).  afs inodes come from
a vmalloc() since afs gets all the inodes in one go.  vmalloc()'d memory
apparently doesnt get mapped to any particular zone.  so when an afs
inode uses wake_up_bit() they index off the end of the zone_page table.
"
2005-01-13 23:50:15 +00:00
Derrick Brashear
1307b89188 memcache-no-volitems-20050113
Don't try to open VolumeItems when using memcache
2005-01-13 23:37:21 +00:00
Jeffrey Altman
b11e76ce63 windows-fs-wscell-20050112
when freelance mode is in use, "fs wscell" will now return
"Freelance.Local.Root"
2005-01-13 04:47:37 +00:00
Jeffrey Altman
5a3eddc8ba windows-pioctl-20050112
Fix a bug introduced in 1.3.75 within Tranceive().  If the file handle
is invalid, be sure to return an error.
2005-01-13 04:46:18 +00:00
Jeffrey Altman
4c861ab656 windows-misc-20050112
New AFS Logo Icon

Fix the assignment of the dataVersion for the freelance scache entries

Fix the calling convention of the AFSD Service Main function to be
WINAPI.
2005-01-12 21:34:36 +00:00
Derrick Brashear
1a8519de16 rx-avoid-xmit-overflow-panic-20050107
instead of losing, just send the packets and then make another pass to collect more
2005-01-07 23:08:27 +00:00
Jeffrey Altman
d3fc023d07 windows-notes-20050104
updates
2005-01-05 04:23:58 +00:00
Jeffrey Altman
1a3e8d9e16 windows-remove-extra-parameter-20050104
aklog.c - remove extra parameter from pr_Initialize()
2005-01-05 04:18:34 +00:00
Jeffrey Altman
ca1c67688b windows-cb-deadlock-20050104
afskfw.c - remove extra parameter to pr_Initialize

afsd_service.c - move SERVICE_STOP_PENDING to before we start to
                 do any work.

afsd_init.c - initialize rx and rpc after starting the cache manager

cm_callback.c - release cm_callbackLock before attempting to re-obtain
                scp->mx lock in cm_EndCallbackGrantingCall()
2005-01-05 04:17:16 +00:00
Jeffrey Altman
5bbfc93025 windows-misc-fix-20050102
fix typo
2005-01-03 01:29:29 +00:00
Jeffrey Altman
48ba9a0cd5 ptuser_h-20050102
add ptuser.h to provide prototypes for ptuser.c

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

add ptuser.h
2005-01-03 01:13:44 +00:00
Jeffrey Altman
c27d32d2ef new-afs-logo-icon-20050102
Use a new icon file based upon the new OpenAFS logo for afs_config.exe
and the afs control panel.
2005-01-03 01:11:21 +00:00
Jeffrey Altman
635abf2d8f windows-misc-20050102
* The AFS Service needs to respond to SERVICE_ACCEPT_SHUTDOWN messages
    in addition to SERVICE_ACCEPT_STOP.

  * Move RPC shutdown until after the SMB and RX shutdown procedures
    complete.  Block until RPC shutdown is complete.

  * Modify afslogon.dll (integrated logon) to wait for service if its
    state is START_PENDING.  If the timeout period occurs, reset to
    the retry interval and not the sleep interval.

  * When renewing the server list for a cell obtained via DNS AFSDB
    records, the cm_cell_t entry must be removed from the list of all
    cells.  Otherwise, the list of cells will be corrupted.

  * In the dcache and scache modules, use the cm_scache_t dataVersion
    instead of the cm_fakeDirVersion.

  * Synchronize fs.c with the unix version.

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

Include ptuser.h for prototypes.

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

link to afsutil.lib for hostutil functions
2005-01-03 01:07:56 +00:00
Jeffrey Altman
d3d4af7795 windows-virtual-memory-20041224
* The variable used to determine whether a file or virtual memory
    mapped cache is used was not properly initialized to a default
    value. If the registry setting "NonPersistentCaching" was not
    set, the choice would be random.   Properly initialized to be
    "file".

 * The memory mapped view was never unmapped before closing the file
   at service shutdown.  This is now properly cleaned up.

 * Default location of Cache file is now %TEMP%\AFSCache
2004-12-24 17:21:06 +00:00
Derrick Brashear
a66c63315b dux-vnops-cleanup-20041224
move DUX code out of vnops and into dux os dependant code
2004-12-24 06:31:35 +00:00
Jeffrey Altman
a69e758875 windows-notes-20041216
document bug found in 1.3.75/76 release
2004-12-16 20:11:08 +00:00
Jeffrey Altman
f26bd30c98 windows-freelance-default-root-cell-20041217
Forgot to add trailing dot on auto-generated default root.cell mountpoints.
2004-12-16 19:02:05 +00:00
Jeffrey Altman
b6ef8c484f windows-smb-auth-debug-20041213
Add more OutputDebugF() calls to the smb auth routines to assist in
debugging
2004-12-13 23:48:21 +00:00
Mike Becher
570b2df988 linux-rxk-header-update-20041217
update header to not defien _LINUX_CODA_FS_I if it is
2004-12-17 15:33:43 +00:00
Mike Becher
f639e4b41e kdump-update-20041217
update kdump for ia64_linux26
2004-12-17 15:30:55 +00:00
Mike Becher
f4f365c7c9 ia64-linux26-20041217
add ia64 linux26 support
2004-12-17 15:28:19 +00:00
Mike Becher
1c8ad1139c linux-rc-update-20041217
update rc scripts for 2.6
2004-12-17 15:13:19 +00:00
Christof Hanke
937ba22002 linux26-generic-sendfile-20041217
FIXES 16842

enable loop mounting to work.
2004-12-17 14:41:36 +00:00
Travis Broughton
ae3cbf270f dumptool-update-20041217
FIXES 16751

large file support for dumptool
2004-12-17 13:45:56 +00:00
Jeffrey Altman
2d52203a51 windows-version-update-20041216
1.3.7700
2004-12-16 20:06:47 +00:00
Jeffrey Altman
0d4b452e25 windows-afs-all-20041213
In addition to establishing a connection with \\AFS; use \\AFS\all to
ensure that we can access ioctl calls even if other methods fail.
2004-12-13 23:43:17 +00:00
Jeffrey Altman
29e4920cd8 windows-version-number-20041213
1.3.7600
2004-12-13 14:04:25 +00:00
Jeffrey Altman
d9c409437d windows-smb-and-symlinks-20041213
Fix bug in automatic symlink generation for freelance root.afs.
do not create symlinks if cell resolution fails

Update SMB files to use preprocessor symbols for InfoLevel constants.
2004-12-13 14:03:55 +00:00
Jeffrey Altman
3400f8d4da windows-notes-20041213
update notes for 1.3.7600
2004-12-13 14:02:32 +00:00
Jeffrey Hutzelman
19ff527496 implement-vpeek-for-listvol-20041211
FIXES 16765

 All of AFSVolListOneVolume, AFSVolXListOneVolume, AFSVolListVolumes,
 AFSVolXListVolumes currrently attach each volume to be listed with
 V_READONLY.  This makes the fileserver update and sync the volume header
 before releasing the volume to the volserver.  The result is that volume
 list operations are slow, and generate lots of fileserver load, as Jimmy
 pointed out during his talk this afternoon.

 The attached patch introduces a new attach mode, V_PEEK, which is like a
 cross between V_READONLY and V_SECRETLY.  It can be used for read-only
 operations on the volume header, where it is not necessary to inform the
 fileserver that the volume is being accessed.  The patch also changes
 the above-named RPC's to use the new mode.
2004-12-11 11:02:00 +00:00
Jeffrey Hutzelman
6cd93d3041 fix-linux-kvers-setting-20041211
FIXES 16763

set SYS_KVERS reasonably on linux always
2004-12-11 10:52:16 +00:00
Derrick Brashear
efb0f66b66 revert-mwaitprocs-20041210
FIXES 5616

revert this for now
2004-12-10 21:57:06 +00:00
Jeffrey Altman
80016e8046 ubik-calliter-update-20041210
if we're going to prototype it we need to match this
2004-12-10 10:47:17 +00:00
Derrick Brashear
8c912bedbc sys-depinstall-20041210
add depinstall in sys directory
2004-12-10 10:03:54 +00:00
Jeffrey Altman
e9c5e2af89 windows-multihomed-20041209
FIXES 16564

Add support for VL_GetEntryByNameU and VL_GetAddrs for the purpose
of working with multi-homed servers
2004-12-09 23:14:01 +00:00
Kris Van Hees
8f660ba178 linux-page-follow-link-light-20041209
FIXES 16742

new 2.6 uses page_follow_link_light
detect and use
2004-12-09 16:16:55 +00:00
Chas Williams
f8432c7796 linux-remove-negative-dentry-20041209
FIXES 16735

during unlink, afs sometimes renames the file instead of deleting it.
this isnt reflected properly in the dcache in linux. the following
patch attempts to address this issue. newname is renamed to afs_newname
and exported.

afs_linux_unlink() checks to see if the file is open. if so, it creates
a negative dcache entry using the name suggested by afs_newname(). then
dmove() moves (exchanges) dp and __dp. __dp is now a negative dentry
for the old name and is put/dropped.
2004-12-09 16:14:21 +00:00
Derrick Brashear
e400114f44 only-libafs-update-20041208
only_libafs needs sys on irix
2004-12-08 22:55:28 +00:00
Jim Rees
867c301073 ubik-iter-proto-20041208
prototype, casts, and proper arg count for ubik_CallIter
thanks to Christof Hanke for some of this
2004-12-08 18:33:48 +00:00
Chaskiel M Grundman
038116a881 linux26-dont-fix-inode-size-ourselves-20041208
hopefully fix cache truncation
2004-12-08 17:21:04 +00:00
Matt Benjamin
727a2a01cc STABLE12-umlinux26-20041202
FIXES 16591

umlinux 26 support. i wonder what i just reverted
2004-12-08 10:39:58 +00:00
Derrick Brashear
655de549a4 update-irix-bhvl-20041208
define BHV_IS_BHVL(x) to 0 for non-CELL cases where BHV_PREPARE is defined.
6.5.20f is "broken"
2004-12-08 10:35:02 +00:00
Jeffrey Altman
e8e9a297bc wix-update-20041208
Add new Property for StoreAnsiFilenames

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

Add property for StoreAnsiFilenames
2004-12-08 10:19:57 +00:00
Jeffrey Altman
8a9f304b86 windows-version-20041208
1.3.7500
2004-12-08 09:12:52 +00:00
Robert S Murawski IV
3b36148442 nsis-installer-20041208
Preserve previous install settings when upgrading
2004-12-08 09:09:34 +00:00
Derrick Brashear
f41121f328 x86-solaris-20041207
fix my mistake
2004-12-07 22:26:46 +00:00
Douglas Engert
d271c1c295 sparc32-no-largefile-20041207
FIXES 16719

disable largefile on 32bit sparcs
see the bug for better commentary
2004-12-07 18:30:11 +00:00
Derrick Brashear
54643e2678 afsd-chunksize-error-20041207
FIXES 16723

based on work from mmokrejs@ribosome.natur.cuni.cz
2004-12-07 18:24:44 +00:00
Harald Barth
beff42414a aix-5-update-20041207
updates for aix 5
2004-12-07 16:48:57 +00:00
Harald Barth
d6c8b023bb volname-cleanup-20041207
cleanup how volname or id number is parsed
2004-12-07 16:36:43 +00:00