diff options
| author | Chuck Lever <[email protected]> | 2018-05-04 19:35:46 +0000 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2018-06-01 17:56:30 +0000 |
| commit | a8f688ec437dc2045cc8f0c89fe877d5803850da (patch) | |
| tree | a558fb60f62e84305a9049d0c4cc0df5e55d495a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | xprtrdma: Make rpcrdma_sendctx_put_locked() a static function (diff) | |
| download | kernel-a8f688ec437dc2045cc8f0c89fe877d5803850da.tar.gz kernel-a8f688ec437dc2045cc8f0c89fe877d5803850da.zip | |
xprtrdma: Return -ENOBUFS when no pages are available
The use of -EAGAIN in rpcrdma_convert_iovs() is a latent bug: the
transport never calls xprt_write_space() when more pages become
available. -ENOBUFS will trigger the correct "delay briefly and call
again" logic.
Fixes: 7a89f9c626e3 ("xprtrdma: Honor ->send_request API contract")
Signed-off-by: Chuck Lever <[email protected]>
Cc: [email protected] # 4.8+
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
