summaryrefslogtreecommitdiff
path: root/fs/ceph/mds_client.c
diff options
context:
space:
mode:
authorJim Schutt <jaschut@sandia.gov>2012-02-29 19:30:58 +0400
committerAlex Elder <elder@dreamhost.com>2012-03-22 19:47:45 +0400
commit182fac2689b769a96e7fc9defcd560c5cca92b1e (patch)
tree1944b5db730a3157cd8f3d2e50fa88db263c5114 /fs/ceph/mds_client.c
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7 (diff)
downloadlinux-182fac2689b769a96e7fc9defcd560c5cca92b1e.tar.xz
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>
Diffstat (limited to 'fs/ceph/mds_client.c')
0 files changed, 0 insertions, 0 deletions