]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
os/bluestore/KernelDevice: fix debug message
authorSage Weil <sage@redhat.com>
Thu, 26 Jan 2017 16:02:06 +0000 (11:02 -0500)
committerSage Weil <sage@redhat.com>
Thu, 26 Jan 2017 16:02:06 +0000 (11:02 -0500)
Not even sure why this compiles :/.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/KernelDevice.cc

index 950eada7c258e958ebc4a208256a790e4d1702cd..794a30f6d4cb163deface6e4dd38abaf1f6b51a7 100644 (file)
@@ -262,7 +262,8 @@ void KernelDevice::_aio_thread()
        int r = aio[i]->get_return_value();
        dout(10) << __func__ << " finished aio " << aio[i] << " r " << r
                 << " ioc " << ioc
-                << " with " << left << " aios left" << dendl;
+                << " with " << (ioc->num_running.load() - 1)
+                << " aios left" << dendl;
        assert(r >= 0);
        int left = --ioc->num_running;
        // NOTE: once num_running is decremented we can no longer