Skip to content

Commit c052e12

Browse files
committed
os/bluestore: remove unused functions
Signed-off-by: Pere Diaz Bou <[email protected]>
1 parent 202258f commit c052e12

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/os/bluestore/BlueFS.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,6 @@ class BlueFS {
602602
void _flush_bdev(); // this is safe to call without a lock
603603
void _flush_bdev(std::array<bool, MAX_BDEV>& dirty_bdevs); // this is safe to call without a lock
604604

605-
int _preallocate(FileRef f, uint64_t off, uint64_t len);
606-
int _truncate(FileWriter *h, uint64_t off);
607-
608605
int64_t _read(
609606
FileReader *h, ///< [in] read from here
610607
uint64_t offset, ///< [in] offset

src/os/bluestore/BlueStore.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,9 +1403,6 @@ class BlueStore : public ObjectStore,
14031403
void decode_omap_key(const std::string& key, std::string *user_key);
14041404

14051405
void finish_write(TransContext* txc, uint32_t offset, uint32_t length);
1406-
1407-
private:
1408-
void _decode(const ceph::buffer::list& v);
14091406
};
14101407

14111408
/// A generic Cache Shard

0 commit comments

Comments
 (0)