read write file without paging io, Zw***

read write file without paging io ?

To my understanding, ZwReadFile, ZwWriteFile normally use paging-io, But for some reason, I want to read/write a file with not paging-io,
But anyway I dont know how. any advice ? thanks.

I also want guarante that read/write do not produce any paging

Or is there any methods than can disable paging on a spcefic partition?
help needed

I’m not sure your question makes sense.

What is your definition of “paging I/O” in this context?

Are you really just trying to avoid file CACHING? See a nice description, with diagram, here:
https://docs.microsoft.com/en-us/windows/win32/fileio/file-caching

Peter

1 Like