]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: optimize pick_newest_available 12695/head
authorhuangjun <hjwsm1989@gmail.com>
Thu, 29 Dec 2016 01:13:46 +0000 (09:13 +0800)
committerhuangjun <hjwsm1989@gmail.com>
Thu, 29 Dec 2016 01:13:46 +0000 (09:13 +0800)
commit891c0992c5ccdca9c988ea14a30534cbcb7c591e
treef76e0556883a3c1253b02c519f709df0a197c97f
parent2488e29f2b35b2ae7d5ac5a040f4bc465a5b79f1
  osd/PrimaryLogPG: optimize pick_newest_available

  we can get pg_missing_item from is_missing(), no need to find it again.

Signed-off-by: huangjun <hjwsm1989@gmail.com>
src/osd/PrimaryLogPG.cc