aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2014-12-07 16:09:59 +0200
committerRoland Dreier <[email protected]>2014-12-15 18:11:44 -0800
commit7414dde0a6c3a958e26141991bf5c75dc58d28b2 (patch)
tree13cf3044f5372fdc7be1b1ee7c63e57b79dd320f /tools/perf/util/scripting-engines/trace-event-python.c
parent3f562a0b8f0b47c4315e08bccd6a0b2d7f5aae1b (diff)
IB/iser: Fix race between iser connection teardown and scsi TMFs
In certain scenarios (target kill with live IO) scsi TMFs may race with iser RDMA teardown, which might cause NULL dereference on iser IB device handle (which might have been freed). In this case we take a conditional lock for TMFs and check the connection state (avoid introducing lock contention in the IO path). This is indeed best effort approach, but sufficient to survive multi targets sudden death while heavy IO is inflight. While we are on it, add a nice kernel-doc style documentation. Reported-by: Ariel Nahum <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions