]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[SCSI] uas: disable use of blk-mq I/O path
authorChristoph Hellwig <hch@infradead.org>
Fri, 3 Oct 2014 08:47:09 +0000 (01:47 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 3 Oct 2014 09:27:58 +0000 (05:27 -0400)
commit2c2d831c81ec75a7b0d8e28caa8e3d9c1fe546f9
treea17fcc2c3592bd4c0d9a4096b1cb5f87fde20259
parent078efae00ffc76381c3248006e9cf0988163488f
[SCSI] uas: disable use of blk-mq I/O path

The uas driver uses the block layer tag for USB3 stream IDs.  With
blk-mq we can get larger tag numbers that the queue depth, which breaks
this assumption.  A fix is under way for 3.18, but sits on top of
large changes so can't easily be backported.   Set the disable_blk_mq
path so that a uas device can't easily crash the system when using
blk-mq for SCSI.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/usb/storage/uas.c