ata_scsiop_sync_cache

Name

ata_scsiop_sync_cache --  Simulate SYNCHRONIZE CACHE command

Synopsis

unsigned int ata_scsiop_sync_cache (struct ata_scsi_args * args, u8 * rbuf, unsigned int buflen);

Arguments

args

Port / device / SCSI command of interest.

rbuf

Response buffer, to which simulated SCSI cmd output is sent.

buflen

Response buffer length.

Description

Initiates flush of device's cache.

Actually do this

)

LOCKING

spin_lock_irqsave(host_set lock)