This makes request lock auth_pins expire, so the fragment moves along.
Otherwise we can end up waiting for the log flush timer to go off.
This isn't a complete solution; in-progress requests won't know to flush.
Signed-off-by: Sage Weil <sage@newdream.net>
dout(15) << " already marked " << *dir << dendl;
}
}
+
+ // flush log so that request auth_pins are retired
+ mds->mdlog->flush();
}
void MDCache::fragment_unmark_unfreeze_dirs(list<CDir*>& dirs)