]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
os/bluestore: remove unused functions
authorPere Diaz Bou <pere-altea@hotmail.com>
Thu, 1 Aug 2024 15:21:07 +0000 (17:21 +0200)
committerPere Diaz Bou <pere-altea@hotmail.com>
Thu, 1 Aug 2024 15:23:03 +0000 (17:23 +0200)
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
src/os/bluestore/BlueFS.h
src/os/bluestore/BlueStore.h

index 86a4971d798ca450364c4a064214862ef53fc254..6c6131160ca83853f94d7096692819d01219c08a 100644 (file)
@@ -602,9 +602,6 @@ private:
   void _flush_bdev();  // this is safe to call without a lock
   void _flush_bdev(std::array<bool, MAX_BDEV>& 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
index 601b59bed7a93b352f1bd07ce2c5c3813011663e..1b3eef144bc69a840c2970d307d2bc6c83e2458f 100644 (file)
@@ -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