]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: _setallochint -> _set_alloc_hint
authorSage Weil <sage@redhat.com>
Mon, 6 Jun 2016 14:26:45 +0000 (10:26 -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
src/os/bluestore/BlueStore.h

index 3ba8713939018305a420ca26e8d126daa137795a..3b26c6c818fa77455c7a971ebe858dcd8fcd66c8 100644 (file)
@@ -5303,10 +5303,10 @@ void BlueStore::_txc_add_transaction(TransContext *txc, Transaction *t)
 
     case Transaction::OP_SETALLOCHINT:
       {
-       r = _setallochint(txc, c, o,
-                         op->expected_object_size,
-                         op->expected_write_size,
-                         op->alloc_hint_flags);
+       r = _set_alloc_hint(txc, c, o,
+                           op->expected_object_size,
+                           op->expected_write_size,
+                           op->alloc_hint_flags);
       }
       break;
 
@@ -6516,12 +6516,13 @@ int BlueStore::_omap_rmkey_range(TransContext *txc,
   return r;
 }
 
-int BlueStore::_setallochint(TransContext *txc,
-                            CollectionRef& c,
-                            OnodeRef& o,
-                            uint64_t expected_object_size,
-                            uint64_t expected_write_size,
-                            uint32_t flags)
+int BlueStore::_set_alloc_hint(
+  TransContext *txc,
+  CollectionRef& c,
+  OnodeRef& o,
+  uint64_t expected_object_size,
+  uint64_t expected_write_size,
+  uint32_t flags)
 {
   dout(15) << __func__ << " " << c->cid << " " << o->oid
           << " object_size " << expected_object_size
index 39cf17bb601030dc11b68b796321a634e02e9a78..c352209c1d19faa0cc20e97ad109428b91c7f889 100644 (file)
@@ -1392,12 +1392,13 @@ private:
                        CollectionRef& c,
                        OnodeRef& o,
                        const string& first, const string& last);
-  int _setallochint(TransContext *txc,
-                   CollectionRef& c,
-                   OnodeRef& o,
-                   uint64_t expected_object_size,
-                   uint64_t expected_write_size,
-                   uint32_t flags);
+  int _set_alloc_hint(
+    TransContext *txc,
+    CollectionRef& c,
+    OnodeRef& o,
+    uint64_t expected_object_size,
+    uint64_t expected_write_size,
+    uint32_t flags);
   int _clone(TransContext *txc,
             CollectionRef& c,
             OnodeRef& oldo,