Re: [RFC PATCH 1/1] scsi: sd: associate sd_probe_domain with scsi_disk

2019-04-08 Thread Jin Cai
Hi, Bart It seems that the commit 21e6ba3 in branch 5.2/scsi-queue has addressed the deadlock issue we encountered. We will backport that patch to our kernel version and verify it with our test cases. Thanks Best regards On Sun, Apr 7, 2019 at 12:00 PM Bart Van Assche wrote: >

Re: [RFC PATCH 1/1] scsi: sd: associate sd_probe_domain with scsi_disk

2019-04-06 Thread Bart Van Assche
On 4/4/19 4:04 PM, Ming Lin wrote: async_synchronize_full_domain(&scsi_sd_pm_domain); - async_synchronize_full_domain(&scsi_sd_probe_domain); + async_synchronize_full_domain(&sdkp->sd_probe_domain); device_del(&sdkp->dev); del_gendisk(sdkp->disk); SCSI patche

[RFC PATCH 1/1] scsi: sd: associate sd_probe_domain with scsi_disk

2019-04-04 Thread Ming Lin
From: "wangqiang (AY)" sd_remove() waits for the completion of async threads executing sd_probe_async of disks on unrelated host adapters, rather than just the the async thread associated with the scsi_disk being removed. This patch makes sd_remove() just wait for the the async thread associat