]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fixing the value_or configuration API
authorRonen Friedman <rfriedma@redhat.com>
Tue, 29 Dec 2020 09:21:44 +0000 (11:21 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 13 Jan 2021 13:27:07 +0000 (15:27 +0200)
commit24bdef378426ae0155d26ab6b8d66e04012ff37a
treed7631c458229f5d53e7d75ea68d137c9281df7f5
parent0ba9cd76fa0eb8dc5f487c0029efc5b5a093eae4
osd: fixing the value_or configuration API

My original value_or() was faulty: the wrong alternative (the T&& one)
was chosen in some instances.

Also: using this API in the scrubber code.

(incorporating review comments by
Reviewed-by: Samuel Just <sjust@redhat.com>
onto a previous version of this commit)

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/osd_types.h
src/osd/pg_scrubber.cc