]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: do not count failed read in delta_stats 25687/head
authorKefu Chai <kchai@redhat.com>
Sun, 23 Dec 2018 14:37:21 +0000 (22:37 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 23 Dec 2018 14:49:53 +0000 (22:49 +0800)
commit18a518615e56279d7891a0dd861f268dd1798dab
tree9f6427ac6e5774efc897e71bad7b882c53cef862
parent98078f1748e8db2355ffe5daa928a288d4cc212e
osd/PrimaryLogPG: do not count failed read in delta_stats

ctx->delta_stats is accumulated to PG.info.stats.stats in
ReplicatedBackend::submit_transaction() before queueing the transaction.

and `stats` is used for stats reporting. so i think we should not take
the failed ops into account.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/PrimaryLogPG.cc