userlibandfileserver/fileserver/inc/f32file.h
changeset 109 b3a1d9898418
parent 102 ef2a444a7410
child 152 657f875b013e
--- a/userlibandfileserver/fileserver/inc/f32file.h	Mon May 03 13:47:38 2010 +0300
+++ b/userlibandfileserver/fileserver/inc/f32file.h	Fri May 14 17:13:29 2010 +0300
@@ -1149,7 +1149,32 @@
 	@internalTechnology
 	
 	*/
-	EFileBigFile        =0x00040000
+	EFileBigFile        =0x00040000,
+	
+	/**
+	Using this flag implies that the client is making large sequential reads and/or writes
+	and it is interested in maximising the performance of the large reads and/or writes.
+	
+	The flag gives a hint to the file server and filesystem to adjust to a streaming
+	data pattern and try their best to make it optimal.
+	
+	Some conditions apply:
+	- This does not guarantee that the performance of read/write operations will increase.
+	- Using this flag for other purposes other than data streaming may lead to performance degradation.
+	- This may sacrifice user data integrity for the sake of performance.
+	
+	If a file is opened by Client A with EFileSequential, and the file is then opened
+	without EFileSequential by Client B, then this file mode will be disabled.
+	When the file handle is closed by Client B, then the EFileSequential file mode
+	will be enabled again.
+	Therefore, this mode will only be enabled if all clients set the file as such,
+	otherwise the file mode will be disabled.
+	
+	FAT file system specific information:
+	This flag improves write and file expansion performance whilst decreasing robustness
+	on a "Rugged-FAT" file system, which is applicable to internal non-removable drives.
+	*/
+	EFileSequential		=0x00080000
 
 	};