Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenBMC Firmware
talos-obmc-linux
Commits
85792d0d
Commit
85792d0d
authored
14 years ago
by
Sage Weil
Browse files
Options
Download
Email Patches
Plain Diff
ceph: cope with out of order (unsafe after safe) mds reply
Signed-off-by:
Sage Weil
<
sage@newdream.net
>
parent
aba558e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
fs/ceph/mds_client.c
fs/ceph/mds_client.c
+6
-0
No files found.
fs/ceph/mds_client.c
View file @
85792d0d
...
...
@@ -1871,6 +1871,12 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)
mutex_unlock
(
&
mdsc
->
mutex
);
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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment