diff options
Diffstat (limited to 'src/FileAllocationEntry.cc')
| -rw-r--r-- | src/FileAllocationEntry.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FileAllocationEntry.cc b/src/FileAllocationEntry.cc index a0e1df05..6a6cd732 100644 --- a/src/FileAllocationEntry.cc +++ b/src/FileAllocationEntry.cc @@ -73,4 +73,9 @@ void FileAllocationEntry::allocateChunk() _fileAllocationIterator->allocateChunk(); } +void FileAllocationEntry::disableDirectIO() +{ + _requestGroup->getPieceStorage()->getDiskAdaptor()->disableDirectIO(); +} + } // namespace aria2 |
