The concurrent submission of commands such as a zone reset with the execution of
sd_zbc_read_zones() from sd_revalidate() context can cause the command
submissions to fail due to possible references to temporarily invalid values
such as the number of zones or the disk zone size.

This two ptches series introduces fix these problems by avoiding any change to
the disk information unless a change is detected by revalidate.

Bart Van Assche (1):
  sd_zbc: Avoid errors due to sd_zbc_setup() execution

Damien Le Moal (1):
  sd_zbc: Avoid errors due to sd_zbc_check_zone_size() execution

 drivers/scsi/sd_zbc.c | 58 +++++++++++++++++++++++++++++----------------------
 1 file changed, 33 insertions(+), 25 deletions(-)

-- 
2.14.3

Reply via email to