diff options
author | Erez Shitrit <erezsh@mellanox.com> | 2015-06-25 17:13:22 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-07-14 20:20:09 +0300 |
commit | be4b499323bf7291b491c6df51baae62f45b8404 (patch) | |
tree | df0cd8aa8da001f70104e59fe35a3b64e415716d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3fdf70acec13efc7ecf254f5a364df06348bfd2c (diff) | |
download | linux-be4b499323bf7291b491c6df51baae62f45b8404.tar.xz |
IB/cm: Do not queue work to a device that's going away
Whenever ib_cm gets remove_one call, like when there is a hot-unplug
event, the driver should mark itself as going_down and confirm that no
new works are going to be queued for that device.
so, the order of the actions are:
1. mark the going_down bit.
2. flush the wq.
3. [make sure no new works for that device.]
4. unregister mad agent.
otherwise, works that are already queued can be scheduled after the mad
agent was freed.
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions