]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix incorrect "unconnected snaprealm xxx" warning
authorYan, Zheng <zyan@redhat.com>
Mon, 11 Jul 2016 02:51:13 +0000 (10:51 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 15 Jul 2016 01:11:49 +0000 (09:11 +0800)
commit85e687de876ca7e0174734ba81130949c4ab6a40
tree477b90a80269df11392137033c4f65bd0da5f4d6
parent16f7d7c71e65cd68cecde3e5b89d189ab5950548
mds: fix incorrect "unconnected snaprealm xxx" warning

If a snaprealm has no child/parent snaprelam, and the snaprealm inode
is not in the cache while client reconnects. The snaprealm does not
get properly removed from MDCache::reconnected_snaplrealm. This causes
incorrect "unconnected snaprealm xxx" warning

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/MDCache.cc
src/mds/MDCache.h