]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: print debug on ENOTEMPTY
authorSage Weil <sage@redhat.com>
Thu, 10 Mar 2016 14:17:08 +0000 (09:17 -0500)
committerSage Weil <sage@redhat.com>
Fri, 11 Mar 2016 15:41:38 +0000 (10:41 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc

index 4d8602494634c220b67aeb6ec2e42bcc3e0b6559..afca750451b12c28665f0e03a09a88506ea34104 100644 (file)
@@ -6398,6 +6398,8 @@ int BlueStore::_remove_collection(TransContext *txc, coll_t cid,
     pair<ghobject_t,OnodeRef> next;
     while ((*c)->onode_map.get_next(next.first, &next)) {
       if (next.second->exists) {
+       dout(10) << __func__ << " " << next.first << " " << next.second
+                << " exists in onode_map" << dendl;
        r = -ENOTEMPTY;
        goto out;
       }