Project

General

Profile

Bug #5454

krbd: assertion failure in rbd_img_obj_callback()

Added by Andreas Bluemle almost 11 years ago. Updated over 10 years ago.

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

0%

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

Description

when working on a large rbd image, I am hitting an
assertion failure in rbd kernel module; the
assertion is in rbd_img_obj_callback()

rbd_assert(img_request != NULL);

The test is a sequential write on an rbd
image, format 1. The size of the image is 1 TByte,
order is 22 (i.e. default object size).

The code of the rbd (and libceph) kernel modules is
from kernel.org, 3.10-rc6, running on a 3.0.80-0.5 kernel.

The problem looks like the rbd_obj_request structure in
question has been released already when processing of
the reponse to the original request takes place.

README.rbd_img_obj_callback-panic (12.2 KB) Andreas Bluemle, 06/25/2013 12:15 PM


Related issues

Duplicated by rbd - Bug #5662: kernel BUG at drivers/block/rbd.c:2133 Duplicate 07/18/2013

History

#1 Updated by Sage Weil almost 11 years ago

  • Project changed from Linux kernel client to rbd
  • Subject changed from rbd: assertion failure in rbd_img_obj_callback() to krbd: assertion failure in rbd_img_obj_callback()
  • Category deleted (rbd)
  • Priority changed from Normal to Urgent

Hi Andreas,

How are you writing to the image? dd with bs=1M or something?

#2 Updated by Andreas Bluemle almost 11 years ago

Hi Sage,

yes, dd was the program, bs=1024k

Regards

Andreas

#3 Updated by Sage Weil over 10 years ago

  • Priority changed from Urgent to High

#4 Updated by Josh Durgin over 10 years ago

  • Status changed from New to In Progress
  • Assignee set to Josh Durgin

I think this may be a refcounting race with resends. Looking into it further.

#5 Updated by Sage Weil over 10 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF