]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: make _select_auth_object smarter
authorSamuel Just <sam.just@inktank.com>
Tue, 26 Mar 2013 20:08:29 +0000 (13:08 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 1 Apr 2013 16:38:04 +0000 (09:38 -0700)
commite61c94e2f6943731438621cec71aec84012b46ab
tree3427f307e864da192b2b109e095e8de8cb374e52
parent655a95087551304a6bbb9595dacd4b38acc868a9
PG: make _select_auth_object smarter

Previously, we just picked the first one to have the object in
question.  Now, we will attempt to choose one that has as
much of the following as possible:
1) has the object (there must be one)
2) has an object_info attr
3) has a valid object_info attr
4) has an object_info whose size matches the scrubbed size

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc