]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Wait for caps to flush when flushing metadata.
authorGreg Farnum <greg@inktank.com>
Mon, 28 Jan 2013 19:55:03 +0000 (11:55 -0800)
committerGreg Farnum <greg@inktank.com>
Tue, 29 Jan 2013 18:51:48 +0000 (10:51 -0800)
commit7cd4e50ddf103d93308715218ec2735d93d493ac
treefd6fe98f745e96e3fe0ac8b01311f23c716407f6
parent907c709ccb0a929411a1a86bfeab57974efb73da
client: Wait for caps to flush when flushing metadata.

Embarrassingly, this conditional has been backwards since
I committed it in 818e7939. But we want to do the wait when
we did do the flush and are syncing metadata. As the code
previously stood, we only did the wait when we didn't care,
and it didn't wait anyway since it was waiting for 0. So,
bad all around.
Signed-off-by: Greg Farnum <greg@inktank.com>
src/client/Client.cc