]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
messages, os, osd: Clean-up g/hobject_t MAX handling
authorDavid Zafman <david.zafman@inktank.com>
Tue, 17 Dec 2013 02:50:57 +0000 (18:50 -0800)
committerDavid Zafman <david.zafman@inktank.com>
Thu, 9 Jan 2014 00:33:57 +0000 (16:33 -0800)
commit25a798edfae6cf5c8406e759026fd6ffb9710582
treef863a88f56579882b43fdd39f0e1565440fdd9b7
parentf89d4105f2fef596e4ba3bb7105b0f533b6a05bc
messages, os, osd: Clean-up g/hobject_t MAX handling

Add check of is_max() before updating an unset pool
Use efficient is_max() instead of compare with hobject::get_max()

Signed-off-by: David Zafman <david.zafman@inktank.com>
src/messages/MOSDPGScan.h
src/messages/MOSDSubOp.h
src/messages/MOSDSubOpReply.h
src/os/ObjectStore.h
src/osd/PG.cc
src/osd/PG.h
src/osd/ReplicatedPG.cc
src/osd/osd_types.cc
src/osd/osd_types.h