From 5cfc73e6e29f37a3a8daf5fd28bc4d5d015f778c Mon Sep 17 00:00:00 2001 From: Jean-Jacques Hiblot Date: Wed, 13 Feb 2019 12:15:22 +0100 Subject: [PATCH] test: fs: disable the metadata checksums on ext4 filesystems If the metadata checksums are enabled, all write operations will fail. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- test/py/tests/test_fs/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/py/tests/test_fs/conftest.py b/test/py/tests/test_fs/conftest.py index 43eeb4be0b..745ed0ed38 100644 --- a/test/py/tests/test_fs/conftest.py +++ b/test/py/tests/test_fs/conftest.py @@ -143,6 +143,8 @@ def mk_fs(config, fs_type, size, id): mkfs_opt = '-F 16' elif fs_type == 'fat32': mkfs_opt = '-F 32' + elif fs_type == 'ext4': + mkfs_opt = '-O ^metadata_csum' else: mkfs_opt = '' -- 2.39.5