]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
squashme: initialize max_purge_ops
authorJohn Spray <john.spray@redhat.com>
Thu, 23 Jul 2015 10:30:13 +0000 (11:30 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 28 Jul 2015 08:05:09 +0000 (09:05 +0100)
squash into mds/StrayManager: don't acces OSDMap during construction

src/mds/StrayManager.cc

index ae05d740ab3c8dcc3c629e3685d204080184552c..262b8237888b303746e2698f5b8f4ce7f6e9dfef 100644 (file)
@@ -751,6 +751,7 @@ StrayManager::StrayManager(MDSRank *mds)
   : delayed_eval_stray(member_offset(CDentry, item_stray)),
     mds(mds), logger(NULL),
     ops_in_flight(0), files_purging(0),
+    max_purge_ops(0), 
     num_strays(0), num_strays_purging(0), num_strays_delayed(0),
     filer(mds->objecter, mds->finisher)
 {