Project

General

Profile

Bug #23527

aio_t::rval int type not enough to contain io_event::res with unsigned long type, cause core dump

Added by yang wang almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
Target version:
-
% Done:

0%

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

Description

-1> 2018-03-30 01:53:27.511964 7fc903ecb700 -1 bdev(0x565100d73800 /var/lib/ceph/osd/ceph-3/block.db) aio to 12845056000~2170155008 but returned: 2147479552
0> 2018-03-30 01:53:27.529402 7fc903ecb700 -1 /root/rpmbuild/BUILD/ceph-12.2.4-1/src/os/bluestore/KernelDevice.cc: In function 'void KernelDevice::_aio_thread()' thread 7fc903ecb700 time 2018-03-30 01:53:27.512011
/root/rpmbuild/BUILD/ceph-12.2.4-1/src/os/bluestore/KernelDevice.cc: 384: FAILED assert(0 == "unexpected aio error")

ceph version 12.2.4-1 (f1c14f03ac0a6ea8271f8a62acde37aba126b14e) luminous (stable)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x110) [0x5650f66c9820]
2: (KernelDevice::_aio_thread()+0xd05) [0x5650f666cdb5]
3: (KernelDevice::AioCompletionThread::entry()+0xd) [0x5650f66721fd]
4: (()+0x7e25) [0x7fc90d38ce25]
5: (clone()+0x6d) [0x7fc90c48034d]
NOTE: a copy of the executable, or objdump -rdS <executable> is needed to interpret this.


Related issues

Related to RADOS - Bug #40636: os/bluestore: fix >2GB writes Resolved 07/02/2019
Copied to Ceph - Backport #23544: luminous: aio_t::rval int type not enough to contain io_event::res with unsigned long type, cause core dump Resolved

History

#1 Updated by Kefu Chai almost 6 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to yang wang
  • Backport set to luminous

#2 Updated by Kefu Chai almost 6 years ago

  • Subject changed from luminous: aio_t::rval int type not enough to contain io_event::res with unsigned long type, cause core dump to aio_t::rval int type not enough to contain io_event::res with unsigned long type, cause core dump
  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Nathan Cutler almost 6 years ago

  • Copied to Backport #23544: luminous: aio_t::rval int type not enough to contain io_event::res with unsigned long type, cause core dump added

#4 Updated by Nathan Cutler almost 6 years ago

  • Status changed from Pending Backport to Resolved

#5 Updated by yang wang almost 6 years ago

hi @Nathan ,this patch not resolved yet, find another problem, see https://github.com/ceph/ceph/pull/21326

#6 Updated by Nathan Cutler almost 6 years ago

@yang wang - please open a new tracker issue for the follow-on fix in https://github.com/ceph/ceph/pull/21326

For backporting purposes it's much better if each master PR has a separate issue. You can link it to this issue via "Related" tag.

#7 Updated by Neha Ojha over 4 years ago

  • Related to Bug #40636: os/bluestore: fix >2GB writes added

Also available in: Atom PDF