Whamcloud - gitweb
LU-11415 socklnd: improve scheduling algorithm 99/34299/2
authorAmir Shehata <ashehata@whamcloud.com>
Wed, 28 Nov 2018 01:54:51 +0000 (17:54 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Apr 2019 06:27:37 +0000 (06:27 +0000)
commitec964395b249087c28e82b1afa1db4a7c9322196
tree007f6c875230de8f4010a1f6f4ec5f3dac0d397f
parentba16d36cb87d2e6e6c592f78497f3649c8ee07b6
LU-11415 socklnd: improve scheduling algorithm

Modified the scheduling algorithm to use all scheduler threads
available. Previously a connection is assigned a single thread
and can only use that one. With this patch any scheduler thread
available on the assigned CPT can pick up and work on requests
queued on the connection.

Lustre-change: https://review.whamcloud.com/33740
Lustre-commit: 89df5e712ffd40064f1d4ce2f00f9156f68a2262

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I7e8e5220e1914155fd793994485e3a443fe1ba44
Reviewed-by: Jinshan Xiong <jinshan.xiong@gmail.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34299
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/socklnd/socklnd.c
lnet/klnds/socklnd/socklnd.h
lnet/klnds/socklnd/socklnd_cb.c
lnet/klnds/socklnd/socklnd_lib.c