]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: move pg log and info to a per-pg object
authorSage Weil <sage@redhat.com>
Thu, 20 Nov 2014 22:43:37 +0000 (14:43 -0800)
committerSage Weil <sage@redhat.com>
Wed, 17 Dec 2014 01:07:57 +0000 (17:07 -0800)
commit6074bdd155d1ea845070c6727f3dd24a16580fb6
tree2533116608fe0b32b4d98b5f886f76af741bff82
parent8fa94071f946b799a3e156da78337e4e8d0844b1
osd: move pg log and info to a per-pg object

Move all PG metadata (info, biginfo, epoch, and log) to a single per-PG
object.  This should make it easier for ObjectStore implementations to
avoid lock contention in the write path.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h
src/osd/PGLog.cc
src/osd/PGLog.h
src/tools/ceph_objectstore_tool.cc