Actions
Bug #14047
closedrbd: rbd order will be place in 22, when set to 0 in the config_opt
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
rbd order will be place in 22, when set to 0 in the config_opt
File: librbd/Internal.cc Function: librbd::create(IoCtx& io_ctx, const char *imgname, uint64_t size, ImageOptions& opts) ... if (!order) order = cct->_conf->rbd_default_order; if (!order) order = RBD_DEFAULT_OBJ_ORDER; if (order > 25 || order < 12) { lderr(cct) << "order must be in the range [12, 25]" << dendl; return -EDOM; #define RBD_DEFAULT_OBJ_ORDER 22 /* 4MB */
Actions