From a06452f2fcf51bf11e6cd31e2eb93f4c30177ae5 Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Tue, 8 Mar 2016 15:19:46 -0800
Subject: [PATCH] sbcast default buffer size set to 8MB

This matches the documentation
---
 src/sbcast/opts.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/sbcast/opts.c b/src/sbcast/opts.c
index 8c176432adb..45b2baa64a8 100644
--- a/src/sbcast/opts.c
+++ b/src/sbcast/opts.c
@@ -109,6 +109,8 @@ extern void parse_command_line(int argc, char *argv[])
 		params.preserve = true;
 	if ( ( env_val = getenv("SBCAST_SIZE") ) )
 		params.block_size = _map_size(env_val);
+	else
+		params.block_size = 8 * 1024 * 1024;
 	if ( ( env_val = getenv("SBCAST_TIMEOUT") ) )
 		params.timeout = (atoi(env_val) * 1000);
 
-- 
GitLab