]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: dont bother with small inos anymore
authorSage Weil <sage@newdream.net>
Fri, 9 May 2008 21:35:05 +0000 (14:35 -0700)
committerSage Weil <sage@newdream.net>
Fri, 9 May 2008 21:35:05 +0000 (14:35 -0700)
src/mds/IdAllocator.cc

index d57c0d4ff0cf72077f4156a4496e5155558d146e..3880aa4d85372337aafdd6bfc28f762cc91f8c53 100644 (file)
@@ -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;