[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <002701cc0568$cac33470$60499d50$@org>
Date: Thu, 28 Apr 2011 08:54:48 +0300
From: "Tanya Brokhman" <tlinder@...eaurora.org>
To: "'Alan Stern'" <stern@...land.harvard.edu>,
"'Sarah Sharp'" <sarah.a.sharp@...ux.intel.com>
Cc: <gregkh@...e.de>, <linux-arm-msm@...r.kernel.org>,
<ablay@...eaurora.org>, <balbi@...com>,
"'USB list'" <linux-usb@...r.kernel.org>,
"'Kernel development list'" <linux-kernel@...r.kernel.org>,
"'Matthew Wilcox'" <matthew.r.wilcox@...el.com>
Subject: RE: [RFC/PATCH v3 2/5] uas: MS UAS Gadget driver - Infrastructure
Hi All
>
> Since Tanya is writing the gadget driver, she gets to decide how many
> streams it will support (limited by the device controller hardware).
> In this setting I would use one thread per stream, since a thread can't
> have more than one VFS read or write request outstanding at any time.
>
> Except that, as Christoph has mentioned a few times, it would be better
> to abandon this driver design entirely and use the SCSI Target
> framework instead. Then presumably threads would not be an issue.
>
> Alan Stern
Thank you very much for you inputs and help! I'm not familiar with the SCSI
Target framework Christoph referred me too so I postponed looking into that
until the driver is stable. Well, I guess that time has come so I'll switch
over to studying that and applying it to the UAS gadget driver.
Best regards,
Tanya Brokhman
Consultant for Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists