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
56b7cf95
Commit
56b7cf95
authored
15 years ago
by
Sage Weil
Browse files
Options
Download
Email Patches
Plain Diff
ceph: skip mds sync on forced unmount
Signed-off-by:
Sage Weil
<
sage@newdream.net
>
parent
b736b3d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
fs/ceph/mds_client.c
fs/ceph/mds_client.c
+3
-0
No files found.
fs/ceph/mds_client.c
View file @
56b7cf95
...
...
@@ -2748,6 +2748,9 @@ void ceph_mdsc_sync(struct ceph_mds_client *mdsc)
{
u64
want_tid
,
want_flush
;
if
(
mdsc
->
client
->
mount_state
==
CEPH_MOUNT_SHUTDOWN
)
return
;
dout
(
"sync
\n
"
);
mutex_lock
(
&
mdsc
->
mutex
);
want_tid
=
mdsc
->
last_tid
;
...
...
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