common: add zoned block device checks
authorNaohiro Aota <naohiro.aota@wdc.com>
Mon, 16 Aug 2021 11:35:08 +0000 (20:35 +0900)
committerEryu Guan <guaneryu@gmail.com>
Sun, 22 Aug 2021 10:26:31 +0000 (18:26 +0800)
commit952310a57d9323ae0bb174b50be93107a8895e0c
treec5f57d774acbb5619f0564ab64db546dca3e2ece
parentae8c30c34c51b5a5c5dd1639ec83ef901a40b3ad
common: add zoned block device checks

dm-error and dm-snapshot does not have DM_TARGET_ZONED_HM nor
DM_TARGET_MIXED_ZONED_MODEL feature and does not implement
.report_zones(). So, it cannot pass the zone information from the down
layer (zoned device) to the upper layer.

Loop device also cannot pass the zone information.

This patch requires non-zoned block device for the tests using these
ones.

Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc