From: Yingxin Cheng Date: Thu, 7 Mar 2024 07:30:39 +0000 (+0800) Subject: crimson/os/seastore: remove unecessary public interfaces X-Git-Tag: v19.1.1~376^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1c7396e45ec9f48c2dec12328e6209f2316273a7;p=ceph.git crimson/os/seastore: remove unecessary public interfaces Signed-off-by: Yingxin Cheng (cherry picked from commit 785634262b6c39df44f3e88ab326421f75b06c98) --- diff --git a/src/crimson/os/seastore/cache.h b/src/crimson/os/seastore/cache.h index 5093c79b81c1f..86e63aa6c11e9 100644 --- a/src/crimson/os/seastore/cache.h +++ b/src/crimson/os/seastore/cache.h @@ -1343,6 +1343,7 @@ public: return stats.omap_tree_depth; } +private: /// Update lru for access to ref void touch_extent( CachedExtent &ext, @@ -1355,7 +1356,6 @@ public: } } -private: ExtentPlacementManager& epm; RootBlockRef root; ///< ref to current root ExtentIndex extents; ///< set of live extents diff --git a/src/crimson/os/seastore/cached_extent.h b/src/crimson/os/seastore/cached_extent.h index 4cb7e2b490cbd..35753d101bd25 100644 --- a/src/crimson/os/seastore/cached_extent.h +++ b/src/crimson/os/seastore/cached_extent.h @@ -1244,8 +1244,6 @@ public: std::ostream &_print_detail(std::ostream &out) const final; - void on_replace_prior(Transaction &t) final; - struct modified_region_t { extent_len_t offset; extent_len_t len; @@ -1257,9 +1255,12 @@ public: virtual void clear_modified_region() {} virtual ~LogicalCachedExtent(); + protected: + void on_replace_prior(Transaction &t) final; virtual void apply_delta(const ceph::bufferlist &bl) = 0; + virtual std::ostream &print_detail_l(std::ostream &out) const { return out; }