]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix shared_ptr MDRequest bugs 1623/head
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 8 Apr 2014 08:11:03 +0000 (16:11 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 8 Apr 2014 08:29:43 +0000 (16:29 +0800)
commit55cfb142fadccc47de2af19d3f4224885005ff94
tree56aa089d8761dc32c55c32fbc688a9a28858df81
parent2a6d962f476efaa586f64b68b7f62a9deae22c44
mds: fix shared_ptr MDRequest bugs

The main change is use shared_ptr instead of weak_ptr to define
active request map. The reason is that slave request needs to be
preserved until master explicitly finishes it.

Fixes: #8026
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Migrator.cc
src/mds/Mutation.h
src/mds/Server.cc