userlibandfileserver/fileserver/inc/f32file.h
changeset 109 b3a1d9898418
parent 102 ef2a444a7410
child 152 657f875b013e
equal deleted inserted replaced
102:ef2a444a7410 109:b3a1d9898418
  1147 	Enables operations on large files.
  1147 	Enables operations on large files.
  1148 	
  1148 	
  1149 	@internalTechnology
  1149 	@internalTechnology
  1150 	
  1150 	
  1151 	*/
  1151 	*/
  1152 	EFileBigFile        =0x00040000
  1152 	EFileBigFile        =0x00040000,
       
  1153 	
       
  1154 	/**
       
  1155 	Using this flag implies that the client is making large sequential reads and/or writes
       
  1156 	and it is interested in maximising the performance of the large reads and/or writes.
       
  1157 	
       
  1158 	The flag gives a hint to the file server and filesystem to adjust to a streaming
       
  1159 	data pattern and try their best to make it optimal.
       
  1160 	
       
  1161 	Some conditions apply:
       
  1162 	- This does not guarantee that the performance of read/write operations will increase.
       
  1163 	- Using this flag for other purposes other than data streaming may lead to performance degradation.
       
  1164 	- This may sacrifice user data integrity for the sake of performance.
       
  1165 	
       
  1166 	If a file is opened by Client A with EFileSequential, and the file is then opened
       
  1167 	without EFileSequential by Client B, then this file mode will be disabled.
       
  1168 	When the file handle is closed by Client B, then the EFileSequential file mode
       
  1169 	will be enabled again.
       
  1170 	Therefore, this mode will only be enabled if all clients set the file as such,
       
  1171 	otherwise the file mode will be disabled.
       
  1172 	
       
  1173 	FAT file system specific information:
       
  1174 	This flag improves write and file expansion performance whilst decreasing robustness
       
  1175 	on a "Rugged-FAT" file system, which is applicable to internal non-removable drives.
       
  1176 	*/
       
  1177 	EFileSequential		=0x00080000
  1153 
  1178 
  1154 	};
  1179 	};
  1155 
  1180 
  1156 
  1181 
  1157 
  1182