From: Jean-Jacques Hiblot Date: Fri, 1 Feb 2019 15:33:35 +0100 Subject: [U-Boot] [PATCH v2 2/7] test: fs: disable the metadata checksums on ext4 filesystems In-Reply-To: <20190201143340.7663-1-jjhiblot@ti.com> References: <20190201143340.7663-1-jjhiblot@ti.com> Message-ID: <20190201143340.7663-3-jjhiblot@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de If the metadata checksums are enabled, all write operations will fail. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None 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.17.1