aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2021-07-05 09:22:56 +0800
committerIlya Dryomov <idryomov@gmail.com>2021-09-02 22:49:16 +0200
commitd095559ce4100f0c02aea229705230deac329c97 (patch)
tree8a5bd0a7967c7fa61422274faf57c0f1b9aa9331 /fs/ceph/mds_client.h
parentceph: make iterate_sessions a global symbol (diff)
downloadlinux-dev-d095559ce4100f0c02aea229705230deac329c97.tar.xz
linux-dev-d095559ce4100f0c02aea229705230deac329c97.zip
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);