On Tue, Dec 14, 2021 at 10:24:13AM +0900, Damien Le Moal wrote: > From: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> > > When the script test-zbd-support is run for regular block devices or > SG nodes, blkzone command shall not be called. However, zone_cap_bs() > helper function calls the command regardless of the zone model or > device type, and results in error messages such as "unable to determine > zone size" or "not a block device". Avoid the command call by returning > the zone size argument passed to this function when the test device is > a regular block device or a SG node. > > Fixes: 1ae82d673cf5 ("t/zbd: Align block size to zone capacity") > Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> > Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx> > --- Reviewed-by: Niklas Cassel <niklas.cassel@xxxxxxx>