]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: dispatch export request
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 18 Apr 2017 02:35:00 +0000 (22:35 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 18 Apr 2017 02:57:50 +0000 (22:57 -0400)
Funnel dispatch through MDCache::dispatch_request so we have only one call site
for Migrator::dispatch_export_dir.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/Migrator.cc

index 4a508256fccf734593c0467d04a77d7a1ed06eb3..9a62999cf4e5fa7652dc9beaaee2f6891ffe1056 100644 (file)
@@ -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)