Skip to content

Commit 19d4c59

Browse files
author
yawzhang
committed
Update blk_size from 1K to 4K to align with the physical sector size of HDDs.
This change also supports larger blob sizes due to the limitation of max_blks_per_blkid
1 parent 2fd6b35 commit 19d4c59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class HomeObjectConan(ConanFile):
1111
name = "homeobject"
12-
version = "2.3.19"
12+
version = "2.3.20"
1313

1414
homepage = "https://github.com/eBay/HomeObject"
1515
description = "Blob Store built on HomeReplication"

src/lib/homestore_backend/hs_homeobject.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class HSHomeObject : public HomeObjectImpl {
4545
inline static auto const _snp_rcvr_meta_name = std::string("SnapshotReceiver");
4646
inline static auto const _snp_rcvr_shard_list_meta_name = std::string("SnapshotReceiverShardList");
4747
static constexpr uint64_t HS_CHUNK_SIZE = 2 * Gi;
48-
static constexpr uint32_t _data_block_size = 1024;
48+
static constexpr uint32_t _data_block_size = 4 * Ki;
4949
static uint64_t _hs_chunk_size;
5050
uint32_t _hs_reserved_blks = 0;
5151
///

0 commit comments

Comments
 (0)