]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: avoid dropping osd_lock when pg osdmaps are not laggy
authorSage Weil <sage@redhat.com>
Fri, 7 Sep 2018 21:05:01 +0000 (16:05 -0500)
committerSage Weil <sage@redhat.com>
Mon, 17 Sep 2018 17:52:46 +0000 (12:52 -0500)
commit33f4f22193b79384c1fdd6cd7731d5c0a30bbb31
tree88951870daacfbf2c579b9184819faa11941a2aa
parentda887c82ce6cfa61a1b4f11f55e68a99a548d7fa
osd: avoid dropping osd_lock when pg osdmaps are not laggy

We only need to drop the lock if we are going to block.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc