diff --git a/conanfile.py b/conanfile.py index 7b94c14ca..7c0d5aa76 100644 --- a/conanfile.py +++ b/conanfile.py @@ -9,7 +9,7 @@ class HomestoreConan(ConanFile): name = "homestore" - version = "6.5.2" + version = "6.5.3" homepage = "https://github.com/eBay/Homestore" description = "HomeStore Storage Engine" diff --git a/src/include/homestore/vchunk.h b/src/include/homestore/vchunk.h index b52832faa..0406d428f 100644 --- a/src/include/homestore/vchunk.h +++ b/src/include/homestore/vchunk.h @@ -35,6 +35,7 @@ class VChunk { uint32_t get_pdev_id() const; uint16_t get_chunk_id() const; cshared< Chunk > get_internal_chunk() const; + uint64_t size() const; private: shared< Chunk > m_internal_chunk; diff --git a/src/lib/device/vchunk.cpp b/src/lib/device/vchunk.cpp index 1a7aaeac5..26391ac1b 100644 --- a/src/lib/device/vchunk.cpp +++ b/src/lib/device/vchunk.cpp @@ -33,5 +33,7 @@ uint32_t VChunk::get_pdev_id() const { return m_internal_chunk->physical_dev()-> uint16_t VChunk::get_chunk_id() const { return m_internal_chunk->chunk_id(); } +uint64_t VChunk::size() const { return m_internal_chunk->size(); } + cshared< Chunk > VChunk::get_internal_chunk() const { return m_internal_chunk; } } // namespace homestore