Click here to Skip to main content
14,241,604 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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).
   
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100