summaryrefslogtreecommitdiff
path: root/src/AdaptiveFileAllocationIterator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/AdaptiveFileAllocationIterator.cc')
-rw-r--r--src/AdaptiveFileAllocationIterator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AdaptiveFileAllocationIterator.cc b/src/AdaptiveFileAllocationIterator.cc
index 3de13e27..80874317 100644
--- a/src/AdaptiveFileAllocationIterator.cc
+++ b/src/AdaptiveFileAllocationIterator.cc
@@ -62,7 +62,7 @@ void AdaptiveFileAllocationIterator::allocateChunk()
if(offset_ < totalLength_) {
int64_t len = std::min(totalLength_-offset_,
static_cast<int64_t>(4096));
- stream_->allocate(offset_, len);
+ stream_->allocate(offset_, len, false);
offset_ += len;
}
A2_LOG_DEBUG("File system supports fallocate.");