diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-05 13:20:40 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-03-05 13:20:40 +0000 |
| commit | 1b6a7864a1777b070851fead7626fb21862932b3 (patch) | |
| tree | 4326f8cffcf6d4cafbde114ab8a35bd216203eb1 /src/http/modules/ngx_http_log_module.c | |
| parent | 0ffc4c3218a2a1ca45405754c86221d295d00dd1 (diff) | |
| download | nginx-1b6a7864a1777b070851fead7626fb21862932b3.tar.gz nginx-1b6a7864a1777b070851fead7626fb21862932b3.tar.bz2 | |
Merge of r4499: workaround for fs_size on ZFS (ticket #46).
ZFS reports incorrect st_blocks until file settles on disk, and this
may take a while (i.e. just after creation of a file the st_blocks value
is incorrect). As a workaround we now use st_blocks only if
st_blocks * 512 > st_size, this should fix ZFS problems while still
preserving accuracy for other filesystems.
The problem had appeared in r3900 (1.0.1).
Diffstat (limited to 'src/http/modules/ngx_http_log_module.c')
0 files changed, 0 insertions, 0 deletions
