All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND v2 00/11] scsi_debug: Some minor improvements
@ 2023-03-13  9:31 John Garry
  2023-03-13  9:31 ` [PATCH RESEND v2 01/11] scsi: scsi_debug: Don't hold driver host struct pointer in host->hostdata[] John Garry
                   ` (11 more replies)
  0 siblings, 12 replies; 18+ messages in thread
From: John Garry @ 2023-03-13  9:31 UTC (permalink / raw)
  To: jejb, martin.petersen
  Cc: linux-scsi, bvanassche, linux-kernel, dgilbert, John Garry

This series contains a bunch of minor improvements to the driver. I have
another bunch waiting with more major changes.

Most of the changes are quite straightforward, and the only patches of note are
as follows:
- Fix the command abort feature, enabled with host option SDEBUG_OPT_CMD_ABORT
- Drop driver count of queued commands per device
- Add poll mode completions to statistics. We already have poll mode callback
  call count, so maybe it was intentional to omit poll mode from the
  statistics.
  
Difference to v1:
- rename function to get sdebug host from shost (Bart)

Based on scsi-staging 6.4 @ commit 0b31b77f281a ("Merge patch series "PCI/AER: ...")

John Garry (11):
  scsi: scsi_debug: Don't hold driver host struct pointer in
    host->hostdata[]
  scsi: scsi_debug: Stop setting devip->sdbg_host twice
  scsi: scsi_debug: Drop scsi_debug_abort() NULL pointer checks
  scsi: scsi_debug: Drop scsi_debug_device_reset() NULL pointer checks
  scsi: scsi_debug: Drop scsi_debug_target_reset() NULL pointer checks
  scsi: scsi_debug: Drop scsi_debug_bus_reset() NULL pointer checks
  scsi: scsi_debug: Drop scsi_debug_host_reset() device NULL pointer
    check
  scsi: scsi_debug: Drop check for num_in_q exceeding queue depth
  scsi: scsi_debug: Drop sdebug_dev_info.num_in_q
  scsi: scsi_debug: Get command abort feature working again
  scsi: scsi_debug: Add poll mode deferred completions to statistics

 drivers/scsi/scsi_debug.c | 209 ++++++++++++++------------------------
 1 file changed, 76 insertions(+), 133 deletions(-)

-- 
2.35.3


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

end of thread, other threads:[~2023-03-22 13:36 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-13  9:31 [PATCH RESEND v2 00/11] scsi_debug: Some minor improvements John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 01/11] scsi: scsi_debug: Don't hold driver host struct pointer in host->hostdata[] John Garry
2023-03-14  2:34   ` Douglas Gilbert
2023-03-16  8:48     ` John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 02/11] scsi: scsi_debug: Stop setting devip->sdbg_host twice John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 03/11] scsi: scsi_debug: Drop scsi_debug_abort() NULL pointer checks John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 04/11] scsi: scsi_debug: Drop scsi_debug_device_reset() " John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 05/11] scsi: scsi_debug: Drop scsi_debug_target_reset() " John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 06/11] scsi: scsi_debug: Drop scsi_debug_bus_reset() " John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 07/11] scsi: scsi_debug: Drop scsi_debug_host_reset() device NULL pointer check John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 08/11] scsi: scsi_debug: Drop check for num_in_q exceeding queue depth John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 09/11] scsi: scsi_debug: Drop sdebug_dev_info.num_in_q John Garry
2023-03-20  5:31   ` kernel test robot
2023-03-20 11:41     ` John Garry
2023-03-22 13:36       ` John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 10/11] scsi: scsi_debug: Get command abort feature working again John Garry
2023-03-13  9:31 ` [PATCH RESEND v2 11/11] scsi: scsi_debug: Add poll mode deferred completions to statistics John Garry
2023-03-17  3:27 ` [PATCH RESEND v2 00/11] scsi_debug: Some minor improvements Martin K. Petersen

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.