Home
last modified time | relevance | path

Searched refs:epoch_size (Results 1 – 3 of 3) sorted by relevance

/drivers/block/drbd/
Ddrbd_receiver.c1361 int epoch_size; in drbd_may_finish_epoch() local
1369 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch()
1383 if (epoch_size != 0 && in drbd_may_finish_epoch()
1388 drbd_send_b_ack(epoch->connection, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch()
1409 atomic_set(&epoch->epoch_size, 0); in drbd_may_finish_epoch()
1773 if (atomic_read(&connection->current_epoch->epoch_size)) { in receive_Barrier()
1787 atomic_set(&epoch->epoch_size, 0); in receive_Barrier()
1791 if (atomic_read(&connection->current_epoch->epoch_size)) { in receive_Barrier()
2556 atomic_inc(&connection->current_epoch->epoch_size); in receive_Data()
2608 atomic_inc(&peer_req->epoch->epoch_size); in receive_Data()
[all …]
Ddrbd_int.h367 atomic_t epoch_size; /* increased on every request added. */ member
Ddrbd_main.c2643 if (atomic_read(&connection->current_epoch->epoch_size) != 0) in drbd_destroy_connection()
2644 drbd_err(connection, "epoch_size:%d\n", atomic_read(&connection->current_epoch->epoch_size)); in drbd_destroy_connection()