Re: [PATCH v2] scsi: sd_zbc: Fix sd_zbc_report_zones() buffer allocation

2019-02-15 Thread Martin K. Petersen
Damien, > The function sd_zbc_do_report_zones() issues a REPORT ZONES command > with a buffer size calculated based on the number of zones requested > by the caller. This value should however not exceed the capabilities > of the hardware maximum command size, that is, should not exceed the > max

[PATCH v2] scsi: sd_zbc: Fix sd_zbc_report_zones() buffer allocation

2019-02-13 Thread Damien Le Moal
From: Masato Suzuki The function sd_zbc_do_report_zones() issues a REPORT ZONES command with a buffer size calculated based on the number of zones requested by the caller. This value should however not exceed the capabilities of the hardware maximum command size, that is, should not exceed the ma