Skip to contentSkip to conversation

FileJournal: Also classify kernel major version 3 as safe with disk-cache on

PATCH New Wido den Hollander 1 participant 1 message Aug 27, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FileJournal: Also classify kernel major version 3 as safe with disk-cache on

---
 src/os/FileJournal.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
src/os/FileJournal.cc +1 -1
index ee661d6..ddc423b 100644
@@ -238,7 +238,7 @@ void FileJournal::_check_disk_write_cache() const
       dout(10) << "_check_disk_write_cache: failed to get kernel version."
 	       << dendl;
     }
-    else if (a >= 2 && b >= 6 && c >= 33) {
+    else if (a >= 2 && b >= 6 && c >= 33 || a >= 3) {
       dout(20) << "_check_disk_write_cache: disk write cache is on, but your "
 	       << "kernel is new enough to handle it correctly. (fn:"
 	       << fn << ")" << dendl;
Signature · 1 line
1.7.5.4