Click here to Skip to main content
15,903,856 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, guys!

I have small FS filter which compress files on IRP_MJ_WRITE and decompress on IRP_MG_READ. If file operation goes to FS cache (FO_CACHE_SUPPORTED) I pass through this IRP, because it's no reason to compress/decompress files in cache. But in some situations I see file operations with FO_SEQUENTIAL_ONLY. What is that? Do I need to process these requests? :confused:
Posted
Updated 15-Nov-10 6:55am
v2

1 solution

Look at FILE_OBJECT Structure (Windows Driver Kit)[^]. About FO_SEQUENTIAL_ONLY they say: The file associated with the file object was opened for sequential I/O operations only. This means that the file has been open for reading or writing sequentially (i.e. without seeking).
 
Share this answer
 
Comments
Dr. Kelwin 15-Nov-10 9:44am    
thanks for answer:)

so, FO_SEQUENTIAL_IO flag could appears in cached and non-cached I/O?
Sauro Viti 15-Nov-10 11:34am    
Yes, it could
Dr. Kelwin 15-Nov-10 12:41pm    
thanks, all works :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900