[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87k3tpkz53.fsf@octavius.laptop.org>
Date: Tue, 13 Nov 2012 15:48:24 -0500
From: Chris Ball <cjb@...top.org>
To: Trey Ramsay <tramsay@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org,
Rich Rattanni <rattanni@...il.com>,
Radovan Lekanovic <lekanovic@...il.com>
Subject: Re: drivers/mmc/card/block.c infinite loop in mmc_blk_err_check waiting on R1_READY_FOR_DATA
Hi Trey,
On Tue, Nov 13 2012, Trey Ramsay wrote:
> Thanks Chris. Any idea how long the timeout should be? It could
> cause problems if we timeout to early. This what I have so far with a
> 10 minute timeout. The code is based off of v3.7-rc3
Ten minutes sounds excessive, which is actually fine for our purpose; I
don't think we need to make the value tunable. Thanks! Please can you:
* resend in plain text instead of HTML, with no line-wrapping corrupting
the patch
* include a commit message and "Signed-off-by" (see SubmittingPatches
in the Documentation/ directory)
* change the pr_err()s to include the MMC hostname, and give an English
description of the error instead of the line number -- most users
don't have their kernel source available to find line numbers in.
Something like "Card stuck in programming state!" sounds good.
After that, I'll merge the patch for testing.
Thanks,
- Chris.
--
Chris Ball <cjb@...top.org> <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists