From 8b4baa875012c9ed1aa7e1be3d34f698c1234526 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 --- 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 946b8192a29..9f78643703b 100644 --- a/src/journal/Journaler.cc +++ b/src/journal/Journaler.cc @@ -216,8 +216,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.39.5