On Thu, Aug 17, 2017 at 03:01:51PM +0000, Bart Van Assche wrote: > Another possible approach is to fix the ipr driver and to resubmit the > "scsi-mq: Always unprepare before requeuing a request" and "scsi: sd_zbc: > Write unlock zone from sd_uninit_cmnd()" patches.
We should absolutely take that broader approach. But it seems like we need to refne the always unprepare patch first, to make sure we only release resources, but don't clear the scmd->retries field. The NVMe driver already works that way, so we have an example to follow.