public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] block: nvme: fix blktests nvme/039 failure
@ 2025-03-11 10:43 Shin'ichiro Kawasaki
  2025-03-11 10:43 ` [PATCH v2 1/2] nvme: move error logging from nvme_end_req() to __nvme_end_req() Shin'ichiro Kawasaki
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Shin'ichiro Kawasaki @ 2025-03-11 10:43 UTC (permalink / raw)
  To: linux-block, linux-nvme, Jens Axboe, Keith Busch,
	Christoph Hellwig, Sagi Grimberg, Alan Adamson
  Cc: virtualization, asahi, linux-arm-kernel, Hannes Reinecke,
	Michael S . Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez,
	Paolo Bonzini, Stefan Hajnoczi, Sven Peter, Janne Grunau,
	Alyssa Rosenzweig, Shin'ichiro Kawasaki

Commit 1f47ed294a2b ("block: cleanup and fix batch completion adding
conditions") in the kernel tag v6.14-rc3 triggered blktests nvme/039
failure [1].

The test case injects errors to the NVMe driver and confirms the errors
are logged. The first half of the test checks it for non-passthrough
requests, and the second half checks for passthrough requests. The
commit made both halves fail.

This series addresses the test case failure. The first patch covers the
passthrough requests, and the second patch covers the non-passthrough
requests.

[1] https://lkml.kernel.org/linux-block/y7m5kyk5r2eboyfsfprdvhmoo27ur46pz3r2kwb4puhxjhbvt6@zgh4dg3ewya3/

Changes from v1:
* 1st patch: Added Reviewed-by tags
* 2nd patch: Replaced argument blk_status_t with boolean 'is_error'
             Added kerneldoc of blk_mq_add_to_batch() arguments

Shin'ichiro Kawasaki (2):
  nvme: move error logging from nvme_end_req() to __nvme_end_req()
  block: change blk_mq_add_to_batch() third argument type to bool

 drivers/block/null_blk/main.c |  4 ++--
 drivers/block/virtio_blk.c    |  5 +++--
 drivers/nvme/host/apple.c     |  3 ++-
 drivers/nvme/host/core.c      | 12 ++++++------
 drivers/nvme/host/pci.c       |  5 +++--
 include/linux/blk-mq.h        | 11 ++++++++---
 6 files changed, 24 insertions(+), 16 deletions(-)

-- 
2.47.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-12  7:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11 10:43 [PATCH v2 0/2] block: nvme: fix blktests nvme/039 failure Shin'ichiro Kawasaki
2025-03-11 10:43 ` [PATCH v2 1/2] nvme: move error logging from nvme_end_req() to __nvme_end_req() Shin'ichiro Kawasaki
2025-03-11 10:43 ` [PATCH v2 2/2] block: change blk_mq_add_to_batch() third argument type to bool Shin'ichiro Kawasaki
2025-03-12  5:59   ` Christoph Hellwig
2025-03-12  7:20     ` Shinichiro Kawasaki
2025-03-11 13:49 ` [PATCH v2 0/2] block: nvme: fix blktests nvme/039 failure Jens Axboe
2025-03-11 13:50 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox