commit | a8f688ec437dc2045cc8f0c89fe877d5803850da | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Fri May 04 15:35:46 2018 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Fri Jun 01 13:56:30 2018 -0400 |
tree | a558fb60f62e84305a9049d0c4cc0df5e55d495a | |
parent | efd81e90d3f719a2a7fd696c9ed0247e1cae1b7c [diff] |
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 <chuck.lever@oracle.com> Cc: stable@vger.kernel.org # 4.8+ Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>