linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Make UAS work on HS for devices with and without command tagging support
@ 2011-12-14 18:47 Sebastian Andrzej Siewior
  2011-12-14 18:47 ` [PATCH 1/2] usb/uas: fix support on HS (device without command tagging) Sebastian Andrzej Siewior
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Sebastian Andrzej Siewior @ 2011-12-14 18:47 UTC (permalink / raw)
  To: Sarah Sharp; +Cc: Matthew Wilcox, linux-usb, linux-scsi

Hi Sarah and Matthew,

the two patches were required to get my new fancy uasp gadget work on HS
with dummy_hcd. It is processing only one command at a time however it
caught a few bugs already :)

To deal with canceled commands (where we may have to kill some status urbs)
I've been thinking about a list within uas_dev_info which keeps track of
all status urbs and counts all commands which are queued. Once we start
removing commands which timed out we should make sure that the number of
commands which remain is the same as the number of status urbs which we
have. If we have more status urbs than commands then we kill some status
urbs. If it is the other way around then someone was too trigger happy.

Sebastian


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2011-12-19 21:22 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14 18:47 Make UAS work on HS for devices with and without command tagging support Sebastian Andrzej Siewior
2011-12-14 18:47 ` [PATCH 1/2] usb/uas: fix support on HS (device without command tagging) Sebastian Andrzej Siewior
     [not found]   ` <1323888472-21035-2-git-send-email-bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2011-12-15 11:14     ` Sergei Shtylyov
2011-12-14 18:47 ` [PATCH 2/2] usb/uas: fix support on HS (device with " Sebastian Andrzej Siewior
2011-12-14 22:53 ` Make UAS work on HS for devices with and without command tagging support Sarah Sharp
2011-12-15  8:44   ` Sebastian Andrzej Siewior
     [not found]     ` <4EE9B375.4020606-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2011-12-15 21:12       ` [usb-storage] " Sarah Sharp
2011-12-16 14:47         ` Sebastian Andrzej Siewior
2011-12-16 20:12           ` Sebastian Andrzej Siewior
2011-12-16 20:31             ` Matthew Wilcox
2011-12-16 20:42               ` Sebastian Andrzej Siewior
2011-12-16 21:36                 ` Sarah Sharp
2011-12-16 21:44                   ` Alan Stern
2011-12-16 21:47                   ` James Bottomley
2011-12-19 16:12                     ` Matthew Wilcox
2011-12-19 17:14                       ` James Bottomley
2011-12-19 18:36                         ` Matthew Wilcox
2011-12-19 20:27                           ` James Bottomley
2011-12-19 20:57                             ` Matthew Wilcox
2011-12-19 21:22                               ` James Bottomley
2011-12-19 16:14                     ` [PATCH] usb/uas: use unique tags for all LUNs Sebastian Andrzej Siewior
2011-12-19 19:39                     ` [PATCH] usb/uas: use scsi_host_find_tag() to find command from a tag Sebastian Andrzej Siewior
     [not found]                       ` <20111219193955.GA2060-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2011-12-19 19:50                         ` Matthew Wilcox
2011-12-19 20:12                           ` Sarah Sharp
2011-12-19 21:01                             ` Matthew Wilcox
2011-12-16 20:51             ` [usb-storage] Re: Make UAS work on HS for devices with and without command tagging support Sarah Sharp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).