]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: wire up the CHECK_CAPS_SYNCHRONOUS flag
authorJeff Layton <jlayton@redhat.com>
Wed, 9 Nov 2016 14:36:07 +0000 (09:36 -0500)
committerJeff Layton <jlayton@redhat.com>
Fri, 11 Nov 2016 11:28:50 +0000 (06:28 -0500)
commit826b30aa28478650755ffe613a7bfc1074778599
tree97ed05320e2a4a9a8f260f8cc1466369531ed164
parent0df562a8e13e1e655d3d6a8f4005c450c5190a56
client: wire up the CHECK_CAPS_SYNCHRONOUS flag

Ensure that the client will request an immediate journal flush from the
MDS when we'll end up waiting on the flush response. This patch should
fix the fsync codepath, but we may need something similar for syncfs.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/Client.cc
src/client/Client.h