summaryrefslogtreecommitdiffstats
path: root/rpc/rpcl
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-06-12 11:59:13 +0530
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-06-22 16:30:46 +0530
commit94c79620db4451bf804d6ab631c9ca59759dbc21 (patch)
treeee5c0e9430fb30812753ac1911bd8b5c163cb5fd /rpc/rpcl
parent8bb5dd787e84f719940230adb24642653fcaec77 (diff)
block: add support to prealloc = full | no option
currently we allocate sparse files for block backends in the gluster volume, with 'prealloc = full' option introduced by this patch we should be able to fully preallocate the backend block file. Change-Id: Ibf32df5f978f732a3fd248693170463da6d08268 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Diffstat (limited to 'rpc/rpcl')
-rw-r--r--rpc/rpcl/block.x1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/rpcl/block.x b/rpc/rpcl/block.x
index f5e2b8b..a47901a 100644
--- a/rpc/rpcl/block.x
+++ b/rpc/rpcl/block.x
@@ -38,6 +38,7 @@ struct blockCreateCli {
u_quad_t size;
u_int mpath; /* HA request count */
bool auth_mode;
+ bool prealloc;
char block_name[255];
string block_hosts<>;
enum JsonResponseFormat json_resp;