]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: factor clone check out of evict op code
authorSage Weil <sage@inktank.com>
Mon, 20 Jan 2014 22:30:48 +0000 (14:30 -0800)
committerSage Weil <sage@inktank.com>
Sun, 16 Feb 2014 06:09:38 +0000 (22:09 -0800)
commit695021231562fdb68b5fac5c67507ab92d9553e0
tree18bc605aed93ab4179928f8b2659ee680533fdfa
parentfc28a99f55626fcc22a5e50403a90c8ec571b561
osd/ReplicatedPG: factor clone check out of evict op code

Move the check for clones into a helper so that we will be able to use in
other places where we need to evict.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h