On 08/07/2020 16:06, John Garry wrote: > On 08/07/2020 13:27, Ming Lei wrote: >> k; >> - } else if (ret == BLK_STS_ZONE_RESOURCE) { >> + case BLK_STS_RESOURCE: >> + case BLK_STS_DEV_RESOURCE: >> + blk_mq_handle_dev_resource(rq, list); >> + goto out; >> + case BLK_STS_ZONE_RESOURCE: >> /* >> * Move the request to zone_list and keep going through >> * the dispatch list to find more requests the drive can > > question not on this patch specifically: is this supposed to be > "driver", and not "drive"? "driver" is mentioned earlier in the function No it's drive, the sole purpose of BLK_STS_ZONE_RESOURCE is the apply some back pressure for IO submitters to a SMR disk and the zone-append emulation it uses. See drivers/scsi/sd_zbc.c for details.