[PATCH] nandsim: Introduce debugfs infrastructure

Ezequiel Garcia elezegarcia at gmail.com
Mon Dec 3 08:19:13 EST 2012


On Mon, Dec 3, 2012 at 10:10 AM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Sat, 2012-11-24 at 22:51 -0300, Ezequiel Garcia wrote:
>> It's more user friendly to report debug information and statistics
>> through debugfs, than to use printing facilites.
>>
>> This patch introduces a very minimal debugfs infrastructure
>> and moves eraseblock wear report to an entry located at:
>>
>> /sys/kernel/debug/nandsim/wear_report
>>
>> This means we can remove rptwear option and just let
>> the user read the wear report when we needs to.
>>
>> Cc: Artem Bityutskiy <dedekind1 at gmail.com>
>> Signed-off-by: Ezequiel Garcia <elezegarcia at gmail.com>
>
> Looks good but would you please refactor it to get rid of the following
> warnings identified by aiaiai:
>

Oops, sorry. I'll send a v2 right away.

Thanks,

    Ezequiel



More information about the linux-mtd mailing list