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

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -