A new disk device driver interface has been defined for use by OS/2 V2.0 file systems. The request-passing mechanism employs a request list of prioritized commands which the device driver may reorder to optimize access. Read and write operations use scatter/gather descriptors (as used by SCSI adapters) allowing data transfer to and from discontiguous memory buffers. The interface is designed to be data-structure compatible with future versions of OS/2 in order to minimize work at the time of migration.
With this extended device driver support, both the standard OS/2 interface (using ABIOS read/write) and the new high performance interface (using the ABIOS Transfer SCB) allow both OS/2 file systems and the OS/2 kernel to access the disk.
The following is a summary of the device driver changes:
Examples are disk mirroring, disk duplexing and whether the device supports more than 16MB of memory.
Examples of characteristics reported in this structure are read-only, removable media, average seek time, outboard caching supported, SCB protocol supported and read prefetch supported.
To optimize the I/O operation, all requests are sorted in logical block number sequence. If a specific flag is on in the request list indicating that the execution order is critical, then the list will not be sorted.
The possible priorities are:
Priority
Meaning
The strategy routine instead returns control to the caller after the I/O is initiated or queued.