Hi Linus, On Sun, 14 Dec 2014 15:06:07 -0800 Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > On Sun, Dec 14, 2014 at 2:35 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > > > > Hans de Goede (1): > > uas: Make uas work with blk-mq > > So I got some fairly trivial conflicts on this one (conflicting with > the scsi cleanups mainly by Christoph Hellwig. > > I resolved the conflict easily, and it all *looks* fine, but quite > frankly, I'd be a lot happier about it if somebody who has the > hardware were to actually test the end result. The whole interaction > with ".use_blk_tags" etc should be verified by somebody who knows the > code. > > Hans? Christoph? Attached is the message I sent about this on Nov 24 to which I received no response and so assumed it was ok ... -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
--- Begin Message ---
- Subject: linux-next: manual merge of the scsi tree with the usb tree
- From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
- Date: Fri, 14 Nov 2014 18:00:54 +1100
- Af:
- Cc: linux-next@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Hans de Goede <hdegoede@xxxxxxxxxx>, Christoph Hellwig <hch@xxxxxx>
- Cfg:
- Dsr:
- Maid: 2
- Mid:
- Nf: 0
- Nsv:
- Ps: 10
- Pt: 0
- R: <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>,<linux-next@xxxxxxxxxxxxxxx>,<linux-kernel@xxxxxxxxxxxxxxx>,<hdegoede@xxxxxxxxxx>,<greg@xxxxxxxxx>,<hch@xxxxxx>
- Rq:
- S: sfr@xxxxxxxxxxxxxxxx
- Scf: #imap/ozlabs.org/Sent
- Sfn:
- Srh: 1
- Ssh:
- Ssv: ozlabs.org
Hi James, Today's linux-next merge of the scsi tree got a conflict in drivers/usb/storage/uas.c between commit e28e2f2f7c42 ("uas: Make uas work with blk-mq") from the usb tree and commits 125c99bc8b6b ("scsi: add new scsi-command flag for tagged commands"), abd0c533e377 ("scsi: remove ordered_tag host template field") and 2ecb204d07ac ("scsi: always assign block layer tags if enabled") from the scsi tree. I fixed it up (maybe, please check - see below) and can carry the fix as necessary (no action is required). -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx diff --cc drivers/usb/storage/uas.c index 004ebc12bc21,33f211b56a42..000000000000 --- a/drivers/usb/storage/uas.c +++ b/drivers/usb/storage/uas.c @@@ -806,7 -816,14 +805,7 @@@ static struct scsi_host_template uas_ho .sg_tablesize = SG_NONE, .cmd_per_lun = 1, /* until we override it */ .skip_settle_delay = 1, - .ordered_tag = 1, - - /* - * The uas drivers expects tags not to be bigger than the maximum - * per-device queue depth, which is not true with the blk-mq tag - * allocator. - */ - .disable_blk_mq = true, + .use_blk_tags = 1, }; #define UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \Attachment: pgpmPjgzG3owm.pgp
Description: OpenPGP digital signature
--- End Message ---
Attachment:
pgpe9GWKfJ1cW.pgp
Description: OpenPGP digital signature