From: Pere Diaz Bou Date: Thu, 1 Aug 2024 15:21:07 +0000 (+0200) Subject: os/bluestore: remove unused functions X-Git-Tag: v20.0.0~1318^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c052e12f35aa721c068cc5bff9be40f6bba7415f;p=ceph.git os/bluestore: remove unused functions Signed-off-by: Pere Diaz Bou --- 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