Closing the Device
When a device driver is preparing to close a device through the adapter device driver, it must ensure that all transactions are complete.
When the adapter device driver receives a SCIOLSTOP ioctl operation and there are pending I/O requests, the ioctl operation does not return until all have completed. New requests received during this time are rejected from the adapter device driver’s ddstrategy routine.