什么是Linux文件系统的“原子磁盘写入”?
发布时间:2020-12-13 22:57:29 所属栏目:Linux 来源:网络整理
导读:从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. 解决方法 这实际上取决于所使用的文
从nginx配置文件自述文件:
解决方法
这实际上取决于所使用的文件系统.这可能是指stat.blksize文件系统属性.
从stat(2)手册页: struct stat { /* ... */ blksize_t st_blksize; /* blocksize for filesystem I/O */ stat(1)的-f选项似乎显示此信息,在我的Linux框中,它显示4096作为块大小. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |