]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/563: allow read tolerance for f2fs in scenario 3
authorJan Prusakowski <jprusakowski@google.com>
Fri, 15 May 2026 08:26:08 +0000 (08:26 +0000)
committerZorro Lang <zlang@kernel.org>
Wed, 20 May 2026 10:26:37 +0000 (18:26 +0800)
commitd66e76fc5ab6a6f1550b09aa6904d7974da3aad8
tree301eefd778e0450e3076a042f16337d63ce541f3
parent32b4dfffbc086df51c7a16ee59086da8e5024bc6
generic/563: allow read tolerance for f2fs in scenario 3

F2FS is a log-structured file system that allocates new blocks even for
overwrites. To perform allocation, it may need to read metadata blocks
(such as the Node Address Table (NAT) or Segment Info Table (SIT)) if
they are not already in memory.

In scenario 3 (read -> read/write), unlike scenario 2, there is no prior
write in the same mount session to load these metadata blocks into memory.
Therefore, the write operation in the second cgroup triggers metadata
reads, which are charged to that cgroup.

Relax the read tolerance for f2fs in scenario 3 to accommodate these
expected metadata reads, matching the tolerance already used in scenario 2.

Signed-off-by: Jan Prusakowski <jprusakowski@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Reviewed-by: Zorro Lang <zlang@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/563