Mercurial > hg > nginx
comparison src/os/unix/ngx_files.h @ 3294:04cfc09b8b8d
export aio presence knowledge to prevent using "aio sendfile",
if aio does not present
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 05 Nov 2009 13:12:30 +0000 |
parents | c5af9f73c664 |
children | e19df6e65352 |
comparison
equal
deleted
inserted
replaced
3293:8abb88374c6c | 3294:04cfc09b8b8d |
---|---|
311 #if (NGX_HAVE_FILE_AIO) | 311 #if (NGX_HAVE_FILE_AIO) |
312 | 312 |
313 ssize_t ngx_file_aio_read(ngx_file_t *file, u_char *buf, size_t size, | 313 ssize_t ngx_file_aio_read(ngx_file_t *file, u_char *buf, size_t size, |
314 off_t offset, ngx_pool_t *pool); | 314 off_t offset, ngx_pool_t *pool); |
315 | 315 |
316 extern ngx_uint_t ngx_file_aio; | |
317 | |
316 #endif | 318 #endif |
317 | 319 |
318 | 320 |
319 #endif /* _NGX_FILES_H_INCLUDED_ */ | 321 #endif /* _NGX_FILES_H_INCLUDED_ */ |