]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: find approximal bounds when adjusting subtree auth 1520/head
authorYan, Zheng <zheng.z.yan@intel.com>
Sat, 29 Mar 2014 02:36:12 +0000 (10:36 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Sat, 29 Mar 2014 13:41:28 +0000 (21:41 +0800)
commitb71e64dd68021c243ad2ac751c69bbd4d81c3f2f
treea439b221dc889422741b48ea3d8398ae291b66f2
parent07ccc4e7bda67c4af0e4dc24aa0ecbf35016c3c3
mds: find approximal bounds when adjusting subtree auth

When finishing exporting a subtree, the exporter MDS drops locks and
sends MExportDirFinish message to the importer MDS. The bounds of
subtree can get fragmented by third party before the importer MDS
receives the MExportDirFinish message. So the importer MDS can add
inaccurate bounds to the EImportFinish event.

The fix is find approximal bounds when finishing ambiguous imports.
src/mds/MDCache.cc