Re: [git patches] libata updates for 2.6.37

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tejun Heo
Date: Thursday, December 2, 2010 - 3:17 am

On 12/01/2010 09:09 PM, Kyle McMartin wrote:

Hmmm... something is setting EH_PENDING while EH is in progress.
Let's see what's doing it.  Can you please apply the following patch
on top of the previous one and report the kernel log?

Thanks.

diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 5e59050..8f0d854 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -896,6 +896,10 @@ static void ata_eh_set_pending(struct ata_port *ap, int fastdrain)

 	ap->pflags |= ATA_PFLAG_EH_PENDING;

+	ata_port_printk(ap, KERN_WARNING, "XXX SET EH PENDING, fastdrain=%d\n",
+			fastdrain);
+	dump_stack();
+
 	if (!fastdrain)
 		return;

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git patches] libata updates for 2.6.37, Jeff Garzik, (Thu Oct 21, 6:23 pm)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Mon Nov 29, 11:07 am)
Re: [git patches] libata updates for 2.6.37, Tejun Heo, (Tue Nov 30, 7:13 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Tue Nov 30, 8:38 am)
Re: [git patches] libata updates for 2.6.37, Tejun Heo, (Tue Nov 30, 9:29 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Tue Nov 30, 9:31 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Tue Nov 30, 10:53 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Tue Nov 30, 2:09 pm)
Re: [git patches] libata updates for 2.6.37, Tejun Heo, (Wed Dec 1, 4:17 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Wed Dec 1, 5:44 am)
Re: [git patches] libata updates for 2.6.37, Tejun Heo, (Wed Dec 1, 7:19 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Wed Dec 1, 8:50 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Wed Dec 1, 1:09 pm)
Re: [git patches] libata updates for 2.6.37, Tejun Heo, (Thu Dec 2, 3:17 am)
debug kernel using two laptops without serial port, Stanley Gan, (Thu Dec 2, 5:56 am)
Re: debug kernel using two laptops without serial port, Borislav Petkov, (Thu Dec 2, 6:17 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Thu Dec 2, 2:23 pm)
Re: [git patches] libata updates for 2.6.37, Tejun Heo, (Fri Dec 3, 3:10 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Fri Dec 3, 4:59 am)
Re: [git patches] libata updates for 2.6.37, Kyle McMartin, (Mon Dec 6, 9:07 am)
Re: [git patches] libata updates for 2.6.37, Tejun Heo, (Mon Dec 6, 10:46 am)