Skip to content

Commit 41d288f

Browse files
authored
Merge pull request ceph#58993 from pereman2/unused-func
os/bluestore: Unused func Reviewed-by: Igor Fedotov <[email protected]>
2 parents d8caee9 + c052e12 commit 41d288f

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
@@ -1404,9 +1404,6 @@ class BlueStore : public ObjectStore,
14041404
void decode_omap_key(const std::string& key, std::string *user_key);
14051405

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

14121409
/// A generic Cache Shard

0 commit comments

Comments
 (0)