Add a test case to zbd group to check that zones sector mapping correctness for zoned block devices that are not an entire full device (null_block device or physical device). These logical devices are for now partition devices or device-mapper devices (dm-linear or dm-flakey). Changes from v1: * Reflected Chaitanya's review comments on the list * Separated helper functions in zbd/rc into a preparation patch Shin'ichiro Kawasaki (2): zbd/rc: Introduce helper functions for zone mapping test zbd/007: Add zone mapping test for logical devices tests/zbd/007 | 110 ++++++++++++++++++++++++++++++++++++++ tests/zbd/007.out | 2 + tests/zbd/rc | 133 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 245 insertions(+) create mode 100755 tests/zbd/007 create mode 100644 tests/zbd/007.out -- 2.21.0