]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge PR #17657 into master
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 14 Sep 2017 03:08:51 +0000 (20:08 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 14 Sep 2017 03:08:51 +0000 (20:08 -0700)
* refs/remotes/upstream/pull/17657/head:
mds: optimize MDCache::rejoin_scour_survivor_replicas()
mds: fix MDSCacheObject::clear_replica_map
mds: support limiting cache by memory
common: refactor of lru
mds: resolve unsigned coercion compiler warning
common: use safer uint64_t for list size
common: add bytes2str pretty print function
mds: check if waiting is allocated before use
mds: go back to compact_map for replicas
mds: use mempool for cache objects
mds: cleanup replica_map access
common: add alloc_ptr smart pointer
common: add warning on base class use of mempool
common: use atomic uin64_t for counter

Reviewed-by: Zheng Yan <zyan@redhat.com>
1  2 
src/client/Client.cc
src/common/legacy_config_opts.h
src/common/options.cc
src/mds/MDCache.cc
src/mds/MDSRank.cc
src/mds/Migrator.cc

Simple merge
Simple merge
Simple merge
Simple merge
index b4e196b5ddeb59f800978a58de1de86c5ca7f4d0,5b0d76d82cf50765eb5c3ee562820fd7d4ebe9ea..77f1819788fc5977338a2821ac6c34f04d3317d0
@@@ -1937,8 -1937,13 +1937,14 @@@ bool MDSRankDispatcher::handle_asok_com
  
      if (r != 0) {
        ss << "Failed to dump cache: " << cpp_strerror(r);
 +      f->reset();
      }
+   } else if (command == "cache status") {
+     Mutex::Locker l(mds_lock);
+     int r = mdcache->cache_status(f);
+     if (r != 0) {
+       ss << "Failed to get cache status: " << cpp_strerror(r);
+     }
    } else if (command == "dump tree") {
      string root;
      int64_t depth;
Simple merge