diff options
author | Christoph Hellwig <hch@lst.de> | 2016-07-13 13:19:05 +0900 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-07-15 15:11:20 -0400 |
commit | 9aa9cc4221f5154ed93e999662ccfef7b6a82e3e (patch) | |
tree | 94557a4eb24940fcdc123cc793aaf54a73635918 /include | |
parent | 757f9d7a801236a9c49468af9e64cd7c447c2f8e (diff) | |
download | op-kernel-dev-9aa9cc4221f5154ed93e999662ccfef7b6a82e3e.zip op-kernel-dev-9aa9cc4221f5154ed93e999662ccfef7b6a82e3e.tar.gz |
scsi: remove the disable_blk_mq host flag
We've had scsi-mq for 2.5 years now, so we can remove the unused flag to
disable the code on a per-host basis that was put in for unexpected
emergencies during bringup.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/scsi_host.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 76e9d27..0dee7af 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h @@ -495,9 +495,6 @@ struct scsi_host_template { */ unsigned int cmd_size; struct scsi_host_cmd_pool *cmd_pool; - - /* temporary flag to disable blk-mq I/O path */ - bool disable_blk_mq; }; /* @@ -778,7 +775,8 @@ extern bool scsi_use_blk_mq; static inline bool shost_use_blk_mq(struct Scsi_Host *shost) { - return shost->use_blk_mq; + return scsi_use_blk_mq; + } extern int scsi_queue_work(struct Scsi_Host *, struct work_struct *); |