mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
crimson/seastore: use get_hint in object_data_handler
Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
This commit is contained in:
parent
23693c1010
commit
21adad11d7
@ -247,7 +247,7 @@ ObjectDataHandler::write_ret ObjectDataHandler::prepare_data_reservation(
|
||||
} else {
|
||||
return ctx.tm.reserve_region(
|
||||
ctx.t,
|
||||
0 /* TODO -- pass hint based on object hash */,
|
||||
ctx.onode.get_hint(),
|
||||
MAX_OBJECT_SIZE
|
||||
).si_then([&object_data](auto pin) {
|
||||
ceph_assert(pin->get_length() == MAX_OBJECT_SIZE);
|
||||
|
Loading…
Reference in New Issue
Block a user