Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 5  
26 Dec 17 02:49
James Danks
xxxxxx@gmx.com
Join Date: 26 Dec 2017
Posts To This List: 12
Storage Filter Drivers

Hello, I'm just learning about storage filter drivers. The documentation on them is not so clear. How do storage filter drivers attach to other storage devices? For example I have a SATA drive and I would like to filter some operations. I know how to do it from a casual WDM/KMDF driver with IRP hooks. But how would this look like in a storage filter driver? Also there aren't many examples of storage filters.
  Message 2 of 5  
27 Dec 17 04:12
Gabriel Bercea
xxxxxx@gmail.com
Join Date: 03 Mar 2008
Posts To This List: 133
Storage Filter Drivers

I believe you need to be in the list of Upper/Lower filters for that particular class you are interested in to filter. Key: HKLM\System\CurrentControlSet\Control\Class\{WhateverClass} Value: UpperFilters or LowerFilters Data: MultiSZ - contains on each line the name of a filter driver Check for example: {4d36e967-e325-11ce-bfc1-08002be10318} which is DiskDrive class UpperFilters: PartMgr LowerFilters: EhStorClass and so on... I though the documentation on this is actually pretty plentiful, but to be honest I haven't looked at it in a while. Gabriel www.kasardia.com
  Message 3 of 5  
27 Dec 17 11:01
James Danks
xxxxxx@gmx.com
Join Date: 26 Dec 2017
Posts To This List: 12
Storage Filter Drivers

Thank you very much for your answer Gabriel.
  Message 4 of 5  
27 Dec 17 19:39
Sven Kreamer
xxxxxx@gmail.com
Join Date: 27 Oct 2016
Posts To This List: 24
Storage Filter Drivers

Be aware that storage filters are in chaos at this time. In some cases commands are sent directly to the PDO, bypassing the filter drivers in the stack. In other cases I/O is handled in layers above filter drivers which again see nothing. It never used to be this way, but times have changed.
  Message 5 of 5  
01 Jan 18 12:07
Igor R
xxxxxx@gmail.com
Join Date: 01 Jan 2018
Posts To This List: 7
Storage Filter Drivers

Hi Sven, Can you please give me more information about this? I have a disk lower filter driver that used to work fine, now in Windows 8.1 with the new miniport it is suddenly not catching any IRPs. The writers of the storage controller miniport say that they changed their model from SCSIPORT to STORPORT. I am wondering if that has anything to do with my filter not working now. Thanks
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 00:42.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license