Windows: AFS_SERVER_FLUSH_DELAY AFS_SERVER_PURGE_DELAY
[openafs.git] / src / WINNT / afsrdr / kernel / lib / Include / AFSDefines.h
index 62abdd9..7f1c39e 100644 (file)
@@ -153,12 +153,20 @@ NTSTATUS
 #define AFS_OBJECT_FLAGS_VERIFY_DATA                    0x00000200
 
 //
+// Define one second in terms of 100 nS units
+//
+
+#define AFS_ONE_SECOND          10000000
+#define AFS_ONE_MILLISECOND     10000
+#define AFS_ONE_MICROSECOND     10
+
+//
 // Fcb lifetime in seconds
 //
 
-#define AFS_OBJECT_LIFETIME             300000000
+#define AFS_OBJECT_LIFETIME             600 * AFS_ONE_SECOND
 
-#define AFS_EXTENT_REQUEST_TIME        1200000000
+#define AFS_EXTENT_REQUEST_TIME         10 * AFS_ONE_SECOND
 
 //
 // How big to make the runs
@@ -187,14 +195,8 @@ NTSTATUS
 
 #define CRC32_POLYNOMIAL     0xEDB88320L;
 
-//
-// Define one second in terms of 100 nS units
-//
-
-#define AFS_ONE_SECOND          10000000
-
-#define AFS_SERVER_FLUSH_DELAY  30
-#define AFS_SERVER_PURGE_DELAY  60
+#define AFS_SERVER_FLUSH_DELAY  (5LL * AFS_ONE_SECOND)
+#define AFS_SERVER_PURGE_DELAY  (300LL * AFS_ONE_SECOND)
 //
 // PURGE_SLEEP is the number of PURGE_DELAYS we wait before we will unilaterally
 // give back extents.
@@ -233,6 +235,7 @@ NTSTATUS
 #define CCB_FLAGS_DIRECTORY_QUERY_MAPPED    0x00000020
 #define CCB_FLAG_MASK_PIOCTL_QUERY          0x00000040
 #define CCB_FLAG_MASK_OPENED_REPARSE_POINT  0x00000080
+#define CCB_FLAG_INSERTED_CCB_LIST          0x00000100
 
 //
 // DirEntry flags