Missing reads

Hi all,

I have a very basic filter driver using filter mgr and derived from the
swap buffer sample. I basically during the pre-read update the
Ioparameterblock with newly allocated 4k buffer, and in post read copy
the contents of the buffer back into the user buffer (for the len
intially req pre read).

When I am attached to the FatFS, I try to use the type command to red
the file, and I see that I receive irp_mj_reads for following offsets
only (file size is 25K)

Off 0 len 512
Off 8k len 512
Off 16k len 512
Off 24K len 512

I debuged and saw that I succeed all the above, with correct iostatus
info. So as u can see the type command only shows those bytes of the
file that I got the reads for.

So how am I missing the other reads, why am I not catching them?

Vg

Note: in my pre reads I return FLT_PREOP_DISALLOW_FASTIO if
FLT_IS_FASTIO_OPERATION(Data) succeeds. And I set a stream
handle for this file in the post open.