]> 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)
commitcdfc59f9a5052b47f36fbac8e1ee7b1cfbeb48bf
tree6b5d00addc414b9d96788ed6d407e83ab1477610
parentff0be82027c989876a2be7ab73cfff6f7082e1a5
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