All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@widodh.nl>
To: ceph-devel@vger.kernel.org
Cc: Wido den Hollander <wido@widodh.nl>
Subject: [PATCH] FileJournal: Also classify kernel major version 3 as safe with disk-cache on
Date: Sat, 27 Aug 2011 22:37:05 +0200	[thread overview]
Message-ID: <1314477425-29392-1-git-send-email-wido@widodh.nl> (raw)


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


                 reply	other threads:[~2011-08-27 20:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1314477425-29392-1-git-send-email-wido@widodh.nl \
    --to=wido@widodh.nl \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.