On 7/11/22 17:53, Damien Le Moal wrote:
On 7/12/22 09:33, Bart Van Assche wrote:
The above looks valid to me from the point-of-view of the ZBC-spec.
However, reducing patch 2/3 to the above would reduce the number of code
paths in the sd_zbc.c code that can be triggered with the scsi_debug driver.
You lost me... I do not understand what you are trying to say here.
You patch as is repeatedly sets devid->rc_basis to one for every zone in
the zone initialization loop. Not a big problem, but not necessary either.
No worries - I plan to use your implementation because it is simpler.
Bart.