diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2022-10-15 03:24:15 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-10-18 06:17:09 +0300 |
| commit | d460f624059266c2e7f0280bdd3ae806d4b75211 (patch) | |
| tree | bd40a9a5ab11d05fcdf96e88057e360b05712ace /tools/perf/scripts/python/bin | |
| parent | 036abd6140078b4125f60e731f28e15de708f87d (diff) | |
| download | linux-d460f624059266c2e7f0280bdd3ae806d4b75211.tar.xz | |
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')
0 files changed, 0 insertions, 0 deletions
