[PATCH openEuler-5.10 24/28] xfs: factor out log write ordering from xlog_cil_push_work()