linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC/PATCH 0/1] Add MMC write packing statistics
@ 2012-06-06  6:16 Maya Erez
  2012-06-06  6:16 ` [RFC/PATCH 1/1] mmc: block: " Maya Erez
  0 siblings, 1 reply; 5+ messages in thread
From: Maya Erez @ 2012-06-06  6:16 UTC (permalink / raw)
  To: linux-mmc; +Cc: linux-arm-msm, Maya Erez

The write packing statistics are used for the packed commands unit tests
in order to determine test success or failure

this patch is dependant in the following patches:
  [PATCH v6 1/3] mmc: core: Add packed command feature of eMMC4.5
  [PATCH v6 2/3] mmc: core: Support packed write command for eMMC4.5 device

Maya Erez (1):
  mmc: block: Add MMC write packing statistics

 drivers/mmc/card/block.c   |   56 +++++++++++++++-
 drivers/mmc/core/bus.c     |    4 +
 drivers/mmc/core/debugfs.c |  164 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/mmc/core/mmc.c     |   18 +++++
 include/linux/mmc/card.h   |   24 +++++++
 5 files changed, 265 insertions(+), 1 deletions(-)

--
1.7.3.3
-- 
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [RFC/PATCH 1/1] mmc: block: Add MMC write packing statistics
@ 2012-06-06 20:56 merez
  0 siblings, 0 replies; 5+ messages in thread
From: merez @ 2012-06-06 20:56 UTC (permalink / raw)
  To: Rahul Bedarkar; +Cc: Maya Erez, linux-mmc, linux-arm-msm, open list

>> +
>> +       for (i = 1 ; i <= max_num_of_packed_reqs ; ++i) {
> This is something magical number for iterations. why can not we start
from
> zero.
The statistics are kept in the array in the index that equals the number
of packed requests. Therefore, they are kept in the array in indexes 1 to
max num of packed reqs.
I will add a comment to explain that.

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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06  6:16 [RFC/PATCH 0/1] Add MMC write packing statistics Maya Erez
2012-06-06  6:16 ` [RFC/PATCH 1/1] mmc: block: " Maya Erez
2012-06-06  6:32   ` Rahul Bedarkar
2012-06-06 16:56     ` David Brown
  -- strict thread matches above, loose matches on Subject: below --
2012-06-06 20:56 merez

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).