Name

ata_scsi_write_same_xlat — SATL Write Same to ATA SCT Write Same

Synopsis

unsigned int ata_scsi_write_same_xlat (struct ata_queued_cmd * qc);
 

Arguments

struct ata_queued_cmd * qc

Command to be translated

Description

Translate a SCSI WRITE SAME command to be either a DSM TRIM command or an SCT Write Same command. Based on WRITE SAME has the UNMAP flag When set translate to DSM TRIM When clear translate to SCT Write Same