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’)