From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugme-daemon@bugzilla.kernel.org
Subject: [Bug 11898] mke2fs hang on AIC79 device.
Date: Tue, 4 Nov 2008 18:56:55 -0800 (PST)
Message-ID: <20081105025655.59EE9108048@picon.linux-foundation.org>
References:
Return-path:
Received: from smtp1.linux-foundation.org ([140.211.169.13]:45333 "EHLO
smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK)
by vger.kernel.org with ESMTP id S1752765AbYKEC46 (ORCPT
); Tue, 4 Nov 2008 21:56:58 -0500
Received: from picon.linux-foundation.org (picon.linux-foundation.org [140.211.169.79])
by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id mA52ut6s009217
for ; Tue, 4 Nov 2008 18:56:56 -0800
In-Reply-To:
Sender: linux-scsi-owner@vger.kernel.org
List-Id: linux-scsi@vger.kernel.org
To: linux-scsi@vger.kernel.org
http://bugzilla.kernel.org/show_bug.cgi?id=11898
------- Comment #13 from yanmin_zhang@linux.intel.com 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.