]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: pg as a mutex 29477/head
authorKefu Chai <kchai@redhat.com>
Sun, 4 Aug 2019 16:45:04 +0000 (00:45 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 4 Aug 2019 16:47:20 +0000 (00:47 +0800)
commit84ca31a5ac32469631101356943b6d0b9c545bde
treea20ae3b83a1eb239b56afad0cd0546f58d509b4e
parent6415160dbe2c059486a3e99222aa5396ab4cfb89
osd: pg as a mutex

since `PG` satisfies `BasicLockable`, we can just use lockers from
standard library along with it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PrimaryLogPG.cc