Hi,

I have this in a btrfs directory. Linux kernel 5.10.16, no errors in dmesg, no 
scrub errors:

ls -lh
total 19G
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
-rwxr-x--- 1 root     root      783 Mar 10 14:56 disk_config.dat
...

disk_config.dat gets written to using fsync rename ( write new version to 
disk_config.dat.new, fsync disk_config.dat.new, then rename to disk_config.dat 
-- it is missing the parent directory fsync).

So far no negative consequences... (except that programs might get confused).

echo 3 > /proc/sys/vm/drop_caches doesn't help.

Regards,
Martin Raiber

Reply via email to