Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pool): blobstore cluster size to be set during pool creation through grpc parameter value #83

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions protobuf/v1/pool.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ 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 in "bytes" but
// must be multiple of 1MiB, else default cluster size i.e 4MiB will be considered. Minimum
// cluster size can be input as 1048576 (1024 * 1024) bytes (1MiB)
optional uint32 cluster_size = 5;
tiagolobocastro marked this conversation as resolved.
Show resolved Hide resolved
hrudaya21 marked this conversation as resolved.
Show resolved Hide resolved
}

// Create pool arguments.
Expand Down Expand Up @@ -64,6 +68,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 (in bytes) during pool creation
}

// Destroy pool arguments.
Expand Down
Loading