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
This commit is contained in:
Vladislav Bolkhovitin
2016-03-04 03:49:23 +00:00
parent 69471744d8
commit f21aac581f

View File

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