Re: [PATCH v2 1/3] selftests/zram: Skip max_comp_streams interface on newer kernel

From: Shuah Khan
Date: Thu Jan 27 2022 - 13:05:42 EST


On 1/27/22 2:11 AM, Yang Xu wrote:
Since commit 43209ea2d17a ("zram: remove max_comp_streams internals"), zram
has switched to per-cpu streams. Even kernel still keep this interface for
some reasons, but writing to max_comp_stream doesn't take any effect. So
skip it on newer kernel ie 4.7.

The code that comparing kernel version is from xfstests testsuite ext4/053.

Signed-off-by: Yang Xu <xuyang2018.jy@xxxxxxxxxxx>
---

Thank you. This and the other 2 patches are in linux-kselftest fixes branch
for rc3.

thanks,
-- Shuah