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


from nginx config file readme:

access_log:

an optional third parameter indicates size of buffer

if write buffering used, size cannot exceed size of atomic disk write filesystem.

this depends on filesystem being used. referring stat.blksize filesystem attribute.

from stat(2) manual page:

       struct stat {             /* ... */             blksize_t st_blksize;     /* blocksize filesystem i/o */ 

the -f option stat(1) appears display information, , on linux box, shows 4096 block size.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -