[prev in list] [next in list] [prev in thread] [next in thread]
List: ceph-devel
Subject: [PATCH] FileJournal: Also classify kernel major version 3 as safe with disk-cache on
From: Wido den Hollander <wido () widodh ! nl>
Date: 2011-08-27 20:37:05
Message-ID: 1314477425-29392-1-git-send-email-wido () widodh ! nl
[Download RAW message or body]
Signed-off-by: Wido den Hollander <wido@widodh.nl>
---
src/os/FileJournal.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/os/FileJournal.cc b/src/os/FileJournal.cc
index ee661d6..ddc423b 100644
--- a/src/os/FileJournal.cc
+++ b/src/os/FileJournal.cc
@@ -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;
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic