From 079e33bc7302104f446b910c7b3bbf5d377a8dd7 Mon Sep 17 00:00:00 2001 From: Mykola Golub Date: Wed, 2 Jan 2019 13:29:24 +0000 Subject: [PATCH] journal: set max journal order to 26 Fixes: http://tracker.ceph.com/issues/37541 Signed-off-by: Mykola Golub (cherry picked from commit 8b4baa875012c9ed1aa7e1be3d34f698c1234526) --- src/journal/Journaler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/journal/Journaler.cc b/src/journal/Journaler.cc index a138c7c0810..a6bc2451e52 100644 --- a/src/journal/Journaler.cc +++ b/src/journal/Journaler.cc @@ -211,8 +211,8 @@ void Journaler::get_mutable_metadata(uint64_t *minimum_set, void Journaler::create(uint8_t order, uint8_t splay_width, int64_t pool_id, Context *on_finish) { - if (order > 64 || order < 12) { - lderr(m_cct) << "order must be in the range [12, 64]" << dendl; + if (order > 26 || order < 12) { + lderr(m_cct) << "order must be in the range [12, 26]" << dendl; on_finish->complete(-EDOM); return; } -- 2.47.3