Skip to content

Commit

Permalink
scsi: ufs: Disable blk-mq for now
Browse files Browse the repository at this point in the history
blk-mq does not support runtime pm, so disable blk-mq support for now.

Fixes: d5038a1 ("scsi: core: switch to scsi-mq by default")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
ahunter6 authored and martinkpetersen committed Sep 21, 2018
1 parent 83e32a5 commit d87161b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/scsi/ufs/ufshcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -7940,6 +7940,13 @@ int ufshcd_alloc_host(struct device *dev, struct ufs_hba **hba_handle)
err = -ENOMEM;
goto out_error;
}

/*
* Do not use blk-mq at this time because blk-mq does not support
* runtime pm.
*/
host->use_blk_mq = false;

hba = shost_priv(host);
hba->host = host;
hba->dev = dev;
Expand Down

0 comments on commit d87161b

Please sign in to comment.