Files
apfstests/common
Naohiro Aota a6dbebcb19 common/rc: introduce zone check commands
Introduce some zone related helper functions: _zone_type(),
_require_zoned_device(), and _require_non_zoned_device(). They all
take a device path as an argument.

_zone_type() return the zone type of the device according to the
value returned from "/sys/block/<disk>/queue/zoned". See
Documentation/ABI/testing/sysfs-block for a detail.

_require_zoned_device() checks if the device is zoned. If not, it
skips the current test. _require_non_zoned_device() does the
opposite.

Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2021-05-09 22:56:40 +08:00
..
2019-10-25 07:47:14 +08:00
2019-10-25 07:47:14 +08:00
2018-06-09 11:34:49 +10:00
2018-06-09 11:34:49 +10:00
2017-11-26 15:37:22 +08:00
2021-03-14 22:24:48 +08:00
2021-05-09 22:56:40 +08:00
2021-05-09 22:37:50 +08:00