From c052e12f35aa721c068cc5bff9be40f6bba7415f Mon Sep 17 00:00:00 2001 From: Pere Diaz Bou Date: Thu, 1 Aug 2024 17:21:07 +0200 Subject: [PATCH] os/bluestore: remove unused functions Signed-off-by: Pere Diaz Bou --- src/os/bluestore/BlueFS.h | 3 --- src/os/bluestore/BlueStore.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/os/bluestore/BlueFS.h b/src/os/bluestore/BlueFS.h index 86a4971d798..6c6131160ca 100644 --- a/src/os/bluestore/BlueFS.h +++ b/src/os/bluestore/BlueFS.h @@ -602,9 +602,6 @@ private: void _flush_bdev(); // this is safe to call without a lock void _flush_bdev(std::array& dirty_bdevs); // this is safe to call without a lock - int _preallocate(FileRef f, uint64_t off, uint64_t len); - int _truncate(FileWriter *h, uint64_t off); - int64_t _read( FileReader *h, ///< [in] read from here uint64_t offset, ///< [in] offset diff --git a/src/os/bluestore/BlueStore.h b/src/os/bluestore/BlueStore.h index 601b59bed7a..1b3eef144bc 100644 --- a/src/os/bluestore/BlueStore.h +++ b/src/os/bluestore/BlueStore.h @@ -1403,9 +1403,6 @@ public: void decode_omap_key(const std::string& key, std::string *user_key); void finish_write(TransContext* txc, uint32_t offset, uint32_t length); - -private: - void _decode(const ceph::buffer::list& v); }; /// A generic Cache Shard -- 2.39.5