mirror of
https://github.com/ceph/ceph
synced 2025-03-03 15:00:51 +00:00
os/bluestore: _setallochint -> _set_alloc_hint
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
65f379bf3b
commit
9ab1b90325
src/os/bluestore
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user