diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2022-10-14 17:24:15 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-10-18 03:17:09 +0000 |
| commit | d460f624059266c2e7f0280bdd3ae806d4b75211 (patch) | |
| tree | bd40a9a5ab11d05fcdf96e88057e360b05712ace /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | scsi: core: Introduce a new list for SCSI proc directory entries (diff) | |
| download | linux-d460f624059266c2e7f0280bdd3ae806d4b75211.tar.gz linux-d460f624059266c2e7f0280bdd3ae806d4b75211.zip | |
scsi: core: Rework scsi_single_lun_run()
Use __starget_for_each_device() instead of open-coding
starget_for_each_device(). Run the queues asynchronously instead of
synchronously.
This commit removes code that calls scsi_device_put() from atomic context.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: John Garry <john.garry@huawei.com>
Cc: Mike Christie <michael.christie@oracle.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20221015002418.30955-6-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
