Skip to content

Commit f372dd8

Browse files
Update lvstore md ratio and clear method
1 parent 722654c commit f372dd8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

env_var

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SIMPLY_BLOCK_COMMAND_NAME=sbcli-dev
2-
SIMPLY_BLOCK_VERSION=3.8.4
2+
SIMPLY_BLOCK_VERSION=3.8.5
33

44

55
SIMPLY_BLOCK_DOCKER_IMAGE=simplyblock/simplyblock:main

simplyblock_core/rpc_client.py

+1
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def create_lvol(self, name, size_in_mib, lvs_name):
249249
"size_in_mib": size_in_mib,
250250
"lvs_name": lvs_name,
251251
"thin_provision": True,
252+
"clear_method": "unmap",
252253
}
253254
return self._request("bdev_lvol_create", params)
254255

simplyblock_core/storage_node_ops.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2522,8 +2522,8 @@ def create_lvstore(snode, ndcs, npcs, distr_bs, distr_chunk_bs, page_size_in_blo
25222522
"name": lvs_name,
25232523
"bdev_name": raid_device,
25242524
"cluster_sz": distr_page_size,
2525-
"clear_method": "none",
2526-
"num_md_pages_per_cluster_ratio": 1,
2525+
"clear_method": "unmap",
2526+
"num_md_pages_per_cluster_ratio": 3,
25272527
}
25282528
}
25292529

0 commit comments

Comments
 (0)