All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: failure of block read wait for long time
@ 2010-07-27 11:27 ` Sukumar Ghorai
  0 siblings, 0 replies; 54+ messages in thread
From: Sukumar Ghorai @ 2010-07-27 11:27 UTC (permalink / raw)
  To: linux-mmc; +Cc: linux-arm-kernel, Sukumar Ghorai

 multi-block read failure retries in single block read one by one. It continues
 retry of subsequent blocks, even after failure. Application will not be able
 to decode the interleave data (even if few single block read success).
 This patch fixes this problem by returning at the first failure instead of
 waiting for long duration.

Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com>
---
 drivers/mmc/card/block.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index cb9fbc8..cfb0827 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -419,7 +419,6 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
 				spin_lock_irq(&md->lock);
 				ret = __blk_end_request(req, -EIO, brq.data.blksz);
 				spin_unlock_irq(&md->lock);
-				continue;
 			}
 			goto cmd_err;
 		}

^ permalink raw reply related	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2010-09-29  5:59 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-27 11:27 [PATCH] mmc: failure of block read wait for long time Sukumar Ghorai
2010-07-27 11:27 ` Sukumar Ghorai
2010-07-27 13:22 ` Adrian Hunter
2010-07-27 13:22   ` Adrian Hunter
2010-07-27 13:32   ` Ghorai, Sukumar
2010-07-27 13:32     ` Ghorai, Sukumar
2010-07-28  8:41     ` Adrian Hunter
2010-07-28  8:41       ` Adrian Hunter
2010-09-10 11:30       ` Ghorai, Sukumar
2010-09-10 11:30         ` Ghorai, Sukumar
2010-09-10 11:43         ` Adrian Hunter
2010-09-10 11:43           ` Adrian Hunter
2010-09-10 11:48           ` Ghorai, Sukumar
2010-09-10 11:48             ` Ghorai, Sukumar
2010-09-10 13:02             ` Adrian Hunter
2010-09-10 13:02               ` Adrian Hunter
2010-09-14  5:15               ` Ghorai, Sukumar
2010-09-14  5:15                 ` Ghorai, Sukumar
2010-09-20  7:54                 ` Adrian Hunter
2010-09-20  7:54                   ` Adrian Hunter
2010-09-20  8:57                   ` Ghorai, Sukumar
2010-09-20  8:57                     ` Ghorai, Sukumar
2010-09-20 11:49                     ` Adrian Hunter
2010-09-20 11:49                       ` Adrian Hunter
2010-09-20 12:37                       ` Ghorai, Sukumar
2010-09-20 12:37                         ` Ghorai, Sukumar
2010-09-20 13:09                         ` Adrian Hunter
2010-09-20 13:09                           ` Adrian Hunter
2010-09-20 13:25                           ` Ghorai, Sukumar
2010-09-20 13:25                             ` Ghorai, Sukumar
2010-09-20 13:37                           ` Russell King - ARM Linux
2010-09-20 13:37                             ` Russell King - ARM Linux
2010-09-22  5:32                             ` Ghorai, Sukumar
2010-09-22  5:32                               ` Ghorai, Sukumar
2010-09-22 12:43                               ` Chris Ball
2010-09-22 12:43                                 ` Chris Ball
2010-09-22 12:51                                 ` Ghorai, Sukumar
2010-09-22 12:51                                   ` Ghorai, Sukumar
2010-09-24 14:35                                 ` Ghorai, Sukumar
2010-09-24 14:35                                   ` Ghorai, Sukumar
2010-09-28 15:03                                 ` Ghorai, Sukumar
2010-09-28 15:03                                   ` Ghorai, Sukumar
2010-09-28 18:32                                   ` Adrian Hunter
2010-09-28 18:32                                     ` Adrian Hunter
2010-09-28 18:59                                     ` Ghorai, Sukumar
2010-09-28 18:59                                       ` Ghorai, Sukumar
2010-09-28 20:05                                       ` Adrian Hunter
2010-09-28 20:05                                         ` Adrian Hunter
2010-09-29  5:59                                         ` Ghorai, Sukumar
2010-09-29  5:59                                           ` Ghorai, Sukumar
2010-08-27 20:59 ` Chris Ball
2010-08-27 20:59   ` Chris Ball
2010-08-30 19:09   ` Ghorai, Sukumar
2010-08-30 19:09     ` Ghorai, Sukumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.