Re: uas breakage when using scsi_mod.blk_mq=Y

2014-10-01 Thread Christoph Hellwig
On Wed, Oct 01, 2014 at 05:53:10PM +0200, Hans de Goede wrote: > So let me see if I understand this correctly, blk-mq will never queue > more then qdepth commands, but it will use higher tag numbers ? Correct. > If that is the case fixing this should be easy, uas already has > an array to map str

Re: uas breakage when using scsi_mod.blk_mq=Y

2014-10-01 Thread Hans de Goede
Hi, On 10/01/2014 02:45 PM, Christoph Hellwig wrote: > On Wed, Oct 01, 2014 at 10:17:41AM +0200, Hans de Goede wrote: >> The problematic part here, which I believe is caused by scsi_mod.blk_mq=Y, >> is the tag number 33. uas.c does the following in slave_configure: >> >> scsi_activate_tcq(sde

Re: uas breakage when using scsi_mod.blk_mq=Y

2014-10-01 Thread Christoph Hellwig
On Wed, Oct 01, 2014 at 10:17:41AM +0200, Hans de Goede wrote: > The problematic part here, which I believe is caused by scsi_mod.blk_mq=Y, > is the tag number 33. uas.c does the following in slave_configure: > > scsi_activate_tcq(sdev, devinfo->qdepth - 2); > > Where qdepth is 32, so 30 ge