Re: [REPOST PATCH] scsi: ses: don't ask for diagnostic pages repeatedly during probe

2017-11-21 Thread Jason Ozolins
Supporting info for the use case this patch addresses: On 14/11/2017 10:48, Li Dongyang wrote: > We are testing if there is a match with the ses device in a loop > by calling ses_match_to_enclosure(), which will issue scsi receive > diagnostics commands to the ses device for every device on the >

[REPOST PATCH] scsi: ses: don't ask for diagnostic pages repeatedly during probe

2017-11-13 Thread Li Dongyang
We are testing if there is a match with the ses device in a loop by calling ses_match_to_enclosure(), which will issue scsi receive diagnostics commands to the ses device for every device on the same host. On one of our boxes with 840 disks, it takes a long time to load the driver: