]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osdc: Fix release_all so it loops properly
authorGreg Farnum <gregf@hq.newdream.net>
Mon, 25 Oct 2010 18:38:41 +0000 (11:38 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Mon, 25 Oct 2010 23:45:56 +0000 (16:45 -0700)
src/osdc/ObjectCacher.cc

index 9f963d774e71fec65b92836bedd5ff2f9767acca..3e8145b95da3bf3e39a3a7428c8785d264980f32 100644 (file)
@@ -1648,6 +1648,7 @@ uint64_t ObjectCacher::release_all()
       dout(10) << "release_all " << *ob 
                << " has " << o_unclean << " bytes left"
                << dendl;
+    p = n;
   }
 
   if (unclean) {