summaryrefslogtreecommitdiff
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2021-07-05 04:22:56 +0300
committerIlya Dryomov <idryomov@gmail.com>2021-09-02 23:49:16 +0300
commitd095559ce4100f0c02aea229705230deac329c97 (patch)
tree8a5bd0a7967c7fa61422274faf57c0f1b9aa9331 /fs/ceph/mds_client.h
parent59b312f36230ea91ebb6ce1b11f2781604495d30 (diff)
downloadlinux-d095559ce4100f0c02aea229705230deac329c97.tar.xz
ceph: flush mdlog before umounting
Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/mds_client.h')
-rw-r--r--fs/ceph/mds_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h
index 4a75a14c2a88..97c7f7bfa55f 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -522,6 +522,7 @@ static inline void ceph_mdsc_put_request(struct ceph_mds_request *req)
kref_put(&req->r_kref, ceph_mdsc_release_request);
}
+extern void send_flush_mdlog(struct ceph_mds_session *s);
extern void ceph_mdsc_iterate_sessions(struct ceph_mds_client *mdsc,
void (*cb)(struct ceph_mds_session *),
bool check_state);