<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nginx.git/src/core/ngx_file.h, branch release-1.28.3</title>
<subtitle>nginx</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/'/>
<entry>
<title>Modules compatibility: compatibility with NGX_HAVE_FILE_AIO.</title>
<updated>2016-10-10T15:44:17+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2016-10-10T15:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=844c78556bc93343dd1c3c9236b5c16f4e2eac39'/>
<id>844c78556bc93343dd1c3c9236b5c16f4e2eac39</id>
<content type='text'>
With this change it is now possible to load modules compiled without
the "--with-file-aio" configure option into nginx binary compiled with it,
and vice versa, assuming both use the "--with-compat" option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With this change it is now possible to load modules compiled without
the "--with-file-aio" configure option into nginx binary compiled with it,
and vice versa, assuming both use the "--with-compat" option.
</pre>
</div>
</content>
</entry>
<entry>
<title>Modules compatibility: compatibility with NGX_THREADS.</title>
<updated>2016-10-10T15:44:17+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2016-10-10T15:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=9f6e8673f40f7532bf3059bda41e05b545520dd3'/>
<id>9f6e8673f40f7532bf3059bda41e05b545520dd3</id>
<content type='text'>
With this change it is now possible to load modules compiled without
the "--with-threads" configure option into nginx binary compiled with it,
and vice versa (if a module does not use thread-specific functions),
assuming both use the "--with-compat" option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With this change it is now possible to load modules compiled without
the "--with-threads" configure option into nginx binary compiled with it,
and vice versa (if a module does not use thread-specific functions),
assuming both use the "--with-compat" option.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cache: cache manager limits.</title>
<updated>2016-10-05T11:22:30+00:00</updated>
<author>
<name>Dmitry Volyntsev</name>
<email>xeioex@nginx.com</email>
</author>
<published>2016-10-05T11:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=b072a6957c97ca7c33a64b1a34f7b66c6e209acf'/>
<id>b072a6957c97ca7c33a64b1a34f7b66c6e209acf</id>
<content type='text'>
The new parameters "manager_files", "manager_sleep"
and "manager_threshold" were added to proxy_cache_path
and friends.

Note that ngx_path_manager_pt was changed to return ngx_msec_t
instead of time_t (API change).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new parameters "manager_files", "manager_sleep"
and "manager_threshold" were added to proxy_cache_path
and friends.

Note that ngx_path_manager_pt was changed to return ngx_msec_t
instead of time_t (API change).
</pre>
</div>
</content>
</entry>
<entry>
<title>Modules compatibility: cache purge fields.</title>
<updated>2016-09-29T15:06:01+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2016-09-29T15:06:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=27c8065e7b713dfa44ca52616c55987a41e25788'/>
<id>27c8065e7b713dfa44ca52616c55987a41e25788</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use NGX_MAX_PATH_LEVEL where appropriate.</title>
<updated>2016-07-06T10:22:29+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@nginx.com</email>
</author>
<published>2016-07-06T10:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=6810b9f14850a7c8aa9becf76236dcf212d088ea'/>
<id>6810b9f14850a7c8aa9becf76236dcf212d088ea</id>
<content type='text'>
The macro was unused since 0.7.44.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The macro was unused since 0.7.44.
</pre>
</div>
</content>
</entry>
<entry>
<title>Threads: offloading of temp files writing to thread pools.</title>
<updated>2016-03-18T03:44:03+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2016-03-18T03:44:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=10c8c8d6a47db5e84825479438ce5848b2d1dda4'/>
<id>10c8c8d6a47db5e84825479438ce5848b2d1dda4</id>
<content type='text'>
The ngx_thread_write_chain_to_file() function introduced, which
uses ngx_file_t thread_handler, thread_ctx and thread_task fields.
The task context structure (ngx_thread_file_ctx_t) is the same for
both reading and writing, and can be safely shared as long as
operations are serialized.

The task-&gt;handler field is now always set (and not only when task is
allocated), as the same task can be used with different handlers.

