]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: use is_erasure() when appropriate 18779/head
authorKefu Chai <kchai@redhat.com>
Tue, 7 Nov 2017 06:21:36 +0000 (14:21 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 7 Nov 2017 06:24:15 +0000 (14:24 +0800)
commit104c58a0c7d46e0795a54406b10422a3c929263b
tree411edd1aeec98e2396543602e352726de7656063
parent0cd73313581e1ba7af5691ed78d0c4cdc6bd16da
osd: use is_erasure() when appropriate

sometimes, we are using pool.info.require_rollback() even when what we
mean is "pool.info.is_erasure()", so fix it to improve the readability.

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