From: Sage Weil Date: Tue, 22 Dec 2015 21:36:59 +0000 (-0500) Subject: os/bluestore/BlockDevice: helpful error when aio cannot init X-Git-Tag: v10.0.3~154^2~59 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cff5dc5d12599aa93a5e4dea911300e98811dc91;p=ceph.git os/bluestore/BlockDevice: helpful error when aio cannot init Signed-off-by: Sage Weil --- diff --git a/src/os/bluestore/BlockDevice.cc b/src/os/bluestore/BlockDevice.cc index 9af3bec3c34a..3afc4d7c2224 100644 --- a/src/os/bluestore/BlockDevice.cc +++ b/src/os/bluestore/BlockDevice.cc @@ -183,8 +183,10 @@ int BlockDevice::_aio_start() if (g_conf->bdev_aio) { dout(10) << __func__ << dendl; int r = aio_queue.init(); - if (r < 0) + if (r < 0) { + derr << __func__ << " failed: " << cpp_strerror(r) << dendl; return r; + } aio_thread.create(); } return 0;