Searched refs:epoch_size (Results 1 – 3 of 3) sorted by relevance
985 int epoch_size; in drbd_may_finish_epoch() local993 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch()1007 if (epoch_size != 0 && in drbd_may_finish_epoch()1012 drbd_send_b_ack(mdev, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch()1028 atomic_set(&epoch->epoch_size, 0); in drbd_may_finish_epoch()1199 if (atomic_read(&mdev->current_epoch->epoch_size)) { in receive_Barrier()1206 wait_event(mdev->ee_wait, atomic_read(&epoch->epoch_size) == 0); in receive_Barrier()1218 atomic_set(&epoch->epoch_size, 0); in receive_Barrier()1222 if (atomic_read(&mdev->current_epoch->epoch_size)) { in receive_Barrier()1671 atomic_inc(&mdev->current_epoch->epoch_size); in receive_Data()[all …]
739 atomic_t epoch_size; /* increased on every request added. */ member
3054 if (atomic_read(&mdev->current_epoch->epoch_size) != 0) in drbd_mdev_cleanup()3055 dev_err(DEV, "epoch_size:%d\n", atomic_read(&mdev->current_epoch->epoch_size)); in drbd_mdev_cleanup()