ceph/ceph — pull request #1309 by guangyy (2014-02-24 04:10:53+00:00)
Title: Scrub lock contention

Instead checking https://github.com/ceph/ceph/blob/master/src/osd/PG.cc#L2948 if the pg is a primary or not (and fail fast if not), we simply only push primary pg to the list which is checked on regular basis.