summaryrefslogtreecommitdiff
path: root/fs/ceph/strings.c
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/strings.c
parent59b312f36230ea91ebb6ce1b11f2781604495d30 (diff)
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/strings.c')
-rw-r--r--fs/ceph/strings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/strings.c b/fs/ceph/strings.c
index 4a79f3632260..573bb9556fb5 100644
--- a/fs/ceph/strings.c
+++ b/fs/ceph/strings.c
@@ -46,6 +46,7 @@ const char *ceph_session_op_name(int op)
case CEPH_SESSION_FLUSHMSG_ACK: return "flushmsg_ack";
case CEPH_SESSION_FORCE_RO: return "force_ro";
case CEPH_SESSION_REJECT: return "reject";
+ case CEPH_SESSION_REQUEST_FLUSH_MDLOG: return "flush_mdlog";
}
return "???";
}