Name
blkdev_scsi_issue_flush_fn —
issue flush for SCSI devices
Synopsis
int blkdev_scsi_issue_flush_fn ( | request_queue_t * | q, |
| struct gendisk * | disk, |
| sector_t * | error_sector) ; |
Arguments
q
device queue
disk
gendisk
error_sector
error offset
Description
Devices understanding the SCSI command set, can use this function as
a helper for issuing a cache flush. Note: driver is required to store
the error offset (in case of error flushing) in ->sector of struct
request.