From af841c5c53ac05da52ba32c750ca7af83aac3aa3 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 18 Sep 2015 01:24:10 +0000 Subject: [PATCH] Decrease MULTI_CMDS_CNT for better parallelism git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6516 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- usr/fileio/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/fileio/common.c b/usr/fileio/common.c index e308359bf..47b673fcc 100644 --- a/usr/fileio/common.c +++ b/usr/fileio/common.c @@ -702,7 +702,7 @@ void *main_loop(void *arg) struct vdisk_cmd vcmd = { -1, &cmd, dev, &reply, {0}}; int scst_usr_fd = dev->scst_usr_fd; struct pollfd pl; -#define MULTI_CMDS_CNT 128 +#define MULTI_CMDS_CNT 2 struct { struct scst_user_reply_cmd replies[MULTI_CMDS_CNT]; struct scst_user_get_multi multi_cmd;