OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 11 Dec 2006 23:01:27 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/WINNT/afsd

Modified Files:
      Tag: openafs-devel-1_5_x
	afsd_service.c cm_callback.c cm_daemon.c cm_vnodeops.c 
	cm_vnodeops.h dosdefs95.h rawops.c smb.c smb.h smb3.c smb3.h 
	smb_ioctl.h 
Log Message:
DELTA STABLE15-windows-afsd-20061211
AUTHOR jaltman@secure-endpoints.com

(1) Power Management improvements.  Maintain a global flag that
    specifies whether or not the service is in a suspend state.
    Do not panic if Netbios() returns NRC_BRIDGE meaning that the
    lana is no longer valid.  Instead, stop the listener threads
    and if all listener threads are stopped, reset the lana_list.
    Allow the cm_Daemon() thread to periodically check the state
    of the smb listeners.  If they are all stopped and the service
    is not suspended, attempt to restart them.  If there are no valid
    lanas, return to the stopped state.

(2) CreateX and NTCreateX use cm_CheckNTOpen() to test whether or not
    the user is permitted to obtain read or write locks.  This function
    would obtain the lock and then drop it returning whether or not
    the lock could be obtained.  If the lock was in fact required,
    CreateX/NTCreateX would then obtain it with cm_Lock().  The problem
    of course being that this pattern results in three RPCs to the
    file server (lock, unlock, lock).  This is reduced to one RPC by
    implementing cm_CheckNTOpenDone() which frees the allocated byte
    range lock from cm_CheckNTOpen() after the cm_Lock() call is
    performed.

(3) Remove unused code.

(4) Add debugging to SMB Directory Search functions.

(5) Increase the SMB Ioctl MaxData size


--- DELTA config for openafs-devel-1_5_x follows ---
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/afsd_service.c 1.52.4.8 1.52.4.9
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/cm_callback.c 1.41.4.9 1.41.4.10
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/cm_daemon.c 1.16.4.7 1.16.4.8
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/cm_vnodeops.c 1.69.2.17 1.69.2.18
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/cm_vnodeops.h 1.14.4.2 1.14.4.3
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/dosdefs95.h 1.1 1.1.30.1
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/rawops.c 1.2.4.1 1.2.4.2
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/smb.c 1.118.2.26 1.118.2.27
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/smb.h 1.41.2.10 1.41.2.11
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/smb3.c 1.95.2.23 1.95.2.24
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/smb3.h 1.12.2.4 1.12.2.5
STABLE15-windows-afsd-20061211 openafs/src/WINNT/afsd/smb_ioctl.h 1.4.14.1 1.4.14.2