]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: call wait_for_safe twice in command_flush_journal 4116/head
authorJohn Spray <john.spray@redhat.com>
Fri, 20 Mar 2015 17:11:39 +0000 (17:11 +0000)
committerJohn Spray <john.spray@redhat.com>
Fri, 20 Mar 2015 17:11:39 +0000 (17:11 +0000)
commit035ab3c0e3a4a21c2fe6459a29642fc8856096cb
tree8d88b3127eb5d43c4be54e1ae94bdb2e9b789a22
parentb94189f9c067199f6fca76d7c4f55ad9262f7405
mds: call wait_for_safe twice in command_flush_journal

...so that we wait until everyone who was waiting for the first
wait_for_safe has run their completion before we proceed, thus
avoiding the possibility that those completions will execute
during our trimming and cause problems.

Fixes: #10368
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDS.cc