]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore/BlueFS: dump allocator freelist on failure in reclaim_blocks 12963/head
authorSage Weil <sage@redhat.com>
Wed, 18 Jan 2017 12:35:59 +0000 (07:35 -0500)
committerSage Weil <sage@redhat.com>
Wed, 18 Jan 2017 14:22:29 +0000 (08:22 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueFS.cc

index 205ce2c51a9b2ad6a81aab9044da03f70f887ec5..216f5ce1f54eacdca404874d94faaae222a8ebc8 100644 (file)
@@ -187,6 +187,7 @@ int BlueFS::reclaim_blocks(unsigned id, uint64_t want,
   if (got <= 0) {
     derr << __func__ << " failed to allocate space to return to bluestore"
         << dendl;
+    alloc[id]->dump();
     return got;
   }