diff options
| author | Martin K. Petersen <martin.petersen@oracle.com> | 2026-01-11 22:08:12 -0500 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-01-11 22:08:12 -0500 |
| commit | ee8112a2e0f96d7a125c6ad3a7851e0d598c28a8 (patch) | |
| tree | 291cb67cad5ce0d21e377155de8a053a6ef80e6e /drivers/scsi | |
| parent | 309b23a1553acdc6b8534682ee1782c9598e0e2e (diff) | |
| parent | e60b579720993bd813dbfe77411ab63e721fe189 (diff) | |
| download | linux-next-ee8112a2e0f96d7a125c6ad3a7851e0d598c28a8.tar.gz linux-next-ee8112a2e0f96d7a125c6ad3a7851e0d598c28a8.zip | |
Merge patch series "Call scsi_host_busy() after the SCSI host has been added"
Bart Van Assche <bvanassche@acm.org> says:
Hi Martin,
The UFS driver is the only SCSI driver I know of that may call
scsi_host_busy() before the SCSI host has been added. This patch series
modifies the UFS driver such that scsi_host_busy() is only called after the
SCSI host has been added. Additionally, commit a0b7780602b1 ("scsi: core: Fix
a regression triggered by scsi_host_busy()") is reverted because all
scsi_host_busy() calls now happen after the corresponding SCSI host has been
added.
Please consider this patch series for the next merge window.
Thanks,
Bart.
Link: https://patch.msgid.link/20260109205104.496478-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
| -rw-r--r-- | drivers/scsi/hosts.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index 1b3fbd328277..e047747d4ecf 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -626,9 +626,8 @@ int scsi_host_busy(struct Scsi_Host *shost) { int cnt = 0; - if (shost->tag_set.ops) - blk_mq_tagset_busy_iter(&shost->tag_set, - scsi_host_check_in_flight, &cnt); + blk_mq_tagset_busy_iter(&shost->tag_set, + scsi_host_check_in_flight, &cnt); return cnt; } EXPORT_SYMBOL(scsi_host_busy); |
