Re: [PATCH 1/6] scsi: Introduce scsi_zbc_noretry_cmd()

2018-03-01 Thread Hannes Reinecke
On 03/01/2018 08:40 PM, Damien Le Moal wrote: > For ZBC/ZAC devices, retrying a command with a condition known to lead > to a failure is useless. One example is an unaligned write past the > write pointer of a sequential zone. Retrying the same command will > result in an error again. > > Currentl

[PATCH 1/6] scsi: Introduce scsi_zbc_noretry_cmd()

2018-03-01 Thread Damien Le Moal
For ZBC/ZAC devices, retrying a command with a condition known to lead to a failure is useless. One example is an unaligned write past the write pointer of a sequential zone. Retrying the same command will result in an error again. Currently, these iknown error condition cases are handled in sd_zb