]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Don't confuse ENOBUFS with a write_space issue
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 3 Jul 2015 13:32:23 +0000 (09:32 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 3 Jul 2015 13:42:54 +0000 (09:42 -0400)
commit4de2332d8924638d7934535e064caac350495e7f
tree6b5d00addc414b9d96788ed6d407e83ab1477610
parentf604be33e6aa427bc01e7a7f65360188103e3b3a
SUNRPC: Don't confuse ENOBUFS with a write_space issue

ENOBUFS means that memory allocations are failing due to an actual
low memory situation. It should not be confused with being out of
socket buffer space.

Handle the problem by just punting to the delay in call_status.

Reported-by: Neil Brown <neilb@suse.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c