Home
last modified time | relevance | path

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

/Linux-v5.4/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_proc.c314 lc_seq_printf_stats(seq, device->act_log); in drbd_seq_show()
Ddrbd_nl.c1040 wait_event(device->al_wait, lc_try_lock_for_transaction(device->act_log)); in drbd_determine_dev_size()
1083 lc_unlock(device->act_log); in drbd_determine_dev_size()
1153 if (device->act_log && in drbd_check_al_size()
1154 device->act_log->nr_elements == dc->al_extents) in drbd_check_al_size()
1158 t = device->act_log; in drbd_check_al_size()
1177 device->act_log = n; in drbd_check_al_size()
1454 if (!lc_try_lock(device->act_log)) { in drbd_suspend_al()
1464 lc_unlock(device->act_log); in drbd_suspend_al()
1552 if (device->act_log && in disk_opts_check_al_size()
1553 device->act_log->nr_elements == dc->al_extents) in disk_opts_check_al_size()
[all …]
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.c1934 lc_destroy(device->act_log); in drbd_ldev_destroy()
1935 device->act_log = NULL; in drbd_ldev_destroy()
Ddrbd_req.c1021 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
Ddrbd_main.c2246 lc_destroy(device->act_log); in drbd_destroy_device()
3115 buffer->al_nr_extents = cpu_to_be32(device->act_log->nr_elements); in drbd_md_write()
Ddrbd_int.h944 struct lru_cache *act_log; /* activity log */ member