summaryrefslogtreecommitdiff
path: root/src/ByteArrayDiskWriter.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-12-05 17:11:22 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-12-05 17:11:22 +0000
commit2850c16f8aff7637b3a2b602f98805c2e704ddc5 (patch)
treee48ca6f186b375db3b7b0a988f1a59f94e271e9f /src/ByteArrayDiskWriter.h
parent84e896eb095ddc9ea94942233711c89a903dfa5c (diff)
2007-12-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Rewritten direct I/O support routine * src/SingleFileAllocationIterator.cc * src/MultiDiskAdaptor.{h, cc} * src/ByteArrayDiskWriter.h * src/AbstractSingleDiskAdaptor.h * src/AbstractDiskWriter.cc * src/DefaultPieceStorage.cc * src/DiskWriter.h * src/BinaryStream.h * src/IteratableChunkChecksumValidator.cc * src/IteratableChecksumValidator.cc * src/CheckIntegrityEntry.cc * src/FileAllocationEntry.cc
Diffstat (limited to 'src/ByteArrayDiskWriter.h')
-rw-r--r--src/ByteArrayDiskWriter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ByteArrayDiskWriter.h b/src/ByteArrayDiskWriter.h
index f2a646b3..b63bdb4d 100644
--- a/src/ByteArrayDiskWriter.h
+++ b/src/ByteArrayDiskWriter.h
@@ -70,6 +70,11 @@ public:
virtual void disableDirectIO() {}
+ virtual bool directIOAllowed() const
+ {
+ return false;
+ }
+
void setString(const string& s)
{
buf.str(s);