История изменений
Исправление u5er, (текущая версия) :
нормальные
нормальном
Получаешь клоуна за использование этого слова без указания керитериев.
теперь или и почитай нормальные маны на нормальном языке
https://man7.org/linux/man-pages/man2/fsync.2.html
https://man.archlinux.org/man/fsync.2.ru
$ man 2 fsync
...
HISTORY
POSIX.1-2001, 4.2BSD.
In Linux 2.2 and earlier, fdatasync() is equivalent to fsync(), and so
has no performance advantage.
The fsync() implementations in older kernels and lesser used
filesystems do not know how to flush disk caches. In these cases disk
caches need to be disabled using hdparm(8) or sdparm(8) to guarantee
safe operation.
Under AT&T UNIX System V Release 4 fd needs to be opened for writing.
This is by itself incompatible with the original BSD interface and
forbidden by POSIX, but nevertheless survives in HP-UX and AIX.
...
Так или иначе, приписка про тонкость с кешем есть во всех манах.
Исходная версия u5er, :
нормальные
нормальном
Получаешь клоуна за использование этого слова без указания керитериев.
теперь или и почитай нормальные маны на нормальном языке
https://man7.org/linux/man-pages/man2/fsync.2.html
https://man.archlinux.org/man/fsync.2.ru
$ man 2 fsync
...
HISTORY
POSIX.1-2001, 4.2BSD.
In Linux 2.2 and earlier, fdatasync() is equivalent to fsync(), and so
has no performance advantage.
The fsync() implementations in older kernels and lesser used
filesystems do not know how to flush disk caches. In these cases disk
caches need to be disabled using hdparm(8) or sdparm(8) to guarantee
safe operation.
Under AT&T UNIX System V Release 4 fd needs to be opened for writing.
This is by itself incompatible with the original BSD interface and
forbidden by POSIX, but nevertheless survives in HP-UX and AIX.
...
Так или иначе, приписка про тонкость с кешем е6сть во всех манах.