The thread_write flag is introduced in the ngx_temp_file_t structure
to explicitly enable use of ngx_thread_write_chain_to_file() in
ngx_write_chain_to_temp_file() when supported by caller.

In collaboration with Valentin Bartenev.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ngx_thread_write_chain_to_file() function introduced, which
uses ngx_file_t thread_handler, thread_ctx and thread_task fields.
The task context structure (ngx_thread_file_ctx_t) is the same for
both reading and writing, and can be safely shared as long as
operations are serialized.

The task-&gt;handler field is now always set (and not only when task is
allocated), as the same task can be used with different handlers.

The thread_write flag is introduced in the ngx_temp_file_t structure
to explicitly enable use of ngx_thread_write_chain_to_file() in
ngx_write_chain_to_temp_file() when supported by caller.

In collaboration with Valentin Bartenev.
</pre>
</div>
</content>
</entry>
<entry>
<title>Threads: task pointer stored in ngx_file_t.</title>
<updated>2016-03-18T03:43:52+00:00</updated>
<author>
<name>Maxim Dounin</name>
<email>mdounin@mdounin.ru</email>
</author>
<published>2016-03-18T03:43:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=ac78b26324a348ebdd108de0c022729b671549fb'/>
<id>ac78b26324a348ebdd108de0c022729b671549fb</id>
<content type='text'>
This simplifies the interface of the ngx_thread_read() function.

Additionally, most of the thread operations now explicitly set
file-&gt;thread_task, file-&gt;thread_handler and file-&gt;thread_ctx,
to facilitate use of thread operations in other places.

(Potential problems remain with sendfile in threads though - it uses
file-&gt;thread_handler as set in ngx_output_chain(), and it should not
be overwritten to an incompatible one.)

In collaboration with Valentin Bartenev.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This simplifies the interface of the ngx_thread_read() function.

Additionally, most of the thread operations now explicitly set
file-&gt;thread_task, file-&gt;thread_handler and file-&gt;thread_ctx,
to facilitate use of thread operations in other places.

(Potential problems remain with sendfile in threads though - it uses
file-&gt;thread_handler as set in ngx_output_chain(), and it should not
be overwritten to an incompatible one.)

In collaboration with Valentin Bartenev.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for offloading read() in thread pools.</title>
<updated>2015-03-14T14:37:25+00:00</updated>
<author>
<name>Valentin Bartenev</name>
<email>vbart@nginx.com</email>
</author>
<published>2015-03-14T14:37:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=a7ad493aa67c5f5204afbe50a42108d9e5b07c31'/>
<id>a7ad493aa67c5f5204afbe50a42108d9e5b07c31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: reverted prefix-based temp files (a9138c35120d).</title>
<updated>2015-02-02T18:28:09+00:00</updated>
<author>
<name>Roman Arutyunyan</name>
<email>arut@nginx.com</email>
</author>
<published>2015-02-02T18:28:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=cae1b5d63a6da625cf5c3606d989a7fe2ebfbd4c'/>
<id>cae1b5d63a6da625cf5c3606d989a7fe2ebfbd4c</id>
<content type='text'>
The use_temp_path http cache feature is now implemented using a separate temp
hierarchy in cache directory.  Prefix-based temp files are no longer needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The use_temp_path http cache feature is now implemented using a separate temp
hierarchy in cache directory.  Prefix-based temp files are no longer needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Core: added prefix-based temporary files.</title>
<updated>2014-12-26T13:22:54+00:00</updated>
<author>
<name>Valentin Bartenev</name>
<email>vbart@nginx.com</email>
</author>
<published>2014-12-26T13:22:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/nginx.git/commit/?id=a54e37eddacacb5c3aedad898b431705948eb80c'/>
<id>a54e37eddacacb5c3aedad898b431705948eb80c</id>
<content type='text'>
Now, if the "path" parameter is NULL, ngx_create_temp_file() will use
file-&gt;name as a predefined file path prefix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now, if the "path" parameter is NULL, ngx_create_temp_file() will use
file-&gt;name as a predefined file path prefix.
</pre>
</div>
</content>
</entry>
</feed>
