]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
journal: set max journal order to 26
authorMykola Golub <mgolub@suse.com>
Wed, 2 Jan 2019 13:29:24 +0000 (13:29 +0000)
committerPrashant D <pdhange@redhat.com>
Tue, 15 Jan 2019 04:25:48 +0000 (23:25 -0500)
Fixes: http://tracker.ceph.com/issues/37541
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 8b4baa875012c9ed1aa7e1be3d34f698c1234526)

src/journal/Journaler.cc

index a138c7c08103f8f8ed7f51956861f5051993a3a2..a6bc2451e524a1a0d1e3626cfaf55942405cc6fb 100644 (file)
@@ -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;
   }