From 17d6a993fc17d533460c5f40f3908c708e057c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 23 May 2024 18:45:17 +0200 Subject: Merging upstream version 18.2.3. Signed-off-by: Daniel Baumann --- src/mds/Mutation.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mds/Mutation.h') diff --git a/src/mds/Mutation.h b/src/mds/Mutation.h index b963dee08..bc83f2191 100644 --- a/src/mds/Mutation.h +++ b/src/mds/Mutation.h @@ -387,6 +387,12 @@ struct MDRequestImpl : public MutationImpl { void set_filepath(const filepath& fp); void set_filepath2(const filepath& fp); bool is_queued_for_replay() const; + bool get_queued_next_replay_op() const { + return queued_next_replay_op; + } + void set_queued_next_replay_op() { + queued_next_replay_op = true; + } int compare_paths(); bool can_batch(); @@ -460,6 +466,7 @@ protected: } void _dump(ceph::Formatter *f, bool has_mds_lock) const; void _dump_op_descriptor(std::ostream& stream) const override; + bool queued_next_replay_op = false; }; struct MDPeerUpdate { -- cgit v1.2.3