From 8713f18da8f24a4c0ab56aa98764d0845c1ebe46 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 20 Feb 2013 13:25:58 -0800 Subject: [PATCH] osd: remove force hack for testing the HASHPSPOOL code Also from 8cc2b0f1243b2717af1de329a7fa6a8b5350db68. Signed-off-by: Sage Weil --- src/osd/osd_types.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/osd_types.cc b/src/osd/osd_types.cc index b1046c9aec5fc..2136191bc198b 100644 --- a/src/osd/osd_types.cc +++ b/src/osd/osd_types.cc @@ -681,7 +681,7 @@ pg_t pg_pool_t::raw_pg_to_pg(pg_t pg) const */ ps_t pg_pool_t::raw_pg_to_pps(pg_t pg) const { - if (true) {//flags & FLAG_HASHPSPOOL) { + if (flags & FLAG_HASHPSPOOL) { // Hash the pool id so that pool PGs do not overlap. return crush_hash32_2(CRUSH_HASH_RJENKINS1, -- 2.39.5