Home
last modified time | relevance | path

Searched refs:rs_left (Results 1 – 5 of 5) sorted by relevance

/drivers/block/drbd/
Ddrbd_proc.c93 unsigned long db, dt, dbdt, rt, rs_total, rs_left; in drbd_syncer_progress() local
98 drbd_get_syncer_progress(device, state, &rs_total, &rs_left, &res); in drbd_syncer_progress()
119 (unsigned long) Bit2KB(rs_left >> 10), in drbd_syncer_progress()
123 (unsigned long) Bit2KB(rs_left), in drbd_syncer_progress()
148 db = device->rs_mark_left[i] - rs_left; in drbd_syncer_progress()
149 rt = (dt * (rs_left / (db/100+1)))/100; /* seconds */ in drbd_syncer_progress()
165 db = device->rs_mark_left[i] - rs_left; in drbd_syncer_progress()
177 db = rs_total - rs_left; in drbd_syncer_progress()
Ddrbd_actlog.c674 ext->rs_left -= count; in update_rs_extent()
676 ext->rs_left += count; in update_rs_extent()
679 if (ext->rs_left < ext->rs_failed) { in update_rs_extent()
682 ext->lce.lc_number, ext->rs_left, in update_rs_extent()
692 ext->rs_left = drbd_bm_e_weight(device, enr); in update_rs_extent()
701 int rs_left = drbd_bm_e_weight(device, enr); in update_rs_extent() local
705 ext->lce.lc_number, ext->rs_left, in update_rs_extent()
706 ext->flags, enr, rs_left); in update_rs_extent()
714 ext->rs_left = rs_left; in update_rs_extent()
724 if (ext->rs_left <= ext->rs_failed) { in update_rs_extent()
[all …]
Ddrbd_debugfs.c653 seq_printf(m, "%5d %s %s %s", bme->rs_left, in resync_dump_detail()
Ddrbd_receiver.c2810 unsigned long rs_left; in drbd_rs_c_min_rate_throttle() local
2820 rs_left = device->ov_left; in drbd_rs_c_min_rate_throttle()
2822 rs_left = drbd_bm_total_weight(device) - device->rs_failed; in drbd_rs_c_min_rate_throttle()
2827 db = device->rs_mark_left[i] - rs_left; in drbd_rs_c_min_rate_throttle()
Ddrbd_int.h1225 int rs_left; /* number of bits set (out of sync) in this extent. */ member