Project

General

Profile

Actions

Bug #14207

closed

BlueStore compiling error without libaio support

Added by James Liu over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
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

os/bluestore/BlockDevice.cc:413:2: warning: #warning fix discard (aio?) [-Wcpp]
#warning fix discard (aio?)
^
CXX os/bluestore/libos_a-BlueRocksEnv.o
os/bluestore/BlueFS.cc:743:2: warning: #warning smarter _compact_log [-Wcpp]
#warning smarter _compact_log
^
In file included from os/bluestore/BlockDevice.cc:11:0:
os/bluestore/BlockDevice.h:18:8: error: ‘aio_t’ is not a member of ‘FS’
list<FS::aio_t> pending_aios; ///< not yet submitted
^
os/bluestore/BlockDevice.h:18:8: error: ‘aio_t’ is not a member of ‘FS’
os/bluestore/BlockDevice.h:18:17: error: template argument 1 is invalid
list<FS::aio_t> pending_aios; ///< not yet submitted
^
os/bluestore/BlockDevice.h:18:17: error: template argument 2 is invalid
os/bluestore/BlockDevice.h:19:8: error: ‘aio_t’ is not a member of ‘FS’
list<FS::aio_t> running_aios; ///< submitting or submitted
^
os/bluestore/BlockDevice.h:19:8: error: ‘aio_t’ is not a member of ‘FS’
os/bluestore/BlockDevice.h:19:17: error: template argument 1 is invalid
list<FS::aio_t> running_aios; ///< submitting or submitted
^
os/bluestore/BlockDevice.h:19:17: error: template argument 2 is invalid
os/bluestore/BlockDevice.h:58:3: error: ‘aio_queue_t’ in ‘class FS’ does not name a type
FS::aio_queue_t aio_queue;
^
os/bluestore/BlockDevice.cc: In constructor ‘BlockDevice::BlockDevice(BlockDevice::aio_callback_t, void*)’:
os/bluestore/BlockDevice.cc:48:5: error: class ‘BlockDevice’ does not have any field named ‘aio_queue’
aio_queue(g_conf->bdev_aio_max_queue_depth),
^
os/bluestore/BlockDevice.cc: In member function ‘int BlockDevice::_aio_start()’:
os/bluestore/BlockDevice.cc:192:13: error: ‘aio_queue’ was not declared in this scope
int r = aio_queue.init();

Actions #1

Updated by Kefu Chai over 8 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Kefu Chai over 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF