diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-02-11 11:09:10 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-02-29 17:12:36 -0500 |
commit | fc3af58d3f8b820e3acabb1e1c4f105eb3f283c1 (patch) | |
tree | 1ea09dfef8a4581b78a84e2ed264add9762c8147 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | aaf45bd83eba804adfa5c4ff5b17ca0c88884c6f (diff) |
IB/srpt: Fix srpt_write_pending()
The only allowed return values for the write_pending() callback
function are 0, -EAGAIN and -ENOMEM. Since attempting to perform
RDMA over a disconnecting channel will result in an IB error
completion anyway, remove the code that checks the channel state
from srpt_write_pending().
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions