On Tue, 2018-10-02 at 14:52 -0700, Bart Van Assche wrote: > Hello Martin, > > During the 2018 edition of LSF/MM there was a session about > increasing SCSI > disk probing concurrency. This patch series implements what has been > proposed > during that session, namely: > - Make sure that the driver core is aware of asynchronous SCSI LUN > probing. > - Avoid unnecessary serialization between sd_probe() and sd_remove() > because > this could lead to a deadlock. > > Please consider this patch series for kernel v4.20. > > Thanks, > > Bart. > > Bart Van Assche (3): > sd: Rely on the driver core for asynchronous probing > sd: Inline sd_probe_part2() > __device_release_driver(): Do not wait for asynchronous probing > > drivers/base/dd.c | 3 -- > drivers/scsi/scsi.c | 14 ----- > drivers/scsi/scsi_pm.c | 22 +------- > drivers/scsi/scsi_priv.h | 3 -- > drivers/scsi/sd.c | 110 ++++++++++++++++--------------------- > -- > 5 files changed, 46 insertions(+), 106 deletions(-) > I ran multiple tests for two days using the series from Bart's tree on the SRP test bed here. Multiple disconnects/reconnects during heavy IO activity on 32 SRP 64 LUNS/ 32 mpaths with no issues seen with probes and reconnects. For the series. Tested-by: Laurence Oberman <loberman@xxxxxxxxxx>