os/bluestore: _setallochint -> _set_alloc_hint

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2016-06-06 10:26:45 -04:00
parent 65f379bf3b
commit 9ab1b90325
2 changed files with 18 additions and 16 deletions
src/os/bluestore

View 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

View 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,