diff options
author | Mike Christie <[email protected]> | 2021-02-06 22:46:08 -0600 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-02-08 22:39:04 -0500 |
commit | d39bfd0686fd2b21f857c61bb2753db3a932cb24 (patch) | |
tree | f22a49b662c89cc73cc0e0603d18a5ada36deb10 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5b0ec4cf049446e676276cd3037b9c6bf53b8f94 (diff) |
scsi: iscsi: Drop session lock in iscsi_session_chkready()
The session lock in iscsi_session_chkready() is not needed because when we
transition from logged into to another state we will block and/or remove
the devices under the session, so no new I/O will be sent to the drivers
after the block/remove. I/O that races with the block/removal is cleaned up
by the drivers when it handles all outstanding I/O, so this just added an
extra lock in the main I/O path. This patch removes the lock like other
transport classes.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Lee Duncan <[email protected]>
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions