2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Now the default value of --enable-direct-io is true.
	* src/OptionHandlerFactory.cc
	* doc/aria2c.1.txt
pull/1/head
Tatsuhiro Tsujikawa 2008-11-15 14:47:26 +00:00
parent c1a3bba6f8
commit a3bfe5c504
5 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Now the default value of --enable-direct-io is true.
* src/OptionHandlerFactory.cc
* doc/aria2c.1.txt
2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Erase peer before executing onReturningPeer and onErasingPeer

View File

@ -1,11 +1,11 @@
.\" Title: aria2c
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
.\" Date: 11/14/2008
.\" Date: 11/15/2008
.\" Manual:
.\" Source:
.\"
.TH "ARIA2C" "1" "11/14/2008" "" ""
.TH "ARIA2C" "1" "11/15/2008" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@ -673,7 +673,7 @@ Run as daemon\&.
\fB\-\-enable\-direct\-io\fR[=\fItrue\fR|\fIfalse\fR]
.RS 4
Enable directI/O, which lowers cpu usage while allocating/checking files\&. Turn off if you encounter any error\&. Default:
\fIfalse\fR
\fItrue\fR
.RE
.PP
\fB\-\-file\-allocation\fR=METHOD

View File

@ -1292,7 +1292,7 @@ writes the piece to the appropriate files.</td>
<p>
Enable directI/O, which lowers cpu usage while allocating/checking files.
Turn off if you encounter any error.
Default: <em>false</em>
Default: <em>true</em>
</p>
</dd>
<dt>
@ -2019,7 +2019,7 @@ files in the program, then also delete it here.</p></div>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2008-11-14 00:31:03 JST
Last updated 2008-11-15 23:46:24 JST
</div>
</div>
</body>

View File

@ -484,7 +484,7 @@ Advanced Options
*--enable-direct-io*[='true'|'false']::
Enable directI/O, which lowers cpu usage while allocating/checking files.
Turn off if you encounter any error.
Default: 'false'
Default: 'true'
*--file-allocation*=METHOD::
Specify file allocation method. METHOD is either 'none' or 'prealloc'.

View File

@ -146,7 +146,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
SharedHandle<OptionHandler> op(new BooleanOptionHandler
(PREF_ENABLE_DIRECT_IO,
TEXT_ENABLE_DIRECT_IO,
V_FALSE));
V_TRUE));
op->addTag(TAG_ADVANCED);
handlers.push_back(op);
}