generic: adjust strict SPO recovery testcases for f2fs
authorChao Yu <chao@kernel.org>
Sat, 21 May 2022 03:16:21 +0000 (11:16 +0800)
committerZorro Lang <zlang@kernel.org>
Thu, 2 Jun 2022 12:39:35 +0000 (20:39 +0800)
commitd9d729cf021a9a43ccda0dbceb901dc253e60070
tree639dcea192527878e592cc4adb4b4725b9a68b64
parentd3cc66012a287b6db81aad408b6970a4a96a67da
generic: adjust strict SPO recovery testcases for f2fs

Testcases like generic 342/502/526/527 expect that filesystems will
recover all related metadata changes to the file which was fsynced
before sudden power off.

This patch adjusts to use "fsync_mode=strict" mountoption for f2fs
to pass these testcases.

Signed-off-by: Chao Yu <chao@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/342
tests/generic/502
tests/generic/526
tests/generic/527