1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Increase size of sacctmgr read buffer
This patch significantly increases the size of the buffer for reading dumps
with sacctmgr load. Without this patch, sacctmgr is not able to handle lines
with more than 4096 which is too small in some cases. Also removed useless
macro definition in other related file.
Author: Rémi Palancher <remi@rezib.org>
Forwarded: http://thread.gmane.org/gmane.comp.distributed.slurm.devel/5483
Last-Update: 2019-09-06
--- a/src/sacctmgr/file_functions.c
+++ b/src/sacctmgr/file_functions.c
@@ -42,7 +42,7 @@
#include "src/common/strlcpy.h"
#include "src/common/uid.h"
-#define BUFFER_SIZE 4096
+#define BUFFER_SIZE 524288
typedef struct {
slurmdb_admin_level_t admin;
|