In addition to establishing a connection with \\AFS; use \\AFS\all to
ensure that we can access ioctl calls even if other methods fail.
(cherry picked from commit 0d4b452e25bd8b1672fc46aa13afbe640b3ce58b)
Pullup all Changes since 1.3.75:
- multihomed server support in AFS Client Service
- fix autogeneration of freelance symlinks
- replace SMB InfoLevel constants with preprocessor symbols
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.
prototype, casts, and proper arg count for ubik_CallIter
thanks to Christof Hanke for some of this
(cherry picked from commit 867c3010731daa89f58e54c2c620215de0a94c1f)
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.
(cherry picked from commit f8432c77965a79047429b18ae0ee214a45e4c9a4)
Pullup all Changes since 1.3.75:
- multihomed server support in AFS Client Service
- fix autogeneration of freelance symlinks
- replace SMB InfoLevel constants with preprocessor symbols
define BHV_IS_BHVL(x) to 0 for non-CELL cases where BHV_PREPARE is defined.
6.5.20f is "broken"
(cherry picked from commit 655de549a4115c4ebdb18417aeeba4280ad54162)
Provide option to users to allow file names to be stored using Windows
ANSI code pages (similar to ISO Latin character sets) instead of the
traditional OEM code pages
Synchronize the shutdown of all smb_Server threads by waiting on a
shutdown event before continuing
Do not lock a buffer object if the attempt to obtain the buffer failed.
(cherry picked from commit fe97ddf25b550365fd54a3300fa7388cf71d8631)
Be more agressive about trying to establish a connection to the SMB
server if it fails. This requires adding a new dll: secur32.dll
(cherry picked from commit d2d84479cfc9288cfa2c6d7c012ad0418229d225)
perform a bit more error checking and logging when loading mountpoints and
symlinks from the registry
(cherry picked from commit 38ed975350a879cd2a8d45c3e71aa2ed49e8b664)
Fix a memory overwrite condition caused when the BackConnectionHostNames
key does not exist
(cherry picked from commit a8d0ca81a8d79b65e265ebf67ae6b9ddc868cac6)