diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-11-15 14:47:26 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-11-15 14:47:26 +0000 |
| commit | a3bfe5c504d2c2f9594632647173b7108081ae97 (patch) | |
| tree | 8dc7f8963c24ef55f0a97a064f331ed9e0f31121 | |
| parent | c1a3bba6f88dea178e9336c236d833541b3ee99b (diff) | |
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
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | doc/aria2c.1 | 6 | ||||
| -rw-r--r-- | doc/aria2c.1.html | 4 | ||||
| -rw-r--r-- | doc/aria2c.1.txt | 2 | ||||
| -rw-r--r-- | src/OptionHandlerFactory.cc | 2 |
5 files changed, 13 insertions, 7 deletions
@@ -1,5 +1,11 @@ 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 because choking algorithm called from onReturningPeer doesn't like erasing peer in the active peer list. diff --git a/doc/aria2c.1 b/doc/aria2c.1 index 8c537a3f..139b3134 100644 --- a/doc/aria2c.1 +++ b/doc/aria2c.1 @@ -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 diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html index a5867351..b152b4f2 100644 --- a/doc/aria2c.1.html +++ b/doc/aria2c.1.html @@ -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>
diff --git a/doc/aria2c.1.txt b/doc/aria2c.1.txt index c08105f9..bea04aa8 100644 --- a/doc/aria2c.1.txt +++ b/doc/aria2c.1.txt @@ -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'. diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index 1b57b082..49a4d1d6 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -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); } |
