[PATCH blktests v3 0/2] Test zone mapping of logical devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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). It catches regressions of
complex zone remapping problem fixed by commit 9864cd5dc54c "dm: fix report zone
remapping to account for partition offset".

Changes from v2:
* Reflected review comments on the list
* Modified _get_dev_path_by_id() to get device paths of partition devices

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      | 140 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 252 insertions(+)
 create mode 100755 tests/zbd/007
 create mode 100644 tests/zbd/007.out

-- 
2.21.0




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux