]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore/BlueFS: be less complainy about fallback allocations 11268/head
authorSage Weil <sage@redhat.com>
Thu, 29 Sep 2016 22:05:20 +0000 (18:05 -0400)
committerSage Weil <sage@redhat.com>
Thu, 29 Sep 2016 22:05:20 +0000 (18:05 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueFS.cc

index 4f8a8a44960f505690d5d646c356f0ffc70be44e..2d84c1e80fd36d90856b371c1e735ae740a5e3bb 100644 (file)
@@ -1692,12 +1692,13 @@ int BlueFS::_allocate(uint8_t id, uint64_t len, vector<bluefs_extent_t> *ev)
   }
   if (r < 0) {
     if (id != BDEV_SLOW) {
-      if (bdev[id])
-       derr << __func__ << " failed to allocate 0x" << std::hex << left
-            << " on bdev " << (int)id
-            << ", free 0x" << alloc[id]->get_free()
-            << "; fallback to bdev " << (int)id + 1
-            << std::dec << dendl;
+      if (bdev[id]) {
+       dout(1) << __func__ << " failed to allocate 0x" << std::hex << left
+               << " on bdev " << (int)id
+               << ", free 0x" << alloc[id]->get_free()
+               << "; fallback to bdev " << (int)id + 1
+               << std::dec << dendl;
+      }
       return _allocate(id + 1, len, ev);
     }
     if (bdev[id])