Skip to content

Commit 59c708c

Browse files
yehudasacbodley
authored andcommitted
objecter: add log messages related to read policy
Signed-off-by: Yehuda Sadeh <[email protected]>
1 parent cadc73b commit 59c708c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/osdc/Objecter.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5121,8 +5121,10 @@ Objecter::Objecter(CephContext *cct,
51215121

51225122
auto read_policy = cct->_conf.get_val<std::string>("rados_replica_read_policy");
51235123
if (read_policy == "localize") {
5124+
ldout(cct, 20) << __func__ << ": read policy: localize" << dendl;
51245125
extra_read_flags = CEPH_OSD_FLAG_LOCALIZE_READS;
51255126
} else if (read_policy == "balance") {
5127+
ldout(cct, 20) << __func__ << ": read policy: balance" << dendl;
51265128
extra_read_flags = CEPH_OSD_FLAG_BALANCE_READS;
51275129
}
51285130
}

0 commit comments

Comments
 (0)