]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: implement CEPH_OSD_OP_SETALLOCHINT in OpsExecuter 46770/head
authorRadosław Zarzyński <rzarzyns@redhat.com>
Tue, 21 Jun 2022 14:04:46 +0000 (16:04 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 1 Jul 2022 07:56:23 +0000 (07:56 +0000)
commit0a50efbe36fefa601edc4c1c17be3d2620080166
tree71054ab7063035bab88f9274cf7cef0f8daad705
parent6fed488f4452ce281ba9b42cda2eff1722693fdd
crimson/osd: implement CEPH_OSD_OP_SETALLOCHINT in OpsExecuter

This commits brings support setting allocation hints to `OpsExecuter`.

What is important to note that `SETALLOCHINTS`, at the ops execution
layer, behaves basically like `TOUCH`, and thus should be ignored
(for now) at the object store layer to not miss the part constituted
by `PGBackend::maybe_create_new_object()`.

Fixes: https://tracker.ceph.com/issues/56115
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
src/crimson/osd/ops_executer.cc
src/crimson/osd/pg_backend.cc
src/crimson/osd/pg_backend.h