#9881 MDS flush journal asok command

Based on greg's branch to avoid awkward merging later, merge this after that.
I think we can use C_GatherBuilder here