From 01ff6bf51a345eb5842083e04ce2d3880c743d6f Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Tue, 10 Jan 2017 11:47:36 +0800 Subject: [PATCH] os/bluestore: kill orphan declaration of do_write_check_depth() The gc logic is gone and this is not relevant anymore. Signed-off-by: xie xingguo --- src/os/bluestore/BlueStore.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/os/bluestore/BlueStore.h b/src/os/bluestore/BlueStore.h index 1c8f836a76062..096205a1630a2 100644 --- a/src/os/bluestore/BlueStore.h +++ b/src/os/bluestore/BlueStore.h @@ -775,14 +775,6 @@ class BlueStore : public ObjectStore, /// split a blob (and referring extents) BlobRef split_blob(BlobRef lb, uint32_t blob_offset, uint32_t pos); - - bool do_write_check_depth( - uint64_t onode_size, - uint64_t start_offset, - uint64_t end_offset, - uint8_t *blob_depth, - uint64_t *gc_start_offset, - uint64_t *gc_end_offset); }; struct OnodeSpace;