Jim Schutt 182fac2689 net/ceph: Only clear SOCK_NOSPACE when there is sufficient space in the socket buffer
The Ceph messenger would sometimes queue multiple work items to write
data to a socket when the socket buffer was full.

Fix this problem by making ceph_write_space() use SOCK_NOSPACE in the
same way that net/core/stream.c:sk_stream_write_space() does, i.e.,
clearing it only when sufficient space is available in the socket buffer.

Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Reviewed-by: Alex Elder <elder@dreamhost.com>
2012-03-22 10:47:45 -05:00
..
2011-12-14 02:39:30 -05:00
2012-02-22 02:23:25 -05:00
2011-12-16 15:07:28 -05:00
2011-03-17 11:59:32 +11:00
2012-03-11 15:52:12 -07:00
2011-12-11 18:25:16 -05:00
2011-09-16 19:20:20 -04:00
2011-12-16 15:49:52 -05:00
2010-10-15 15:53:27 +02:00