Skip to content

Call scsi_device_put() from non-atomic context

Bart Van Assche linux-scsi oe-kbuild-all 1 version Applied

Status from this message: Applied to 6.2/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4scsi: alua: Move a scsi_device_put() call out of alua_check_vpd()drivers/scsi/device_handler/scsi_dh_alua.c+15 -81 reply
2/4scsi: alua: Move a scsi_device_put() call out of alua_rtpg_select_sdev()drivers/scsi/device_handler/scsi_dh_alua.c+24 -140 replies
3/4scsi: bfa: Convert bfad_reset_sdev_bflags() from a macro into a functiondrivers/scsi/bfa/bfad_bsg.c drivers/scsi/bfa/bfad_im.h+27 -262 replies
4/4scsi: bfa: Rework bfad_reset_sdev_bflags()drivers/scsi/bfa/bfad_bsg.c+5 -30 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchHannes Reinecke
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Call scsi_device_put() from non-atomic context

Hi Martin,

As reported by Dan Carpenter, a recent change may cause scsi_device_put() to sleep while a few callers remain that call scsi_device_put() from atomic context. This patch series converts those callers. Please consider this patch series for the 6.0 kernel.

Thanks,

Bart.

Bart Van Assche (4):
scsi: alua: Move a scsi_device_put() call out of alua_check_vpd()
scsi: alua: Move a scsi_device_put() call out of
alua_rtpg_select_sdev()
scsi: bfa: Convert bfad_reset_sdev_bflags() from a macro into a
function
scsi: bfa: Rework bfad_reset_sdev_bflags()

 drivers/scsi/bfa/bfad_bsg.c                | 29 ++++++++++
 drivers/scsi/bfa/bfad_im.h                 | 26 ---------
 drivers/scsi/device_handler/scsi_dh_alua.c | 61 ++++++++++++++--------
 3 files changed, 68 insertions(+), 48 deletions(-)