From: Christoph Hellwig <hch@lst.de>
To: Zorro Lang <zlang@kernel.org>
Cc: fstests@vger.kernel.org,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Kanchan Joshi <joshi.k@samsung.com>,
Anuj Gupta <anuj20.g@samsung.com>,
John Garry <john.g.garry@oracle.com>,
"Darrick J. Wong" <djwong@kernel.org>,
linux-scsi@vger.kernel.org
Subject: add tests for file system on devices using protection information v5
Date: Fri, 11 Sep 2026 09:08:18 +0200 [thread overview]
Message-ID: <20260911070831.1760646-1-hch@lst.de> (raw)
Hi all,
this series adds support to exercise I/O on file systems using protection
information in the device, including that corruption is properly
reported.
The second test requires a patch to inject corruption into scsi_debug
that was posted to the linux-scsi list.
Changes since v4:
- fix testing of PI checking in the last I/O sector that got broken in
the last round
Changes since v3:
- notrun the new tests when CONFIG_BLK_DEV_INTEGRITY is not enabled
- remove the unused dio_opts variable
- rename phys_blk to phys_sector
- make the last sector calculation work on different block sizes even
if that test doesn't test that currently
- fix typos
Changes since v2:
- factor out a _bdev_disk_name helper
Changes since v1:
- fix various requirements
- use _exit
- cleanup up the scsi_debug options building
- add a new PI group
- mark one of the new tests dangerous as it can crash Linux 7.2 and earlier
next reply other threads:[~2026-09-11 7:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20260911070839epcas5p47f2a530a45e293ba4f18b6add13c8222@epcas5p4.samsung.com>
2026-09-11 7:08 ` Christoph Hellwig [this message]
2026-09-11 7:08 ` [PATCH 1/6] common/scsi_debug: don't slow down I/O Christoph Hellwig
2026-09-13 12:23 ` Zorro Lang
2026-09-11 7:08 ` [PATCH 2/6] common: factor out a _bdev_disk_name helper Christoph Hellwig
2026-09-13 12:55 ` Zorro Lang
2026-09-11 7:08 ` [PATCH 3/6] common: add a _sysfs_block_integrity_path helper Christoph Hellwig
2026-09-11 7:08 ` [PATCH 4/6] add a "pi" group Christoph Hellwig
2026-09-11 7:08 ` [PATCH 5/6] generic: test I/O on devices with T10 protection information Christoph Hellwig
2026-09-13 14:04 ` Zorro Lang
2026-09-11 7:08 ` [PATCH 6/6] generic: test corruption detection using " Christoph Hellwig
2026-09-14 9:07 ` Zorro Lang
2026-09-11 15:07 ` add tests for file system on devices using protection information v5 Johannes Thumshirn
2026-09-11 15:26 ` Anuj Gupta/Anuj Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260911070831.1760646-1-hch@lst.de \
--to=hch@lst.de \
--cc=anuj20.g@samsung.com \
--cc=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=john.g.garry@oracle.com \
--cc=joshi.k@samsung.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=zlang@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.