]> git.apps.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>
Wed, 20 Jul 2016 02:38:40 +0000 (10:38 +0800)
commitd9f957a5cda55adcdba5db28689aeb344d10e413
tree96296fa23688edfaa5dd5cf1e09a58f07a341aa5
parent3e745ef3172aeef07038c9156d4668ca08078f18
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>
(cherry picked from commit 85e687de876ca7e0174734ba81130949c4ab6a40)
src/mds/MDCache.cc
src/mds/MDCache.h