[PATCH v4 blktests 0/2] Add atomic write tests for scsi and nvme

Shinichiro Kawasaki shinichiro.kawasaki at wdc.com
Wed Feb 19 20:18:38 PST 2025


On Feb 07, 2025 / 15:55, Alan Adamson wrote:
> Changes in v4 (per John's comments):
> - Verify sysfs_atomic_unit_min_byte attribute (nvme)
> - Perform atomic write test using sysfs_atomic_unit_min_byte (nvme)
> - fix spelling mis (nvme)
> - Remove tests that don't use the RWF_ATOMIC flag (scsi+nvme)
> 
> Changes in v3:
> - Remove _have_xfs_io routine and use _have_program.
> - Comment cleanup in 0001
> - Add SKIP_REASONS when xfs_io -A option is absent.
> - Keep lines <=80 characters.
> - Move device_requires logic in 0001 and 0002 to common/rc.
> 
> Changes in v2:
> - Add additional comments in common/xfs
> - Remove xfs_io and kernel version checking
> - Simplify paths for sysfs attributes
> - Fix failed case output (missing echo) in scsi/009
> - Add local variable that sets Test # and description (test_desc) for scsi/009 and nvme/059
> - Only use scsi_debug device if no scsi test device is provided.
> - nvme testing done with qemu-nvme.
> - scsi testing done with scsi_debug and qemu-scsi (no atomic write support).  No testing on
>   atomic write capable scsi devices was done.
> -------------------------------------------------------------------------------------------
> Add tests for atomic write support.
> 
> Tests will be delivered for scsi (using scsi_debug) and nvme.  NVMe can use the qemu-nvme
> emulated device that supports Controller-based Atomic Parameters (QEMU 9.2).
> 
> The xfs_io utility delivered with the xfsprogs-devel package (version 6.12) is required by
> these tests.
> 
> The Linux Kernel 6.11 (and greater) supports Atomic Writes and is required by these tests.

Thanks for updating the series. I have applied it.


More information about the Linux-nvme mailing list