X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fofd%2Fofd_trans.c;h=3112a50a4bee3f441504a82367650692e672d408;hp=390a5e1801bd8c863d189bbcad493b18c3b824d8;hb=b0f08a4e902411a8fbdb660e5b32c5821ca7159f;hpb=467521a236e4c4ef2ad57358cb645083e89f8bdf diff --git a/lustre/ofd/ofd_trans.c b/lustre/ofd/ofd_trans.c index 390a5e1..3112a50 100644 --- a/lustre/ofd/ofd_trans.c +++ b/lustre/ofd/ofd_trans.c @@ -244,9 +244,9 @@ int ofd_txn_stop_cb(const struct lu_env *env, struct thandle *txn, info->fti_transno, ofd_obd(ofd)->obd_last_committed); /* if can't add callback, do sync write */ - txn->th_sync = !!tgt_last_commit_cb_add(txn, &ofd->ofd_lut, - info->fti_exp, - info->fti_transno); + txn->th_sync |= !!tgt_last_commit_cb_add(txn, &ofd->ofd_lut, + info->fti_exp, + info->fti_transno); return ofd_last_rcvd_update(info, txn); }