public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFT 0/6] scsi_debug: fake timeout handling improvements
@ 2025-11-13 13:36 John Garry
  2025-11-13 13:36 ` [PATCH 1/6] scsi: scsi_debug: Stop printing extra function name in debug logs John Garry
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: John Garry @ 2025-11-13 13:36 UTC (permalink / raw)
  To: martin.petersen, james.bottomley
  Cc: linux-scsi, bvanassche, jiangjianjun3, John Garry

This series includes improvements to fake timeout handling.

Specifically, when we try to abort a scsi_cmnd which has fake timeout,
we check the deferral type, but this would not be set properly. In
addition, we need special handling for fake timeout in the abort handler
to ensure that we don't get confused with any other deferral type.

I am setting as RTF as I want to test more. I also would like 
JiangJianJun <jiangjianjun3@huawei.com> to see if it can solve the
problem reported at https://lore.kernel.org/linux-scsi/4efb45b3-455a-44e8-83fa-e64ca8b9192a@oracle.com/T/#m2092593f3bc4b5fdde3f77376b65c10ab7bd605c

Finally some tidy-ups are included, which are not RFT.

John Garry (6):
  scsi: scsi_debug: Stop printing extra function name in debug logs
  scsi: scsi_debug: Stop using READ/WRITE_ONCE() when accessing
    sdebug_defer.defer_t
  scsi: scsi_debug: Drop NULL scsi_cmnd check in sdebug_q_cmd_complete()
  scsi: scsi_debug: Call sdebug_q_cmd_complete() from
    sdebug_blk_mq_poll_iter()
  scsi: scsi_debug: Clear sd_dp->defer_t in sdebug_q_cmd_complete()
  scsi: scsi_debug: Add special abort handling for fake timeout

 drivers/scsi/scsi_debug.c | 163 +++++++++++++++++++-------------------
 1 file changed, 83 insertions(+), 80 deletions(-)

-- 
2.43.5


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

end of thread, other threads:[~2026-04-16  9:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-13 13:36 [PATCH RFT 0/6] scsi_debug: fake timeout handling improvements John Garry
2025-11-13 13:36 ` [PATCH 1/6] scsi: scsi_debug: Stop printing extra function name in debug logs John Garry
2025-11-13 13:36 ` [PATCH 2/6] scsi: scsi_debug: Stop using READ/WRITE_ONCE() when accessing sdebug_defer.defer_t John Garry
2025-11-13 17:45   ` Bart Van Assche
2025-11-14  9:02     ` John Garry
2025-11-14 16:27       ` Bart Van Assche
2025-11-13 13:36 ` [PATCH 3/6] scsi: scsi_debug: Drop NULL scsi_cmnd check in sdebug_q_cmd_complete() John Garry
2025-11-13 17:46   ` Bart Van Assche
2025-11-14  9:02     ` John Garry
2025-11-13 13:36 ` [PATCH RFT 4/6] scsi: scsi_debug: Call sdebug_q_cmd_complete() from sdebug_blk_mq_poll_iter() John Garry
2025-11-13 13:36 ` [PATCH RFT 5/6] scsi: scsi_debug: Clear sd_dp->defer_t in sdebug_q_cmd_complete() John Garry
2025-11-13 13:36 ` [PATCH RFT 6/6] scsi: scsi_debug: Add special abort handling for fake timeout John Garry
2025-12-01 15:32 ` [PATCH RFT 0/6] scsi_debug: fake timeout handling improvements John Garry
2025-12-17  2:48   ` Martin K. Petersen
2025-12-17 12:48     ` John Garry
2026-04-16  2:30       ` JiangJianJun
2026-04-16  9:12         ` John Garry
2026-01-04 21:43 ` (subset) " Martin K. Petersen

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