Jelajahi Sumber

2009-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Removed duplicate enableDirectIO() call.
	* src/MultiFileAllocationIterator.cc
Tatsuhiro Tsujikawa 16 tahun lalu
induk
melakukan
fe614395d6
2 mengubah file dengan 5 tambahan dan 1 penghapusan
  1. 5 0
      ChangeLog
  2. 0 1
      src/MultiFileAllocationIterator.cc

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2009-03-25  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Removed duplicate enableDirectIO() call.
+	* src/MultiFileAllocationIterator.cc
+	
 2009-03-25  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Replaced std::vector<SharedHandle<PieceStats> _sortedPieceStats

+ 0 - 1
src/MultiFileAllocationIterator.cc

@@ -59,7 +59,6 @@ void MultiFileAllocationIterator::allocateChunk()
     FileEntryHandle fileEntry = entry->getFileEntry();
     // Open file before calling DiskWriterEntry::size()
     _diskAdaptor->openIfNot(entry, &DiskWriterEntry::openFile);
-    entry->enableDirectIO();
     if(entry->needsFileAllocation() && entry->size() < fileEntry->getLength()) {
       // Calling private function of MultiDiskAdaptor.
       _fileAllocationIterator.reset