http://bugzilla.kernel.org/show_bug.cgi?id=11898 ------- Comment #13 from yanmin_zhang@xxxxxxxxxxxxxxx 2008-11-04 18:56 ------- So the scenario is during the first pass, the first sdev is moved away from the list and processed successfully (Not added back). Then, the second one in the list will cause the dead loop. So just do if (list_empty(&sdev->starved_entry) && sdev == starved_head) { starved_head = NULL; } in the tail of the while in function scsi_run_queue. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html