summaryrefslogtreecommitdiffstats
path: root/src/crimson/osd/backfill_state.h
diff options
context:
space:
mode:
authorRadoslaw Zarzynski <rzarzyns@redhat.com>2020-05-12 16:46:14 +0200
committerRadoslaw Zarzynski <rzarzyns@redhat.com>2020-07-13 16:25:30 +0200
commit0e08e41e21a93834485e80be03383f494a80fed0 (patch)
tree0787fe88be630d154e4e56fe02a7ff5661cb505c /src/crimson/osd/backfill_state.h
parentcrimson/osd: short-circuit budget_available(). (diff)
downloadceph-0e08e41e21a93834485e80be03383f494a80fed0.tar.xz
ceph-0e08e41e21a93834485e80be03383f494a80fed0.zip
crimson/osd: implement BackfillListener::enqueue_push().
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Diffstat (limited to 'src/crimson/osd/backfill_state.h')
-rw-r--r--src/crimson/osd/backfill_state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crimson/osd/backfill_state.h b/src/crimson/osd/backfill_state.h
index 58b307b32fb..96ae2482af7 100644
--- a/src/crimson/osd/backfill_state.h
+++ b/src/crimson/osd/backfill_state.h
@@ -48,6 +48,9 @@ struct BackfillState {
// for tracking replicas.
hobject_t object;
pg_stat_t stat;
+ ObjectPushed(hobject_t object)
+ : object(std::move(object)) {
+ }
};
struct Triggered : sc::event<Triggered> {