Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752959Ab2FLA2r (ORCPT ); Mon, 11 Jun 2012 20:28:47 -0400 Received: from mail-vc0-f174.google.com ([209.85.220.174]:37298 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752762Ab2FLA2p (ORCPT ); Mon, 11 Jun 2012 20:28:45 -0400 MIME-Version: 1.0 In-Reply-To: References: <1338576911-17089-1-git-send-email-merez@codeaurora.org> <1338576911-17089-2-git-send-email-merez@codeaurora.org> Date: Mon, 11 Jun 2012 17:28:44 -0700 Message-ID: Subject: Re: [PATCH v2 1/1] mmc: block: Add write packing control From: Muthu Kumar To: Maya Erez Cc: linux-mmc@vger.kernel.org, linux-arm-msm@vger.kernel.org, "open list:DOCUMENTATION" , open list Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 27 On Mon, Jun 11, 2012 at 2:19 PM, Muthu Kumar wrote: > On Fri, Jun 1, 2012 at 11:55 AM, Maya Erez wrote: >> The write packing control will ensure that read requests latency is >> not increased due to long write packed commands. >> >> The trigger for enabling the write packing is managing to pack several >> write requests. The number of potential packed requests that will trigger >> the packing can be configured via sysfs by writing the required value to: >> /sys/block//num_wr_reqs_to_start_packing. >> The trigger for disabling the write packing is fetching a read request. >> > > If it is applicable only to MMC why do we have this sysfs attr for all > block devices? Just to be clear, please create a directory, say mmc, under /sys/block// and create the attr inside that. You can refer to dm (dm-sysfs.c) for sample implementation. Regards, Muthu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/