From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755230Ab1KQCCk (ORCPT ); Wed, 16 Nov 2011 21:02:40 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:11784 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754749Ab1KQCCi convert rfc822-to-8bit (ORCPT ); Wed, 16 Nov 2011 21:02:38 -0500 X-AuditID: cbfee61a-b7cf1ae00000208e-a6-4ec46b2e95e4 From: Seungwon Jeon To: merez@codeaurora.org Cc: "'S, Venkatraman'" , linux-mmc@vger.kernel.org, "'Chris Ball'" , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, dh.han@samsung.com References: <620ec9ffa6bdbba9ae5f76998e36f8dc.squirrel@www.codeaurora.org> <001001cca043$395dbfc0$ac193f40$%jun@samsung.com> <001e01cca2b2$3b449310$b1cdb930$%jun@samsung.com> In-reply-to: Subject: RE: [PATCH 2/2] mmc: core: Support packed command for eMMC4.5 device Date: Thu, 17 Nov 2011 11:02:21 +0900 Message-id: <004901cca4cc$f18d6180$d4a82480$%jun@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=Windows-1252 Content-transfer-encoding: 8BIT X-Mailer: Microsoft Office Outlook 12.0 Thread-index: AcyjlNiFtpxGwqr2TuCHP9zTPKPZxQBNw+qw Content-language: ko X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Maya Erez wrote: > >> >>> >> >> > +       if (rqc) > >> >>> >> >> > +               reqs = mmc_blk_chk_packable(mq, rqc); > >> >>> > >> >>> It would be best to keep all the calls to blk_fetch_request in the > >> same > >> >>> location. Therefore, I suggest to move the call to > >> mmc_blk_chk_packable > >> >>> to > >> >>> mmc/card/queue.c after the first request is fetched. > >> >> > >> >> At the first time, I considered that way. > >> >> I'll do more, if possible. > > I considered more. > > I think that mmc_blk_chk_packable would rather be called only for r/w type > > than all request type(e.g. discard, flush). > > > mmc_blk_chk_packable can check the cmd_flags of the request to verify it's > not a flush/disacrad etc. In such cases will not pack. Yes. It must be checked, but omitted. I already have added this check. It will be applied next. Thanks, Seungwon Jeon. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html