variable to enable per-BCB debugging

svn path=/trunk/; revision=17365
This commit is contained in:
Royce Mitchell III 2005-08-13 13:11:59 +00:00
parent ce468cd74a
commit 864eea72ca

View file

@ -13,6 +13,9 @@ typedef struct _BCB
LARGE_INTEGER FileSize;
KSPIN_LOCK BcbLock;
ULONG RefCount;
#if defined(DBG) || defined(KDBG)
BOOLEAN Trace; /* enable extra trace output for this BCB and it's cache segments */
#endif
} BCB, *PBCB;
typedef struct _CACHE_SEGMENT
@ -91,7 +94,7 @@ CcInitView(VOID);
NTSTATUS
CcRosFreeCacheSegment(
PBCB,
PBCB,
PCACHE_SEGMENT
);
@ -105,14 +108,14 @@ VOID CcInit(VOID);
NTSTATUS
CcRosUnmapCacheSegment(
PBCB Bcb,
ULONG FileOffset,
PBCB Bcb,
ULONG FileOffset,
BOOLEAN NowDirty
);
PCACHE_SEGMENT
CcRosLookupCacheSegment(
PBCB Bcb,
PBCB Bcb,
ULONG FileOffset
);
@ -129,13 +132,13 @@ CcInitCacheZeroPage(VOID);
NTSTATUS
CcRosMarkDirtyCacheSegment(
PBCB Bcb,
PBCB Bcb,
ULONG FileOffset
);
NTSTATUS
CcRosFlushDirtyPages(
ULONG Target,
ULONG Target,
PULONG Count
);
@ -157,7 +160,7 @@ CcRosReleaseCacheSegment(
BOOLEAN Mapped
);
NTSTATUS
NTSTATUS
STDCALL
CcRosRequestCacheSegment(
BCB* Bcb,