zhao, forrest wrote:
Doing scsi_rescan_device() in SCSI EH thread caused my machine with 1 logical CPU to hang(it stopped responding, user can't login locally or remotely, and it can only respond to "ping".) So I think scsi_rescan_device() is prohibited from being invoked in SCSI EH thread.
Yup, that's how it works, as I also discovered when the qstor.c driver became the first user of the "new" SCSI EH logic two years ago. Cheers - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html