Re: [PATCH v3 14/23] scsi: hisi_sas: add v3 cq interrupt handler

From: Christoph Hellwig
Date: Thu Jun 01 2017 - 01:41:55 EST


> + case SAS_PROTOCOL_SSP:
> + {
> + unsigned char op = task->ssp_task.cmd->cmnd[0];
> +
> + if (op == READ_6 || op == WRITE_6 ||
> + op == READ_10 || op == WRITE_10 ||
> + op == READ_12 || op == WRITE_12 ||
> + op == READ_16 || op == WRITE_16)
> + return true;
> + break;
> + }

Wee. why do you care? What about 32-byte CDs or things like Write Same?