[dm-devel] [RFC PATCH 0/3] md: export internal stats through debugfs

Song Liu liu.song.a23 at gmail.com
Wed Jul 31 21:07:43 UTC 2019


On Fri, Jul 26, 2019 at 10:48 PM Hou Tao <houtao1 at huawei.com> wrote:
>
> Hi,
>
[...]
> >
> > Hi,
> >
> > Sorry for the late reply.
> >
> > I think these information are really debug information that we should not
> > show in /sys. Once we expose them in /sys, we need to support them
> > because some use space may start searching data from them.
> So debugfs is used to place these debug information instead of sysfs.

I don't think we should dump random information into debugfs. It is common
for the developers to carry some local patches that dumps information for
debug. We cannot get these patches upstream.

Thanks,
Song




More information about the dm-devel mailing list