Mercurial > hg > nginx-quic
annotate auto/have_headers @ 4516:b927410d9638 stable-1.0
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).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 05 Mar 2012 13:20:40 +0000 |
parents | 4919fb357a5d |
children |
rev | line source |
---|---|
509 | 1 |
2 # Copyright (C) Igor Sysoev | |
4450
4919fb357a5d
Merge of r4406, r4413: copyrights updated.
Maxim Dounin <mdounin@mdounin.ru>
parents:
509
diff
changeset
|
3 # Copyright (C) Nginx, Inc. |
509 | 4 |
5 | |
6 cat << END >> $NGX_AUTO_HEADERS_H | |
7 | |
8 #ifndef $have | |
9 #define $have 1 | |
10 #endif | |
11 | |
12 END |