Lines Matching defs:wait
1503 * and optionally wait until they are all written to disk
1505 * wait == 0 flush until latest txn is committed, don't wait
1506 * wait == 1 flush until latest txn is committed, wait
1507 * wait > 1 flush until all txn's are complete, wait
1509 void jfs_flush_journal(struct jfs_log *log, int wait)
1518 jfs_info("jfs_flush_journal: log:0x%p wait=%d", log, wait);
1552 if ((wait > 1) || test_bit(log_SYNCBARRIER, &log->flag)) {
1558 if (wait && target && !(target->flag & tblkGC_COMMITTED)) {
1570 if (wait < 2)
1576 * If there was recent activity, we may need to wait