diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2017-02-24 17:50:17 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-06-12 16:25:56 +0200 |
commit | 9861dbd5b4a422ae03a8caa2fa6d2827912aa952 (patch) | |
tree | ecb82cdcd9a9dce9f03afeae6002ba31479ff8c5 /drivers/s390/block/scm_blk.h | |
parent | c7b3e92331fbb905579e67aeed202a37eade54b2 (diff) | |
download | linux-9861dbd5b4a422ae03a8caa2fa6d2827912aa952.tar.gz linux-9861dbd5b4a422ae03a8caa2fa6d2827912aa952.tar.bz2 linux-9861dbd5b4a422ae03a8caa2fa6d2827912aa952.zip |
s390/scm: use multiple queues
Exploit multiple hardware contexts (queues) that can process
requests in parallel.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/scm_blk.h')
-rw-r--r-- | drivers/s390/block/scm_blk.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/block/scm_blk.h b/drivers/s390/block/scm_blk.h index f7b4d9ba43d1..242d17a91920 100644 --- a/drivers/s390/block/scm_blk.h +++ b/drivers/s390/block/scm_blk.h @@ -19,8 +19,7 @@ struct scm_blk_dev { struct gendisk *gendisk; struct blk_mq_tag_set tag_set; struct scm_device *scmdev; - spinlock_t rq_lock; /* guard the request queue */ - spinlock_t lock; /* guard the rest of the blockdev */ + spinlock_t lock; atomic_t queued_reqs; enum {SCM_OPER, SCM_WR_PROHIBIT} state; struct list_head finished_requests; |