I need to write a filter driver that intercepts SCSI Reserve/Release
requests.
Do you know what type of filter driver this would be? My guess is that it’d
be an upper filter driver on the DiskDrive device Class. Is this correct?
If not, what class of devices should it filter?
Secondly, do you know if the SCSI Reserve/Request request would be found in
the SRB?
If so, do you have any idea how I can determine if an SRB is a
Reserve/Release request (how is it formatted)?
Thanks!
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
If you familiar with Microsoft Cluster, a request to reserve/release
a disk or quorum resource (IOCTL_STORAGE_RESERVE/IOCTL_STORAGE_RELEASE)
is initiated by “resrcmon.exe”, which is a component in MSCS.
There by all request comes to disk class driver as
IOCTL_DISK_RESERVE/IOCTL_DISK_RESERVE.
These commands are sent as SCSIOP_RESERVE_UNIT/SCSIOP_RELEASE_UNIT
to the lower driver. You should look into the source of disk class
driver as to how the requests are formatted in the SRB.
Niraj
-----Original Message-----
From: Nate Bushman [mailto:xxxxx@Legato.com]
Sent: Tuesday, August 14, 2001 3:46 PM
To: NT Developers Interest List
Subject: [ntdev] Filtering SCSI Reserve and Release requests…
I need to write a filter driver that intercepts SCSI Reserve/Release
requests.
Do you know what type of filter driver this would be? My guess is that it’d
be an upper filter driver on the DiskDrive device Class. Is this correct?
If not, what class of devices should it filter?
Secondly, do you know if the SCSI Reserve/Request request would be found in
the SRB?
If so, do you have any idea how I can determine if an SRB is a
Reserve/Release request (how is it formatted)?
Thanks!
You are currently subscribed to ntdev as: xxxxx@netapp.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
1.For intercepting SCSI requests best place for the filter driver would be
UpperFilter driver for SCSI port driver.
If you are upper filter drivers of diskDrives Class, then you would be
getting RESERVE/RELEASE either through SPTI interface or disk IOCTLS.And do
think of extremes, if there are unclaimed disk and you want to
reserve(whatever could be the motive behind doing that), your driver would
miss out that
2.The SRB packet contains CDB which has the SCSI command field in it.
I need to write a filter driver that intercepts SCSI Reserve/Release
requests.
Do you know what type of filter driver this would be? My guess is that
it’d
be an upper filter driver on the DiskDrive device Class. Is this correct?
If not, what class of devices should it filter?
Secondly, do you know if the SCSI Reserve/Request request would be found
in
the SRB?
If so, do you have any idea how I can determine if an SRB is a
Reserve/Release request (how is it formatted)?
Thanks!
You are currently subscribed to ntdev as: xxxxx@Legato.COM
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com