FileJournal: Also classify kernel major version 3 as safe with disk-cache on
PATCH 1/1 FileJournal: Also classify kernel major version 3 as safe with disk-cache on
Signed-off-by Wido den Hollander <[email protected]>
--- src/os/FileJournal.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
src/os/FileJournal.cc +1 -1
@@ -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