mirror of https://github.com/aria2/aria2
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.txtpull/1/head
parent
c1a3bba6f8
commit
a3bfe5c504
|
@ -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>
|
2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Erase peer before executing onReturningPeer and onErasingPeer
|
Erase peer before executing onReturningPeer and onErasingPeer
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
.\" Title: aria2c
|
.\" Title: aria2c
|
||||||
.\" Author:
|
.\" Author:
|
||||||
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
|
||||||
.\" Date: 11/14/2008
|
.\" Date: 11/15/2008
|
||||||
.\" Manual:
|
.\" Manual:
|
||||||
.\" Source:
|
.\" Source:
|
||||||
.\"
|
.\"
|
||||||
.TH "ARIA2C" "1" "11/14/2008" "" ""
|
.TH "ARIA2C" "1" "11/15/2008" "" ""
|
||||||
.\" disable hyphenation
|
.\" disable hyphenation
|
||||||
.nh
|
.nh
|
||||||
.\" disable justification (adjust text to left margin only)
|
.\" disable justification (adjust text to left margin only)
|
||||||
|
@ -673,7 +673,7 @@ Run as daemon\&.
|
||||||
\fB\-\-enable\-direct\-io\fR[=\fItrue\fR|\fIfalse\fR]
|
\fB\-\-enable\-direct\-io\fR[=\fItrue\fR|\fIfalse\fR]
|
||||||
.RS 4
|
.RS 4
|
||||||
Enable directI/O, which lowers cpu usage while allocating/checking files\&. Turn off if you encounter any error\&. Default:
|
Enable directI/O, which lowers cpu usage while allocating/checking files\&. Turn off if you encounter any error\&. Default:
|
||||||
\fIfalse\fR
|
\fItrue\fR
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-file\-allocation\fR=METHOD
|
\fB\-\-file\-allocation\fR=METHOD
|
||||||
|
|
|
@ -1292,7 +1292,7 @@ writes the piece to the appropriate files.</td>
|
||||||
<p>
|
<p>
|
||||||
Enable directI/O, which lowers cpu usage while allocating/checking files.
|
Enable directI/O, which lowers cpu usage while allocating/checking files.
|
||||||
Turn off if you encounter any error.
|
Turn off if you encounter any error.
|
||||||
Default: <em>false</em>
|
Default: <em>true</em>
|
||||||
</p>
|
</p>
|
||||||
</dd>
|
</dd>
|
||||||
<dt>
|
<dt>
|
||||||
|
@ -2019,7 +2019,7 @@ files in the program, then also delete it here.</p></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2008-11-14 00:31:03 JST
|
Last updated 2008-11-15 23:46:24 JST
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -484,7 +484,7 @@ Advanced Options
|
||||||
*--enable-direct-io*[='true'|'false']::
|
*--enable-direct-io*[='true'|'false']::
|
||||||
Enable directI/O, which lowers cpu usage while allocating/checking files.
|
Enable directI/O, which lowers cpu usage while allocating/checking files.
|
||||||
Turn off if you encounter any error.
|
Turn off if you encounter any error.
|
||||||
Default: 'false'
|
Default: 'true'
|
||||||
|
|
||||||
*--file-allocation*=METHOD::
|
*--file-allocation*=METHOD::
|
||||||
Specify file allocation method. METHOD is either 'none' or 'prealloc'.
|
Specify file allocation method. METHOD is either 'none' or 'prealloc'.
|
||||||
|
|
|
@ -146,7 +146,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
|
||||||
SharedHandle<OptionHandler> op(new BooleanOptionHandler
|
SharedHandle<OptionHandler> op(new BooleanOptionHandler
|
||||||
(PREF_ENABLE_DIRECT_IO,
|
(PREF_ENABLE_DIRECT_IO,
|
||||||
TEXT_ENABLE_DIRECT_IO,
|
TEXT_ENABLE_DIRECT_IO,
|
||||||
V_FALSE));
|
V_TRUE));
|
||||||
op->addTag(TAG_ADVANCED);
|
op->addTag(TAG_ADVANCED);
|
||||||
handlers.push_back(op);
|
handlers.push_back(op);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue