|
|
This routine schedules I/O and manages the buffer cache for driver I/O.
Syntax:
#include "sys/scsi.h"int xxstrategy(bp) struct buf *bp;
The logic is as follows:
bp->b_dev.
If it is improper,
set u.u_error to ENXIO and return.
bp->b_blkno and, if less than zero,
set b_flags to an error condition,
call
iodone(D3oddi)
and return.
bp
into the proper spot in the request queue.