]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
hobject_t: adjust comparator to check most-likely-different fields first
authorSage Weil <sage@redhat.com>
Fri, 12 Dec 2014 00:28:17 +0000 (16:28 -0800)
committerSage Weil <sage@redhat.com>
Fri, 19 Jun 2015 00:02:46 +0000 (17:02 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/hobject.h

index f68b0f9db48429ea9e45d9edc437c394bace1dcc..f72f7d4359624bb2a2415302a3ed3afff14dd0b0 100644 (file)
@@ -246,7 +246,7 @@ CEPH_HASH_NAMESPACE_END
 
 ostream& operator<<(ostream& out, const hobject_t& o);
 
-WRITE_EQ_OPERATORS_7(hobject_t, oid, get_key(), snap, hash, max, pool, nspace)
+WRITE_EQ_OPERATORS_7(hobject_t, hash, oid, get_key(), snap, pool, max, nspace)
 WRITE_CMP_OPERATORS_7(hobject_t,
                      max,
                      pool,