From 3cfd46f0affad5f9c8248f43753cd757b0a1490e Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Mon, 17 Apr 2017 22:35:00 -0400 Subject: [PATCH] mds: dispatch export request Funnel dispatch through MDCache::dispatch_request so we have only one call site for Migrator::dispatch_export_dir. Signed-off-by: Patrick Donnelly --- src/mds/Migrator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/Migrator.cc b/src/mds/Migrator.cc index 4a508256fccf..9a62999cf4e5 100644 --- a/src/mds/Migrator.cc +++ b/src/mds/Migrator.cc @@ -810,7 +810,7 @@ void Migrator::export_dir(CDir *dir, mds_rank_t dest) stat.tid = mdr->reqid.tid; stat.mut = mdr; - dispatch_export_dir(mdr); + return mds->mdcache->dispatch_request(mdr); } void Migrator::dispatch_export_dir(MDRequestRef& mdr) -- 2.47.3