mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 08:22:39 +00:00
ceph: cope with out of order (unsafe after safe) mds reply
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
aba558e28a
commit
85792d0dd6
@ -1871,6 +1871,12 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)
|
|||||||
mutex_unlock(&mdsc->mutex);
|
mutex_unlock(&mdsc->mutex);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
if (req->r_got_safe && !head->safe) {
|
||||||
|
pr_warning("got unsafe after safe on %llu from mds%d\n",
|
||||||
|
tid, mds);
|
||||||
|
mutex_unlock(&mdsc->mutex);
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
result = le32_to_cpu(head->result);
|
result = le32_to_cpu(head->result);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user