mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user