mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ceph: reset r_resend_mds after receiving -ESTALE
this makes __choose_mds() choose mds according caps Signed-off-by: Yan, Zheng <[email protected]>
This commit is contained in:
parent
f5f1864743
commit
51da8e8c6f
1 changed files with 1 additions and 0 deletions
|
|
@ -2254,6 +2254,7 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)
|
|||
*/
|
||||
if (result == -ESTALE) {
|
||||
dout("got ESTALE on request %llu", req->r_tid);
|
||||
req->r_resend_mds = -1;
|
||||
if (req->r_direct_mode != USE_AUTH_MDS) {
|
||||
dout("not using auth, setting for that now");
|
||||
req->r_direct_mode = USE_AUTH_MDS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue