Lines Matching refs:epoch_size
1016 int finish, epoch_size;
1026 epoch_size = atomic_read(&epoch->epoch_size);
1037 if (test_bit(DE_CONTAINS_A_BARRIER, &epoch->flags) && epoch_size == 1 &&
1050 if (epoch_size != 0 &&
1058 (epoch_size == 1 && test_bit(DE_CONTAINS_A_BARRIER, &epoch->flags)) ||
1071 drbd_send_b_ack(mdev, epoch->barrier_nr, epoch_size);
1087 atomic_set(&epoch->epoch_size, 0);
1335 atomic_set(&epoch->epoch_size, 0);
1339 if (atomic_read(&mdev->current_epoch->epoch_size)) {
1794 atomic_inc(&mdev->current_epoch->epoch_size);
1814 atomic_inc(&e->epoch->epoch_size);
1817 if (mdev->write_ordering == WO_bio_barrier && atomic_read(&e->epoch->epoch_size) == 1) {
1828 if (atomic_read(&epoch->epoch_size) > 1 ||
2009 /* yes, the epoch_size now is imbalanced.
2011 * receive a barrier... atomic_inc(&mdev->epoch_size); */
3851 /* ok, no more ee's on the fly, it is safe to reset the epoch_size */
3852 atomic_set(&mdev->current_epoch->epoch_size, 0);