Re: [PATCH 2] introduce-mass-storage-arbitration.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 22 Dec 2009, Andy Green wrote:

> From: Andy Green <andy.green@xxxxxxxx>
> 
> Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Cc: Linux USB list <linux-usb@xxxxxxxxxxxxxxx>
> 
> This patch adds support for arbitrating backing storage access between
> the gadget mass storage driver and userspace.
> 
> The functionality it provides allows userspace to keep a shared partition
> mounted all the time except when the partition is being accessed by a host.
> When the host "ejects" the logical storage device, userspace is informed and
> able to automatically mount it again.  The user can replug the storage to
> repeat the arbitration and make it visible on the host again.  So
> availability of the filesystem being shared is maximized for the device
> automatically.

This is a very good idea.  I don't have time to write a detailed review
of the patch now, though (away on vacation).

The FSG source code has seen a lot of churn in the last kernel release.  
After fixing up the issues I will point out, you probably should rebase
your patch on top of the current USB development tree, which is defined
by the patches in
 
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux