]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "ObjectCacher: remove unused target/max setters"
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 3 Mar 2014 17:07:30 +0000 (09:07 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 3 Mar 2014 17:07:30 +0000 (09:07 -0800)
This reverts commit e1a49e5386c3ed4a6bc4870f01630349cb04d749.

src/osdc/ObjectCacher.h

index f28c24adf99a2ab38a2a9f7a2b258a3e434c97be..54f028fdd74308adcaa7cdefab95bfcee453fcda 100644 (file)
@@ -618,6 +618,19 @@ public:
   void set_max_dirty(uint64_t v) {
     max_dirty = v;
   }
+  void set_target_dirty(int64_t v) {
+    target_dirty = v;
+  }
+  void set_max_size(int64_t v) {
+    max_size = v;
+  }
+  void set_max_dirty_age(double a) {
+    max_dirty_age.set_from_double(a);
+  }
+  void set_max_objects(int64_t v) {
+    max_objects = v;
+  }
+
 
   // file functions