All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH 0/4] Call scsi_device_put() from non-atomic context
Date: Mon, 31 Oct 2022 15:47:24 -0700	[thread overview]
Message-ID: <20221031224728.2607760-1-bvanassche@acm.org> (raw)

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(-)


             reply	other threads:[~2022-10-31 22:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 22:47 Bart Van Assche [this message]
2022-10-31 22:47 ` [PATCH 1/4] scsi: alua: Move a scsi_device_put() call out of alua_check_vpd() Bart Van Assche
2022-11-02 14:27   ` Hannes Reinecke
2022-10-31 22:47 ` [PATCH 2/4] scsi: alua: Move a scsi_device_put() call out of alua_rtpg_select_sdev() Bart Van Assche
2022-10-31 22:47 ` [PATCH 3/4] scsi: bfa: Convert bfad_reset_sdev_bflags() from a macro into a function Bart Van Assche
2022-11-03 19:33   ` kernel test robot
2022-11-03 19:49     ` Bart Van Assche
2022-11-04  8:39       ` Chen, Rong A
2022-10-31 22:47 ` [PATCH 4/4] scsi: bfa: Rework bfad_reset_sdev_bflags() Bart Van Assche
2022-11-08  3:36 ` [PATCH 0/4] Call scsi_device_put() from non-atomic context Martin K. Petersen
2022-11-17 18:29 ` Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221031224728.2607760-1-bvanassche@acm.org \
    --to=bvanassche@acm.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.