[PATCH blktests v2 0/9] Further stacked device atomic writes testing

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

 



The testing of atomic writes support for stacked devices is limited.

We only test scsi_debug and for a limited sets of personalities.

Extend to test NVMe and also extend to the following stacked device
personalities:
- dm-linear
- dm-stripe
- dm-mirror

Also add more strict atomic writes limits testing.

Based on https://lore.kernel.org/linux-block/20250917114920.142996-1-shinichiro.kawasaki@xxxxxxx/#t

Differences to v1:
(all based on comments from Shin'ichiro)
- Rebase on "support testing with multiple devices" series
- clean up "make check" issues and other coding style issues
- Relocate some NVMe helpers
- Add _stacked_atomic_test_requires helper

John Garry (9):
  common/rc: add _min()
  nvme: relocate _nvme_requires and _require_nvme_test_img_size
  nvme: relocate _require_test_dev_is_nvme
  md/rc: add _md_atomics_test
  md/002: convert to use _md_atomics_test
  md/003: add NVMe atomic write tests for stacked devices
  md/rc: test atomic writes for dm-linear
  md/rc: test atomic writes for dm-stripe
  md/rc: test atomic writes for dm-mirror

 common/nvme      |  80 +++++++++
 common/rc        |  11 ++
 tests/md/002     | 219 +----------------------
 tests/md/002.out | 238 ++++++++++++++++++++-----
 tests/md/003     |  45 +++++
 tests/md/003.out |   1 +
 tests/md/rc      | 446 +++++++++++++++++++++++++++++++++++++++++++++++
 tests/nvme/rc    |  80 ---------
 8 files changed, 784 insertions(+), 336 deletions(-)
 create mode 100755 tests/md/003
 create mode 120000 tests/md/003.out

-- 
2.43.5





[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