Re: [PATCHv6 3/3] mmc_test: collect data and show it via sysfs by demand

From: Andy Shevchenko
Date: Wed Sep 08 2010 - 05:09:08 EST


On Wed, Sep 8, 2010 at 1:27 AM, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>> Here is a patch which brings possibility to get test results via sysfs. It
>> helps to do tests non-interactively.
>>
>> We have the file created under sysfs already and we could use it to out test
>> results.
>
> So what we end up with is extremely thin. ÂSomething about adding
> something to sysfs.
Yeah, agree with you. How to proceed with commit messages?
Should I make newer version of this certain patch with updated commit message?

> This is not enough! ÂYou're proposing an addition to the kernel->user
> ABI. ÂPlease fully describe this interface so that we can understand
> and review it. ÂWhat are the names of these sysfs files? ÂWhat do they
> do?
The sysfs file already exists for me as for feature contributor. I
think I could issue separate
patch to update documentation part.

> Provide us with example output in the changelog so we can see for
> ourselves.
Will do.

> Please consider documenting the thing in a permanent documentation
> file. Â(I don't believe that Documentation/ABI/ is appropriate, given
> mmc_test's scope).
Adrian pointed me once to some standalone documentation about this stuff.
I will talk to him how we could use this and apply to kernel.

> afacit the only useful info we have about mmc_test is
>
> Â Â Â Âhelp
> Â Â Â Â ÂDevelopment driver that performs a series of reads and writes
> Â Â Â Â Âto a memory card in order to expose certain well known bugs
> Â Â Â Â Âin host controllers. The tests are executed by writing to the
> Â Â Â Â Â"test" file in sysfs under each card. Note that whatever is
> Â Â Â Â Âon your card will be overwritten by these tests.
>
> Â Â Â Â ÂThis driver is only of interest to those developing or
> Â Â Â Â Âtesting a host driver. Most people should say N here.
>
> which I guess is good enough, given the smallness and sophistication of
> its users. ÂIt could be improved on though!
Ok.
Thanks.

--
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/