Re: xfstest warning on all tests when running with memory debugging in kernel config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 19, 2018 at 12:55 AM Steve French <smfrench@xxxxxxxxx> wrote:
>
> Running with kmemdebug on in the kernel config  I get this warning
> before and after all non-skipped xfstests
>
> Any idea how to get rid of it?
>
> generic/001 4s ...
> ./common/rc: line 3491: echo: write error: Device or resource busy
> ./common/rc: line 3493: echo: write error: Device or resource busy
> ...
>
> Basically it is doing (which returns an error when debugging enabled
> in the kernel).  I am running xfstest as root
>
> echo "scan" > "${DEBUGFS_MNT}/kmemleak"
>
> Ideas?

Please try this patch to see if it works for you and if not, maybe you
can figure
out why not:
https://marc.info/?l=fstests&m=153726750413543&w=2

I ended up enabling kmemleak, which led to catching a memory leak,
so I'm happy with that :)

Thanks,
Amir.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux