Linux 文件系统的 "atomic disk write" 是什么?

What's the "atomic disk write" for a Linux filesystem?

来自 nginx 配置文件自述文件:

access_log:

An optional third parameter indicates the size of the buffer

If write buffering is used, this size cannot exceed the size of the atomic disk write for that filesystem.

这实际上取决于所使用的文件系统。这可能是指 stat.blksize 文件系统属性。

来自 stat(2) 手册页:

       struct stat {

           /* ... */

           blksize_t st_blksize;     /* blocksize for filesystem I/O */

stat(1) 的 -f 选项似乎显示此信息,在我的 Linux 框中,它显示 4096 作为块大小。