Recent changes (master)
Jens Axboe <[email protected]> Wed, 17 Dec 2025 06:00:02 -0700
| Newsgroups | org.kernel.vger.fio |
|---|---|
| Message-ID | <[email protected]> |
The following changes since commit 9af9614ba9578a61f08d0b780441d122790d4fed:
Merge branch 'baloo/push-lxolyxxkxkpv' of https://github.com/baloo/fio (2025-12-13 23:29:10 -0700)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 3a4c1dd89241f5aff2835047a166dde19ae796b3:
Merge branch 'fix/prchk-segfault' of https://github.com/calebsander/fio (2025-12-16 13:10:09 -0500)
----------------------------------------------------------------
Caleb Sander Mateos (1):
io_uring: don't segfault if pi_chk isn't specified
Vincent Fu (1):
Merge branch 'fix/prchk-segfault' of https://github.com/calebsander/fio
engines/io_uring.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
Diff of recent changes:
diff --git a/engines/io_uring.c b/engines/io_uring.c
index bc29d3d8..6c3eb43c 100644
--- a/engines/io_uring.c
+++ b/engines/io_uring.c
@@ -1593,11 +1593,11 @@ static int fio_ioring_io_u_init(struct thread_data *td, struct io_u *io_u)
pi_attr->len = o->md_per_io_size;
pi_attr->app_tag = o->apptag;
pi_attr->flags = 0;
- if (strstr(o->pi_chk, "GUARD") != NULL)
+ if (o->prchk & NVME_IO_PRINFO_PRCHK_GUARD)
pi_attr->flags |= IO_INTEGRITY_CHK_GUARD;
- if (strstr(o->pi_chk, "REFTAG") != NULL)
+ if (o->prchk & NVME_IO_PRINFO_PRCHK_REF)
pi_attr->flags |= IO_INTEGRITY_CHK_REFTAG;
- if (strstr(o->pi_chk, "APPTAG") != NULL)
+ if (o->prchk & NVME_IO_PRINFO_PRCHK_APP)
pi_attr->flags |= IO_INTEGRITY_CHK_APPTAG;
}