From: "Yan, Zheng" <zheng.z.yan@xxxxxxxxx> The stray migration/reintegration generates a source path that will be rooted in a (possibly remote) MDS's MDSDIR; adjust the check in handle_client_rename() Signed-off-by: Yan, Zheng <zheng.z.yan@xxxxxxxxx> --- src/leveldb | 2 +- src/mds/Server.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/leveldb b/src/leveldb index c79c270..f2d406b 160000 --- a/src/leveldb +++ b/src/leveldb @@ -1 +1 @@ -Subproject commit c79c270174307411819ddfdd8c9b671ec4fb69c9 +Subproject commit f2d406b4213a22bfed3acfdb071fbec9ca9205cc diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 8f36b02..0a141d4 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -5135,7 +5135,7 @@ void Server::handle_client_rename(MDRequest *mdr) // is this a stray migration, reintegration or merge? (sanity checks!) if (mdr->reqid.name.is_mds() && - !(MDS_INO_IS_STRAY(srcpath.get_ino()) && + !(MDS_INO_IS_MDSDIR(srcpath.get_ino()) && MDS_INO_IS_STRAY(destpath.get_ino())) && !(destdnl->is_remote() && destdnl->get_remote_ino() == srci->ino())) { -- 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