Hello Martin, This patch series, when combined with the block layer patch that prevents that the report and reset zone ioctls are executed while a queue is frozen, prevents that these ioctls fail sporadically with -EIO. Since this race is relatively easy to trigger with the SMR support for fio that I'm working on, please consider this patch series for kernel v4.17. Thanks, Bart. Bart Van Assche (3): sd_zbc: Change the type of the ZBC fields into u32 sd_zbc: Let the SCSI core handle ILLEGAL REQUEST / ASC 0x21 sd_zbc: Avoid that resetting a zone fails sporadically drivers/scsi/sd.h | 12 ++-- drivers/scsi/sd_zbc.c | 150 +++++++++++++++++++++++++++---------------------- include/linux/blkdev.h | 5 ++ 3 files changed, 93 insertions(+), 74 deletions(-) -- 2.16.3