Skip to content

Commit

Permalink
journal: set max journal order to 26
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/37541
Signed-off-by: Mykola Golub <[email protected]>
  • Loading branch information
trociny committed Jan 3, 2019
1 parent d78850b commit 8b4baa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/journal/Journaler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8b4baa8

Please sign in to comment.