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.