iscsid can be sleeping in iscsi_ioctl() causing the destroy_dev() to
sleep forever if iscsi.ko is unloaded while iscsid is running.
Reported by: Jithesh Arakkan @ Chelsio
MFC after: 1 week
Sponsored by: Chelsio Communications
Differential D29688
iscsi: Kick threads out of iscsi_ioctl() during unload. jhb on Apr 10 2021, 12:00 AM. Authored by Tags None Referenced Files
Subscribers
Details
iscsid can be sleeping in iscsi_ioctl() causing the destroy_dev() to Reported by: Jithesh Arakkan @ Chelsio
Diff Detail
Event TimelineComment Actions To reproduce, just kldunload iscsi while iscsid is running. The kldunload will hang in "devdrn" inside of destroy_dev().
|