• SeongJae Park's avatar
    selftests/damon/_damon_sysfs: support DAMOS quota · faf4977e
    SeongJae Park authored
    Patch series "selftests/damon: add more tests for core functionalities and
    corner cases".
    
    Continue DAMON selftests' test coverage improvement works with a trivial
    improvement of the test code itself.  The sequence of the patches in
    patchset is as follows.
    
    The first five patches add two DAMON core functionalities tests.  Those
    begins with three patches (patches 1-3) that update the test-purpose DAMON
    sysfs interface wrapper to support DAMOS quota, stats, and apply interval
    features, respectively.  The fourth patch implements and adds a selftest
    for DAMOS quota feature, using the DAMON sysfs interface wrapper's newly
    added support of the quota and the stats feature.  The fifth patch further
    implements and adds a selftest for DAMOS apply interval using the DAMON
    sysfs interface wrapper's newly added support of the apply interval and
    the stats feature.
    
    Two patches (patches 6 and 7) for implementing and adding two corner cases
    handling selftests follow.  Those try to avoid two previously fixed bugs
    from recurring.
    
    Finally, a patch for making DAMON debugfs selftests dependency checker to
    use /proc/mounts instead of the hard-coded mount point assumption follows.
    
    
    This patch (of 8):
    
    Update the test-purpose DAMON sysfs control Python module to support DAMOS
    quota.
    
    Link: https://lkml.kernel.org/r/20240207203134.69976-1-sj@kernel.org
    Link: https://lkml.kernel.org/r/20240207203134.69976-2-sj@kernel.orgSigned-off-by: default avatarSeongJae Park <sj@kernel.org>
    Cc: Shuah Khan <shuah@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    faf4977e
_damon_sysfs.py 10.4 KB