> memory.numa_migrate migrates asynchronously, so it skips the folios that
> are under writeback or locked for it when it gets to them. The
> inactive_disk_file variant dirties 1 GiB of a disk file with write
> faults, and writeback of that file is still running when the test
> migrates it, so part of the file can stay on the source node.
> 
> Populate that file with read faults instead. The file is a hole, so its
> page cache stays clean and nothing is written back. disk_file keeps
> writing to its pages while they are migrated and is left as is.
> 
> Fixes: 3842964f4497 ("selftests: cgroup: test numa migration of lruvecs")
> https://virtuozzo.atlassian.net/browse/VSTOR-154520
> Feature: fix selftests
> 
> Signed-off-by: Eva Kurchatova <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.vzint.dev/#/patchset/[email protected]?part=3


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to