Re: [PATCH] USB: storage: avoid scanning other targets for single target device

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

 



Let me try this again...

It looks fine to me.

Acked-by: Matthew Dharm <mdharm-usb@xxxxxxxxxxxxxxxxxx>

 Matt

On Sat, Jan 19, 2013 at 10:47 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, 19 Jan 2013, Ming Lei wrote:
>
>> This patch sets scsi_host->max_id as 1 if the device's quirk
>> flag of US_FL_SCM_MULT_TARG isn't set, because there are only 6
>> mass storage devices marked as mutiple targets from unusual_devs.h.
>>
>> This patch is a small optimization about scanning targets, and
>> avoid scanning other 7 non-existed targets for single target
>> device.
>>
>> Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxxxxx>
>
> This seems like a good optimization.  Of course, it's up to Matt.
>
> Alan Stern
>



-- 
Matthew Dharm
Maintainer, USB Mass Storage driver for Linux
--
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