diff options
| author | James Smart <[email protected]> | 2019-05-14 14:58:02 -0700 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2019-06-21 11:08:37 +0200 |
| commit | 9d09dd8d7626b9124ce4bc081aabcb0590173b27 (patch) | |
| tree | 59ef879fa6298a61c586c2fc5b3b8533fe460350 /tools/perf/scripts/python | |
| parent | 474a280036e8d319ef852f1dec59bedf4eda0107 (diff) | |
nvmet: add transport discovery change op
Some transports, such as FC-NVME, support discovery controller change
events without the use of a persistent discovery controller. FC receives
events via RSCN from the FC Fabric Controller or subsystem FC port.
This patch adds a nvmet transport op that is called whenever a
discovery change event occurs in the nvmet layer.
To facilitate the callback without adding another layer to cross into
core.c to reference the transport ops, the port structure snapshots
the transport ops when the port is enabled and clears them when disabled.
Signed-off-by: James Smart <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Arun Easi <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions