Revision d53e292f0f505783d0219f58f8f8f294f45f4ee6 authored by Long Li on 15 March 2019, 07:54:59 UTC, committed by Steve French on 23 March 2019, 03:36:54 UTC
When sending a wdata, transport may return -EAGAIN. In this case
we should re-obtain credits because the session may have been
reconnected.

Change in v2: adjust_credits before re-sending

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
1 parent a5ed1e9
History
File Mode Size
crush
Kconfig -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 440 bytes
armor.c -rw-r--r-- 1.9 KB
auth.c -rw-r--r-- 7.9 KB
auth_none.c -rw-r--r-- 3.1 KB
auth_none.h -rw-r--r-- 502 bytes
auth_x.c -rw-r--r-- 23.1 KB
auth_x.h -rw-r--r-- 1013 bytes
auth_x_protocol.h -rw-r--r-- 1.9 KB
buffer.c -rw-r--r-- 1.2 KB
ceph_common.c -rw-r--r-- 19.4 KB
ceph_fs.c -rw-r--r-- 2.6 KB
ceph_hash.c -rw-r--r-- 2.9 KB
ceph_strings.c -rw-r--r-- 1.2 KB
cls_lock_client.c -rw-r--r-- 10.3 KB
crypto.c -rw-r--r-- 7.9 KB
crypto.h -rw-r--r-- 1.0 KB
debugfs.c -rw-r--r-- 12.6 KB
messenger.c -rw-r--r-- 87.7 KB
mon_client.c -rw-r--r-- 32.8 KB
msgpool.c -rw-r--r-- 2.3 KB
osd_client.c -rw-r--r-- 145.4 KB
osdmap.c -rw-r--r-- 59.7 KB
pagelist.c -rw-r--r-- 4.0 KB
pagevec.c -rw-r--r-- 4.0 KB
snapshot.c -rw-r--r-- 2.2 KB
string_table.c -rw-r--r-- 2.2 KB
striper.c -rw-r--r-- 7.2 KB

back to top