Tatsuhiro Tsujikawa
|
2449ee6a76
Simplify cache write
|
9 лет назад |
Tatsuhiro Tsujikawa
|
b1132d6b10
make clang-format using clang-format-3.6
|
10 лет назад |
Tatsuhiro Tsujikawa
|
318c804504
Use user-defined literal for k, m, and g (powers of 1024)
|
10 лет назад |
Tatsuhiro Tsujikawa
|
d03c7b32c6
Refactor MultiDiskAdaptor::closeFile() and add assert for debugging
|
10 лет назад |
Dan Fandrich
|
0538aa40da
Fixed some typos in code comments
|
11 лет назад |
Tatsuhiro Tsujikawa
|
d69764879e
Fix regression 100% CPU utility when -V is used and download is multi-file BT
|
11 лет назад |
Tatsuhiro Tsujikawa
|
a3426821c8
MultiDiskAdaptor: Handle short read
|
11 лет назад |
Tatsuhiro Tsujikawa
|
8750d7be99
Disard cache when checking checksum
|
11 лет назад |
Tatsuhiro Tsujikawa
|
570bc24fb9
Fix use-after-free on exit with multi-file torrent download + DHT
|
11 лет назад |
Tatsuhiro Tsujikawa
|
442e460055
Fix bug that zero length file is not opened when flushing cache
|
11 лет назад |
Tatsuhiro Tsujikawa
|
b706722c59
Fix unitest crash
|
12 лет назад |
Tatsuhiro Tsujikawa
|
8216bdba79
Fix bug that numOpenFile_ is not reduced when MultiDiskAdaptor is deleted
|
12 лет назад |
Tatsuhiro Tsujikawa
|
4d105a2686
Limit number of opened file globally with --bt-max-open-files option
|
12 лет назад |
Tatsuhiro Tsujikawa
|
f8d305fe63
Use std::unique_ptr for FileAllocationIterator
|
12 лет назад |
Tatsuhiro Tsujikawa
|
345ba415a5
MultiDiskWriter: Rewrite resetDiskWriterEntries() using simpler algorithm
|
12 лет назад |
Tatsuhiro Tsujikawa
|
f000fd0cab
MultiDiskAdaptor: Use std::unique_ptr for DiskWriterEntry and DiskWriter
|
12 лет назад |
Tatsuhiro Tsujikawa
|
e791eb9ca3
Cleanup a2functional.h
|
12 лет назад |
Tatsuhiro Tsujikawa
|
07d270c87e
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
|
12 лет назад |
Tatsuhiro Tsujikawa
|
9ed8502e74
Write data in 4K aligned offset in write with disk cache enabled
|
13 лет назад |
Tatsuhiro Tsujikawa
|
5367c34de3
Fixed bug that mmap won't work if MultiDiskAdaptor is used
|
13 лет назад |
Tatsuhiro Tsujikawa
|
8b0c701266
Removed trailing spaces
|
13 лет назад |
Tatsuhiro Tsujikawa
|
3258614033
Removed *Handle typedef
|
13 лет назад |
Tatsuhiro Tsujikawa
|
860f4dd06a
Use int64_t instead of off_t
|
13 лет назад |
Tatsuhiro Tsujikawa
|
16d395779a
Removed static_cast<int64>()s where they are unnecessary
|
13 лет назад |
Tatsuhiro Tsujikawa
|
4b03634f36
Use PRId64 for int64_t format specifier
|
13 лет назад |
Tatsuhiro Tsujikawa
|
96720b297d
Added --enable-mmap option.
|
13 лет назад |
Tatsuhiro Tsujikawa
|
52155b1860
No retry for close() with EINTR. Also reverted changes in d5ffa253.
|
14 лет назад |
Tatsuhiro Tsujikawa
|
d5ffa2532d
AbstractDiskWriter::closeFile(): Throw exception if close() failed.
|
14 лет назад |
Tatsuhiro Tsujikawa
|
7989cd898d
Use int or int32_t instead of size_t where suitable
|
14 лет назад |
Tatsuhiro Tsujikawa
|
12988e5282
Replaced uint64_t with off_t or int64_t.
|
14 лет назад |