I can’t! When the thread enters my driver -> it has already been directed to
MY file system driver.
Meaning, the device driver that I wrote gets requests directed to it only.
What other options do I have?
Many thanks, Alon.
-----Original Message-----
From: xxxxx@pandasoftware.es [mailto:xxxxx@pandasoftware.es]
Sent: Wednesday, March 29, 2000 4:30 PM
To: File Systems Developers
Subject: [ntfsd] RE: How can I disable the READ-AHEAD feature using a devi
ce driver
Add flag IRP_NOCACHE to Irp->Flags before passing it to target file system
driver.
This will disable cache and read-ahead.
Inaki.
-----Original Message-----
From: xxxxx@AppStream.co.il
Sent: mi?rcoles 29 de marzo de 2000 10:11
To: File Systems Developers
Subject: [ntfsd] How can I disable the READ-AHEAD feature using a
device driverI need to disable the Read-Ahead feature of Windows NT. I understand that
this can be done using the appropriate flags in the CreateFile API.
My problem is, that I’m writing a device driver and I’m not responsible
for
using the CreateFile API, but rather I (the device driver) get file systemcalls from the User that might trigger the Read-Ahead feature (as a result
of sequential reads).
My question is: How do I disable the Read-Ahead feature for every thread
that uses my device driver (meaning that I can’t use the CreateFile
flags)?Many thanks, Alon.
You are currently subscribed to ntfsd as: xxxxx@pandasoftware.es
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
You are currently subscribed to ntfsd as: xxxxx@AppStream.co.il
To unsubscribe send a blank email to $subst(‘Email.Unsub’)