From bbb62df0cfafd42a84932b818f395521cb3cf1aa Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 9 May 2008 14:35:05 -0700 Subject: [PATCH] mds: dont bother with small inos anymore --- src/mds/IdAllocator.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mds/IdAllocator.cc b/src/mds/IdAllocator.cc index d57c0d4ff0cf7..3880aa4d85372 100644 --- a/src/mds/IdAllocator.cc +++ b/src/mds/IdAllocator.cc @@ -134,14 +134,14 @@ void IdAllocator::reset() // use generic range. FIXME THIS IS CRAP free.clear(); -#ifdef __LP64__ +//#ifdef __LP64__ uint64_t start = (uint64_t)(mds->get_nodeid()+1) << 40; uint64_t end = ((uint64_t)(mds->get_nodeid()+2) << 40) - 1; -#else -# warning this looks like a 32-bit system, using small inode numbers. +//#else +//# warning this looks like a 32-bit system, using small inode numbers. uint64_t start = (uint64_t)(mds->get_nodeid()+1) << 25; uint64_t end = ((uint64_t)(mds->get_nodeid()+2) << 25) - 1; -#endif +//#endif free.insert(start, end); state = STATE_ACTIVE; -- 2.39.5