Searched refs:mybatch (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzil.c1600 uint64_t mybatch; local
1609 mybatch = zilog->zl_next_batch;
1611 cv_wait(&zilog->zl_cv_batch[mybatch & 1], &zilog->zl_lock);
1612 if (mybatch <= zilog->zl_com_batch) {
1621 zilog->zl_com_batch = mybatch;
1626 cv_signal(&zilog->zl_cv_batch[(mybatch+1) & 1]);
1629 cv_broadcast(&zilog->zl_cv_batch[mybatch & 1]);

Completed in 2254 milliseconds