]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: Added a const spg_t member to the PG class 1897/head
authorSomnath Roy <somnath.roy@sandisk.com>
Wed, 11 Jun 2014 01:10:30 +0000 (18:10 -0700)
committerSomnath Roy <somnath.roy@sandisk.com>
Wed, 11 Jun 2014 01:10:30 +0000 (18:10 -0700)
commit0bbeeee3b4434d4b29faf450afcc3e32793b299d
treea8ed2c62f4be208f717b0f860a5750d55713d178
parentecbb0056f98c938ca8f20c1e7ab68f51f2f01ec6
PG: Added a const spg_t member to the PG class
The const spg_t member is been insantiated from constructor
and now get_pgid() can reference this to return a spg_t instance
without the need of pg_info (thus not requiring to acquire pg_lock).

Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
src/osd/PG.cc
src/osd/PG.h