]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
generic/066: attr1 is still there after log replay on f2fs
authorSun Ke <sunke32@huawei.com>
Wed, 23 Mar 2022 08:37:24 +0000 (16:37 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 10 Apr 2022 15:18:14 +0000 (23:18 +0800)
commitd019cd411869e44b6880c09757de299729396e75
tree40368e5d10f98bf219b1f15ff151f2853984d6fd
parentb5660918c9826f62934469b3b61d9e1c920288d3
generic/066: attr1 is still there after log replay on f2fs

The test fail on f2fs:
     xattr names and values after second fsync log replay:
     # file: SCRATCH_MNT/foobar
    +user.attr1="val1"
     user.attr3="val3"

attr1 is still there after log replay. f2fs doesn't support fs-op level
transaction functionality. so it have no way to persist all metadata
updates in one transaction.  We can use "fastboot" mountoption for this
case, so during last fsync on qwerty, f2fs can trigger a checkpoint
which will persist all metadata updates before fsync().

Suggested-by: Chao Yu <chao@kernel.org>
Signed-off-by: Sun Ke <sunke32@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/066