]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: hit_set_setup, agent_setup, skip if !active 1617/head
authorSamuel Just <sam.just@inktank.com>
Fri, 28 Mar 2014 22:57:43 +0000 (15:57 -0700)
committerSamuel Just <sam.just@inktank.com>
Fri, 28 Mar 2014 22:57:43 +0000 (15:57 -0700)
commit1aa1d9380b69bd06674b3fe231f81c3dfe7808af
tree57870c63d9eafb3c8da00732f3b0b76506c0c844
parenta6be1d6713fe63e23217f4125bde12b4daaad142
ReplicatedPG: hit_set_setup, agent_setup, skip if !active

We call these in on_activate and on_pool_change.  In the former, we are
necessarily active.  In the latter, we only want to do anything if we are
active (otherwise, it will be taken care of when we eventually do become
active).

Fixes: #7904
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc