From: "Yan, Zheng" <zheng.z.yan@xxxxxxxxx> During export, it's possible to get cache expire messages in DISCOVERING, FREEZING and PREPPING state. Signed-off-by: Yan, Zheng <zheng.z.yan@xxxxxxxxx> --- src/mds/MDCache.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 48ccc7e..5dcb3e3 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -5928,6 +5928,7 @@ void MDCache::handle_cache_expire(MCacheExpire *m) continue; } assert(!(parent_dir->is_auth() && parent_dir->is_exporting()) || + migrator->get_export_state(parent_dir) <= Migrator::EXPORT_PREPPING || (migrator->get_export_state(parent_dir) == Migrator::EXPORT_WARNING && !migrator->export_has_warned(parent_dir, from))); -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html