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
This commit is contained in:
Vladislav Bolkhovitin
2015-09-18 01:24:10 +00:00
parent 837413b419
commit af841c5c53

View File

@@ -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;