]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: de-globalize PG::oldest_update
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 28 Dec 2010 23:55:24 +0000 (15:55 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 12 Jan 2011 18:21:56 +0000 (10:21 -0800)
commit6fedbf8b5cf43c4915dbc1f81ab033af977048c5
tree9dfdb48b828db2f689e458b429e111cbcb0e5cd4
parent039aa1e74a37fca2c5a8c552d23ee35602001d8c
osd: de-globalize PG::oldest_update

Making oldest_update a class variable complicates log merging and wastes
space in the PG struct. Even though memory is big, cachelines are still
small. Just calculate it when we need it.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/osd/PG.cc
src/osd/PG.h