Project

General

Profile

Actions

Bug #13586

closed

osd: OSD::mkfs does not decode an existing superblock

Added by Loïc Dachary over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

    OSDSuperblock sb;
    bufferlist sbbl;
    ret = store->read(coll_t::meta(), OSD_SUPERBLOCK_POBJECT, 0, 0, sbbl);
    if (ret >= 0) {
      dout(0) << " have superblock" << dendl;
      if (whoami != sb.whoami) {

sb does not have the content of sbbl

Actions #1

Updated by Loïc Dachary over 8 years ago

  • Description updated (diff)

@Vincente, could you please make a pull request out of https://github.com/Vicente-Cheng/ceph/commit/9d676b36d3c50d345ceb6619f44f6d27c996f015 ?

Actions #2

Updated by Wei-Chung Cheng over 8 years ago

Loic Dachary wrote:

@Vincente, could you please make a pull request out of https://github.com/Vicente-Cheng/ceph/commit/9d676b36d3c50d345ceb6619f44f6d27c996f015 ?

OK!

I make a new pull request.
https://github.com/ceph/ceph/pull/6385

Actions #3

Updated by Sage Weil over 8 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF