X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2FWINNT%2Fafsrdr%2Fcommon%2FAFSRedirCommonStructs.h;h=a01c0654eb0a6de2a9dbb3cd09c73515bbb336eb;hp=a8a9a22a61e76da4934fd0db79ed3cf19662ea64;hb=351cefe9b60032fe77aa09c0803ef051fb5b4665;hpb=92bfaae062c596d678220dcb93f9dc61304d3c5a diff --git a/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h b/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h index a8a9a22..a01c065 100644 --- a/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h +++ b/src/WINNT/afsrdr/common/AFSRedirCommonStructs.h @@ -163,13 +163,16 @@ typedef struct _AFS_NONPAGED_FCB USHORT Type; // - // Ranking - File Resource first, then Paging Resource + // Ranking - File Resource, Paging Resource, + // then SectionObject Resource // ERESOURCE Resource; ERESOURCE PagingResource; + ERESOURCE SectionObjectResource; + // // The section object pointer // @@ -196,6 +199,8 @@ typedef struct _AFS_NONPAGED_FCB NTSTATUS ExtentsRequestStatus; + GUID ExtentsRequestAuthGroup; + struct _AFS_FSD_EXTENT *DirtyListHead; struct _AFS_FSD_EXTENT *DirtyListTail; @@ -215,8 +220,6 @@ typedef struct _AFS_NONPAGED_FCB struct { - KEVENT DirectoryEnumEvent; - LONG DirectoryEnumCount; } Directory; @@ -377,12 +380,6 @@ typedef struct AFS_FCB LONG ExtentCount; // - // The Lazy writer thread - // - - PETHREAD LazyWriterThread; - - // // Current count of queued flush items for the file // @@ -428,6 +425,8 @@ typedef struct _AFS_DEVICE_EXTENSION ULONG DeviceFlags; + AFSFcb* Fcb; + union { @@ -554,6 +553,14 @@ typedef struct _AFS_DEVICE_EXTENSION KEVENT OutstandingServiceRequestEvent; + // + // Out of memory signalling + // + + LONG WaitingForMemoryCount; + + KEVENT MemoryAvailableEvent; + } Control; struct @@ -588,7 +595,7 @@ typedef struct _AFS_DEVICE_EXTENSION // // Maximum RPC length that is issued by the service. We should limit our - // data requests such as for extents to thsi length + // data requests such as for extents to this length // ULONG MaximumRPCLength; @@ -765,7 +772,7 @@ void * typedef void -(*PAFSExFreePool)( IN void *Pointer); +(*PAFSExFreePoolWithTag)( IN void *Pointer, IN ULONG Tag); typedef void @@ -782,6 +789,8 @@ typedef struct _AFS_LIBRARY_INIT_CB UNICODE_STRING AFSServerName; + UNICODE_STRING AFSMountRootName; + ULONG AFSDebugFlags; AFSFileID GlobalRootFid; @@ -804,7 +813,7 @@ typedef struct _AFS_LIBRARY_INIT_CB PAFSExAllocatePoolWithTag AFSExAllocatePoolWithTag; - PAFSExFreePool AFSExFreePool; + PAFSExFreePoolWithTag AFSExFreePoolWithTag; PAFSDumpTraceFiles AFSDumpTraceFiles;