Bug #23527
closedaio_t::rval int type not enough to contain io_event::res with unsigned long type, cause core dump
0%
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.