]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mds/CDir.h
Import ceph 15.2.8
[ceph.git] / ceph / src / mds / CDir.h
index aa447a88d0085581837fa10722748188d54661e7..e3e7f64c3aaab37a69253adf1e94444a9d9e2cc4 100644 (file)
@@ -421,7 +421,7 @@ public:
 
   // for giving to clients
   void get_dist_spec(std::set<mds_rank_t>& ls, mds_rank_t auth) {
-    if (is_rep()) {
+    if (is_auth()) {
       list_replicas(ls);
       if (!ls.empty()) 
        ls.insert(auth);
@@ -644,13 +644,9 @@ protected:
       bufferlist &bl,
       int pos,
       const std::set<snapid_t> *snaps,
+      double rand_threshold,
       bool *force_dirty);
 
-  /**
-   * Mark this fragment as BADFRAG (common part of go_bad and go_bad_dentry)
-   */
-  void _go_bad();
-
   /**
    * Go bad due to a damaged dentry (register with damagetable and go BADFRAG)
    */