diff options
author | Yan, Zheng <zyan@redhat.com> | 2017-06-06 09:43:28 +0200 |
---|---|---|
committer | John Spray <john.spray@redhat.com> | 2017-06-23 18:07:32 +0200 |
commit | 944821fec1b4eab4fd4f787c9232f447e22de7bc (patch) | |
tree | f4be880ad2852fec9bdd622a251a85423196acc3 /src/crypto | |
parent | mds: fix stray dentry replication in cache rejoin ack (diff) | |
download | ceph-944821fec1b4eab4fd4f787c9232f447e22de7bc.tar.xz ceph-944821fec1b4eab4fd4f787c9232f447e22de7bc.zip |
mds: create subtree root immediately after directory tree becomes frozen
When a directory tree become frozen, its WAIT_FROZEN contexts are
executed asynchronously. Before Migrator::export_frozen() set export
bounds, MDCache::try_subtree_merge_at() can merge newly imported
subtree into the frozen directory tree. This causes problem if there
are auth pins in newly imported subtree.
The fix is creating subtree root immediately after directory tree
becomes frozen. The new subtree root has dir_auth 'me, me', so it's
not meregeable.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Diffstat (limited to 'src/crypto')
0 files changed, 0 insertions, 0 deletions