diff options
author | Hannes Reinecke <hare@suse.de> | 2020-02-28 08:53:15 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-02-29 02:54:52 +0100 |
commit | dcece99e86b1191d2789fb5b5caa4c5b7fc2bfef (patch) | |
tree | 89a76da20eaf9c6a2add2f031c13bcdfde241253 /include/scsi/scsi.h | |
parent | scsi: aacraid: use scsi_host_(block,unblock) to block I/O (diff) | |
download | linux-dcece99e86b1191d2789fb5b5caa4c5b7fc2bfef.tar.xz linux-dcece99e86b1191d2789fb5b5caa4c5b7fc2bfef.zip |
scsi: core: add scsi_host_busy_iter()
Add an iterator scsi_host_busy_iter() to traverse all busy commands. If
locking against concurrent command completions is required, it has to be
provided by the caller.
Link: https://lore.kernel.org/r/20200228075318.91255-11-hare@suse.de
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions