]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: print alloc hint flags as a string
authorSage Weil <sage@redhat.com>
Mon, 6 Jun 2016 14:27:29 +0000 (10:27 -0400)
committerSage Weil <sage@redhat.com>
Wed, 15 Jun 2016 19:25:28 +0000 (15:25 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc

index 3b26c6c818fa77455c7a971ebe858dcd8fcd66c8..6bab7608e80ce4ad49fffad78da0d198515aff13 100644 (file)
@@ -6527,7 +6527,7 @@ int BlueStore::_set_alloc_hint(
   dout(15) << __func__ << " " << c->cid << " " << o->oid
           << " object_size " << expected_object_size
           << " write_size " << expected_write_size
-          << " flags " << flags
+          << " flags " << ceph_osd_alloc_hint_flag_string(flags)
           << dendl;
   int r = 0;
   o->onode.expected_object_size = expected_object_size;
@@ -6537,7 +6537,7 @@ int BlueStore::_set_alloc_hint(
   dout(10) << __func__ << " " << c->cid << " " << o->oid
           << " object_size " << expected_object_size
           << " write_size " << expected_write_size
-          << " flags " << flags
+          << " flags " << ceph_osd_alloc_hint_flag_string(flags)
           << " = " << r << dendl;
   return r;
 }