From: Mykola Golub Date: Wed, 2 Jan 2019 13:29:24 +0000 (+0000) Subject: journal: set max journal order to 26 X-Git-Tag: v12.2.12~104^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=079e33bc7302104f446b910c7b3bbf5d377a8dd7;p=ceph.git journal: set max journal order to 26 Fixes: http://tracker.ceph.com/issues/37541 Signed-off-by: Mykola Golub (cherry picked from commit 8b4baa875012c9ed1aa7e1be3d34f698c1234526) --- 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; }