diff options
author | Johannes Thumshirn <[email protected]> | 2018-06-01 09:11:20 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-06-08 12:51:10 -0600 |
commit | 12a0b662210702c6b0ce9f66f0c177ff1dea99cb (patch) | |
tree | 1ec47a51a7aa9cfdd5acc59f1970b2523fb76ae4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f39ae4719b1c33d048aa4d3c284d82ecf252742b (diff) |
nvme: don't hold nvmf_transports_rwsem for more than transport lookups
Only take nvmf_transports_rwsem when doing a lookup of registered
transports, so that a blocking ->create_ctrl doesn't prevent other
actions on /dev/nvme-fabrics.
Signed-off-by: Johannes Thumshirn <[email protected]>
[hch: increased lock hold time a bit to be safe, added a comment
and updated the changelog]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions