Lines Matching defs:epoch
1402 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch)
1406 connection->send.current_epoch_nr = epoch;
1412 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch)
1417 if (connection->send.current_epoch_nr != epoch) {
1420 connection->send.current_epoch_nr = epoch;
1440 * replicated epoch, before we went into AHEAD mode.
1442 maybe_send_barrier(connection, req->epoch);
1470 re_init_if_first_write(connection, req->epoch);
1471 maybe_send_barrier(connection, req->epoch);
1503 /* Even read requests may close a write epoch,
1505 maybe_send_barrier(connection, req->epoch);
2089 * Maybe we still need to close the current epoch,
2120 * epoch. Next incoming request epoch will be connection ->
2121 * current transfer log epoch number. If that is different
2122 * from the epoch of the last request we communicated, it is
2123 * safe to send the epoch separating barrier now.
2143 * e.g. if the current epoch got closed.