On Fri, 2017-04-21 at 18:16 +0900, damien.lem...@wdc.com wrote:
> @@ -250,11 +249,6 @@ int sd_zbc_setup_reset_cmnd(struct scsi_cmnd *cmd)
>               /* Unaligned request */
>               return BLKPREP_KILL;
>  
> -     /* Do not allow concurrent reset and writes */
> -     if (sdkp->zones_wlock &&
> -         test_and_set_bit(zno, sdkp->zones_wlock))
> -             return BLKPREP_DEFER;
> -

Hello Damien,

Since concurrent zone resets and writes are easy to detect and since these
indicate a bug in the application that submits these, should an error message
be logged if that happens? Otherwise this patch looks fine to me.

Bart.

Reply via email to