Home
last modified time | relevance | path

Searched refs:rs_failed (Results 1 – 8 of 8) sorted by relevance

/drivers/block/drbd/
Ddrbd_actlog.c678 ext->rs_failed += count; in update_rs_extent()
679 if (ext->rs_left < ext->rs_failed) { in update_rs_extent()
683 ext->rs_failed, count, in update_rs_extent()
709 if (ext->rs_failed) { in update_rs_extent()
712 ext->lce.lc_number, ext->rs_failed); in update_rs_extent()
715 ext->rs_failed = (mode == RECORD_RS_FAILED) ? count : 0; in update_rs_extent()
724 if (ext->rs_left <= ext->rs_failed) { in update_rs_extent()
725 ext->rs_failed = 0; in update_rs_extent()
822 bool rs_is_done = (still_to_go <= device->rs_failed); in update_sync_bits()
827 device->rs_failed += count; in update_sync_bits()
[all …]
Ddrbd_proc.c56 *bits_left = drbd_bm_total_weight(device) - device->rs_failed; in drbd_get_syncer_progress()
Ddrbd_worker.c926 D_ASSERT(device, (n_oos - device->rs_failed) == 0); in drbd_resync_finished()
946 if (device->rs_failed) { in drbd_resync_finished()
947 drbd_info(device, " %lu failed blocks\n", device->rs_failed); in drbd_resync_finished()
1017 device->rs_failed = 0; in drbd_resync_finished()
1830 device->rs_failed = 0; in drbd_start_resync()
Ddrbd_int.h818 unsigned long rs_failed; member
1161 int rs_failed; /* number of failed resync requests in this extent. */ member
Ddrbd_nl.c1772 device->rs_failed = 0; in drbd_adm_attach()
3580 s->peer_dev_resync_failed = device->rs_failed << (BM_BLOCK_SHIFT - 9); in peer_device_to_statistics()
3798 device->rs_failed)) in nla_put_status_info()
Ddrbd_receiver.c2788 rs_left = drbd_bm_total_weight(device) - device->rs_failed; in drbd_rs_c_min_rate_throttle()
4452 if (drbd_bm_total_weight(device) <= device->rs_failed) in receive_state()
5186 device->rs_failed = 0; in drbd_disconnected()
Ddrbd_state.c1801 device->rs_failed = 0; in after_state_ch()
Ddrbd_main.c2035 device->rs_failed = 0; in drbd_device_cleanup()