summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityEntry.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-07-16 13:57:31 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-07-16 13:57:31 +0900
commit5bbfa742fcd43011c04fd053703d7c8835283d01 (patch)
tree734b73502ea2b126e108c0bc9703e40a2f22ba4f /src/CheckIntegrityEntry.cc
parent5c4a52ad741c66b4aa263a542da2c1e5546ca6bf (diff)
Removed use of O_DIRECT because it performs bad.
Diffstat (limited to 'src/CheckIntegrityEntry.cc')
-rw-r--r--src/CheckIntegrityEntry.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/CheckIntegrityEntry.cc b/src/CheckIntegrityEntry.cc
index b07f5dac..eda0b2ab 100644
--- a/src/CheckIntegrityEntry.cc
+++ b/src/CheckIntegrityEntry.cc
@@ -94,10 +94,6 @@ void CheckIntegrityEntry::proceedFileAllocation
} else {
entry->prepareForNextAction(commands, e);
}
- // Disable directIO when fallocation() is going to be used.
- if(getRequestGroup()->getOption()->get(PREF_FILE_ALLOCATION) == V_FALLOC) {
- entry->disableDirectIO();
- }
}
void CheckIntegrityEntry::setValidator