In general, I suggest that anyone doing data transformations focus on doing
them for the IRP_MJ_READ and IRP_MJ_WRITE case where the IRP_NOCACHE bit is
set. This picks up both user non-cached I/O and paging I/O.
Regards,
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: Igor Rosenberg [mailto:xxxxx@taureus.sk]
Sent: Monday, October 23, 2000 3:40 AM
To: File Systems Developers
Subject: [ntfsd] RE: filter driver
Thank you for explanation.
Is there any way how to overcome it (I want to en/decrypt the file)?
best regards
Igor Rosenberg
xxxxx@taureus.sk
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Tony Mason
Sent: 20. okt?bra 2000 16:57
To: File Systems Developers
Subject: [ntfsd] RE: filter driver
Why would you expect to receive another IRP_MJ_READ?
Notepad (in Windows 2000) uses memory mapped files. Thus, the first time
you see an IRP_MJ_READ, it is the VM system page faulting the file into the
VM cache. The second time you access the file, the data is already IN the
VM cache, so there’s no reason to re-read it again.
As for FastIoRead/Write, they are only used for user-mode read/write
operations. Since Notepad is using mapped file access, there are no
corresponding read/write calls.
Regards,
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: xxxxx@taureus.sk [mailto:xxxxx@taureus.sk]
Sent: Thursday, October 19, 2000 8:00 PM
To: File Systems Developers
Subject: [ntfsd] filter driver
Please, help me with this problem:
I developed filter driver based on Sfilter example of IFS kit (for Windows
2000). It’s attached on \Device\RawDisk and, as it was told me, it’s abowe
file system. I have the following problem:
1)when I pressed F3 in notepad.exe, I received IRP_MJ_READ with MDL buffer.
After that, I received IRP_MJ_READ with UserBuffer.
- On the next F4 press, I don’t get any IRP_MJ_READ request.
On FastIoRead|Write I return FALSE.
Please help me.
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
You are currently subscribed to ntfsd as: xxxxx@taureus.sk
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)