Re[2]: Re[2]: Minifilter as cache

You can disable cached but you want paging. You want to handle all
non-cached which paging IO is non-cached.

If the request is a synchronous request and the operation is non-cached
and non-paging then you update the offset.

Pete


Kernel Drivers
Windows File System and Device Driver Consulting
www.KernelDrivers.com http:</http:>
866.263.9295

------ Original Message ------
From: xxxxx@gmail.com
To: “Windows File Systems Devs Interest List”
Sent: 11/20/2015 4:27:46 PM
Subject: RE:[ntfsd] Re[2]: Minifilter as cache

>Hi again, finished too fast :slight_smile:
>It should be enough if I set
>(FLTFL_OPERATION_REGISTRATION_SKIP_CACHED_IO |
>FLTFL_OPERATION_REGISTRATION_SKIP_PAGING_IO) in
>FLT_OPERATION_REGISTRATION, right? Or do I have to check additional
>flags?
>
>How about the file offset? Do I have to update it
>(FltSetInformationFile with FilePositionInformation) when returning
>data from my cache? I realized that I have to do it (at least for my
>test application) but is this always the case?
>
>—
>NTFSD is sponsored by OSR
>
>OSR is hiring!! Info at http://www.osr.com/careers
>
>For our schedule of debugging and file system seminars visit:
>http://www.osr.com/seminars
>
>To unsubscribe, visit the List Server section of OSR Online at
>http://www.osronline.com/page.cfm?name=ListServer

Okay I guess I misunderstood something about paging io… I need to read some docs again.
I will report back.

Thank you very much for your help!