storport驱动程序是否知道收到的读/写命令请求,是因为来自物理RAM的Paging out请求还是由于对RAM的Paging in请求?
发布于 2018-01-24 13:54:11
找到了一种方法来确定请求是否来自分页I/O。API是StorPortGetRequestInfo(),在PSTOR_REQUEST_INFO中,您将知道它是哪种类型的请求。
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/storport/nf-storport-storportgetrequestinfo
https://stackoverflow.com/questions/47905111
相似问题