Skip to content

Commit

Permalink
Merge PR ceph#38109 into master
Browse files Browse the repository at this point in the history
* refs/pull/38109/head:
	mds: dir->mark_new() should together with dir->mark_dirty()

Reviewed-by: Patrick Donnelly <[email protected]>
  • Loading branch information
batrick committed Nov 25, 2020
2 parents f7c9ce5 + be4710a commit f5909c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mds/MDCache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11904,6 +11904,7 @@ void MDCache::_fragment_logged(MDRequestRef& mdr)
for (const auto& dir : info.resultfrags) {
dout(10) << " storing result frag " << *dir << dendl;

dir->mark_dirty(mdr->ls);
dir->mark_new(mdr->ls);

// freeze and store them too
Expand Down

0 comments on commit f5909c2

Please sign in to comment.