]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: remove redundant check for balance/localize read 10209/head
authorrunsisi <runsisi@zte.com.cn>
Fri, 8 Jul 2016 12:57:30 +0000 (20:57 +0800)
committerrunsisi <runsisi@zte.com.cn>
Fri, 8 Jul 2016 13:25:29 +0000 (21:25 +0800)
commit614b04fab4f8e13f4511c45b9737e6d8d1ac41f5
tree3933d4111781464053564f44e6757b0e328eda5f
parent07387eb9af16b4916c64259d8aa98267b34b3a6c
osd/ReplicatedPG: remove redundant check for balance/localize read

given an op if the PG is a replica and is able to handle it, then the
op must have the BALANCE_READS or LOCALIZE_READS flag(s) set, otherwise
the op was misdirected and had been rejected at the every beginning of
the function.

Signed-off-by: runsisi <runsisi@zte.com.cn>
src/osd/ReplicatedPG.cc