Skip to content

Commit

Permalink
Delete rbd'order setup process
Browse files Browse the repository at this point in the history
Delete rbd'order = RBD_DEFAULT_OBJ_ORDER process, when rbd'order is set to zero

Fixes: #14047
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
  • Loading branch information
renhwztetecs authored and root committed Dec 16, 2015
1 parent 0217439 commit 16d5045
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/librbd/internal.cc
Expand Up @@ -1404,8 +1404,6 @@ int invoke_async_request(ImageCtx *ictx, const std::string& request_type,

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;
Expand Down

0 comments on commit 16d5045

Please sign in to comment.