Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_actlog.c234 al_ext = lc_try_get(device->act_log, enr); in _al_get()
236 al_ext = lc_get(device->act_log, enr); in _al_get()
338 list_for_each_entry(e, &device->act_log->to_be_changed, list) { in __al_write_transaction()
359 buffer->context_size = cpu_to_be16(device->act_log->nr_elements); in __al_write_transaction()
363 device->act_log->nr_elements - device->al_tr_cycle); in __al_write_transaction()
366 extent_nr = lc_element_by_index(device->act_log, idx)->lc_number; in __al_write_transaction()
373 if (device->al_tr_cycle >= device->act_log->nr_elements) in __al_write_transaction()
447 device->act_log->pending_changes == 0 || in drbd_al_begin_io_commit()
448 (locked = lc_try_lock_for_transaction(device->act_log))); in drbd_al_begin_io_commit()
453 if (device->act_log->pending_changes) { in drbd_al_begin_io_commit()
[all …]
Ddrbd_nl.c1041 wait_event(device->al_wait, lc_try_lock_for_transaction(device->act_log)); in drbd_determine_dev_size()
1084 lc_unlock(device->act_log); in drbd_determine_dev_size()
1154 if (device->act_log && in drbd_check_al_size()
1155 device->act_log->nr_elements == dc->al_extents) in drbd_check_al_size()
1159 t = device->act_log; in drbd_check_al_size()
1178 device->act_log = n; in drbd_check_al_size()
1447 if (!lc_try_lock(device->act_log)) { in drbd_suspend_al()
1457 lc_unlock(device->act_log); in drbd_suspend_al()
1545 if (device->act_log && in disk_opts_check_al_size()
1546 device->act_log->nr_elements == dc->al_extents) in disk_opts_check_al_size()
[all …]
Ddrbd_proc.c313 lc_seq_printf_stats(seq, device->act_log); in drbd_seq_show()
Ddrbd_debugfs.c683 lc_seq_printf_stats(m, device->act_log); in device_act_log_extents_show()
684 lc_seq_dump_details(m, device->act_log, "", NULL); in device_act_log_extents_show()
Ddrbd_worker.c1935 lc_destroy(device->act_log); in drbd_ldev_destroy()
1936 device->act_log = NULL; in drbd_ldev_destroy()
Ddrbd_req.c1004 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
Ddrbd_int.h943 struct lru_cache *act_log; /* activity log */ member
Ddrbd_main.c2247 lc_destroy(device->act_log); in drbd_destroy_device()
3049 buffer->al_nr_extents = cpu_to_be32(device->act_log->nr_elements); in drbd_md_write()