Skip to content

Commit

Permalink
add chunksize to vchunk interface (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonYao287 authored Oct 29, 2024
1 parent 8a80eef commit a7a9fe5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/include/homestore/vchunk.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/lib/device/vchunk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a7a9fe5

Please sign in to comment.