]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore/BlueFS: dump allocator freelist on failure in reclaim_blocks 13000/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 16:37:48 +0000 (10:37 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 15ff48518a65e0a3add97c5b7f650d329abf1dd1)

src/os/bluestore/BlueFS.cc

index 93bc7ec6aca4185b19f95182b568fd5faaa27aeb..8ddb5fb0a2d0a5567f45be7ba05ad6c05facb0d9 100644 (file)
@@ -185,6 +185,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;
   }