Skip to content

Commit

Permalink
feat(pool): blobstore cluster size to be set during pool creation thr…
Browse files Browse the repository at this point in the history
…ough grpc parameter value

Signed-off-by: Hrudaya <[email protected]>
  • Loading branch information
hrudaya21 committed Sep 22, 2023
1 parent a8969cd commit 51c67b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions protobuf/v1/pool.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ message CreatePoolRequest {
google.protobuf.StringValue uuid = 2; // optional uuid for the pool to be created
repeated string disks = 3; // disk device paths or URIs to be claimed by the pool
PoolType pooltype = 4; // type of the pool
// Default cluster size is 4MiB (4 * 1024 * 1024), input cluster size must be multiple of 1MiB,
// else default cluster size will be considered.
optional uint32 cluster_size = 5;
}

// Create pool arguments.
Expand Down Expand Up @@ -64,6 +67,7 @@ message Pool {
uint64 used = 6; // used bytes from the pool
PoolType pooltype = 7; // type of the pool
uint64 committed = 8; // committed size of all pool replicas (sum of capacities of all replicas)
uint32 cluster_size = 9; // blobstor cluster size set during pool creation
}

// Destroy pool arguments.
Expand Down

0 comments on commit 51c67b2

Please sign in to comment.