linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v6 2/3] mmc: core: Support packed write command for      eMMC4.5 device
@ 2012-05-31 19:18 merez
  2012-06-01  5:51 ` Seungwon Jeon
  0 siblings, 1 reply; 9+ messages in thread
From: merez @ 2012-05-31 19:18 UTC (permalink / raw)
  To: Seungwon Jeon; +Cc: linux-mmc, 'Chris Ball', merez, linux-kernel

> @@ -1313,10 +1609,17 @@ static int mmc_blk_issue_rw_rq(struct mmc_queue
*mq, struct request *rqc)
>  			 * A block was successfully transferred.
>  			 */
>  			mmc_blk_reset_success(md, type);
> -			spin_lock_irq(&md->lock);
> -			ret = __blk_end_request(req, 0,
> +
> +			if (mq_rq->packed_cmd != MMC_PACKED_NONE) {
> +				ret = mmc_blk_end_packed_req(mq, mq_rq);
If a specific request in the packed request consistantly fails, there is
nothing to stop us from sending the same packed request in an endless
loop.
> +				break;

Thanks,
Maya Erez
Consultant for Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum





^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <Ac00EUo+2nBqzILnT1exc3J2o9DRYg==>]

end of thread, other threads:[~2012-06-05 20:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-31 19:18 [PATCH v6 2/3] mmc: core: Support packed write command for eMMC4.5 device merez
2012-06-01  5:51 ` Seungwon Jeon
2012-06-01 16:45   ` merez
2012-06-04 11:01     ` Seungwon Jeon
2012-06-05 20:05       ` merez
     [not found] <Ac00EUo+2nBqzILnT1exc3J2o9DRYg==>
2012-05-17  9:41 ` Seungwon Jeon
2012-05-20 11:32   ` merez
2012-05-31  8:01   ` S, Venkatraman
2012-06-01  5:48     ` Seungwon Jeon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).