|
|
Log in / Subscribe / Register

Further stacked device atomic writes testing

From:  John Garry <john.g.garry-AT-oracle.com>
To:  linux-block-AT-vger.kernel.org, shinichiro.kawasaki-AT-wdc.com
Subject:  [PATCH blktests 0/7] Further stacked device atomic writes testing
Date:  Fri, 12 Sep 2025 09:57:22 +0000
Message-ID:  <20250912095729.2281934-1-john.g.garry@oracle.com>
Cc:  John Garry <john.g.garry-AT-oracle.com>
Archive-link:  Article

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.

John Garry (7):
  common/rc: add _min()
  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/rc        |  11 ++
 tests/md/002     | 213 +----------------------
 tests/md/002.out | 238 ++++++++++++++++++++-----
 tests/md/003     |  52 ++++++
 tests/md/003.out |   1 +
 tests/md/rc      | 441 +++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 705 insertions(+), 251 deletions(-)
 create mode 100755 tests/md/003
 create mode 120000 tests/md/003.out

-- 
2.43.5




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds