From f21aac581f2c146cde2b39425101d0558ca23736 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 4 Mar 2016 03:49:23 +0000 Subject: [PATCH] scst: make NULLIO use per-initiator threads To increase peformance by decreasing locks contention with multiple CPU cores between multiple threads in the global pool. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6823 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 56f101770..66ef444e8 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -789,7 +789,7 @@ static struct scst_dev_type vdisk_blk_devtype = { static struct scst_dev_type vdisk_null_devtype = { .name = "vdisk_nullio", .type = TYPE_DISK, - .threads_num = 0, + .threads_num = 1, .parse_atomic = 1, .dev_done_atomic = 1, #ifdef CONFIG_SCST_PROC