linux – 我的系统上磁盘的原子写入大小是多少?

the access_log directive的文档中,Nginx文档说

The buffer size must not exceed the size of an atomic write to a disk file.

如何确定系统的大小?

解决方法

This超级用户的答案对原子写入大小有一个很好的定义.

This is at least as large as the size of the hardware sector,which is the atomic read/write size.

相关文章

在Linux上编写运行C语言程序,经常会遇到程序崩溃、卡死等异...
git使用小结很多人可能和我一样,起初对git是一无所知的。我...
1. 操作系统环境、安装包准备 宿主机:Max OSX 10.10.5 虚拟...
因为业务系统需求,需要对web服务作nginx代理,在不断的尝试...
Linux模块机制浅析 Linux允许用户通过插入模块,实现干预内核...
一、Hadoop HA的Web页面访问 Hadoop开启HA后,会同时存在两个...