Searched full:act_log (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/block/drbd/ |
| H A D | drbd_actlog.c | 234 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 …]
|
| H A D | drbd_nl.c | 1042 wait_event(device->al_wait, lc_try_lock_for_transaction(device->act_log)); in drbd_determine_dev_size() 1085 lc_unlock(device->act_log); in drbd_determine_dev_size() 1155 if (device->act_log && in drbd_check_al_size() 1156 device->act_log->nr_elements == dc->al_extents) in drbd_check_al_size() 1160 t = device->act_log; in drbd_check_al_size() 1161 n = lc_create("act_log", drbd_al_ext_cache, AL_UPDATES_PER_TRANSACTION, in drbd_check_al_size() 1165 drbd_err(device, "Cannot allocate act_log lru!\n"); in drbd_check_al_size() 1179 device->act_log = n; in drbd_check_al_size() 1188 drbd_md_mark_dirty(device); /* we changed device->act_log->nr_elemens */ in drbd_check_al_size() 1391 if (!lc_try_lock(device->act_log)) { in drbd_suspend_al() [all …]
|
| H A D | drbd_debugfs.c | 683 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()
|
| H A D | drbd_proc.c | 313 lc_seq_printf_stats(seq, device->act_log); in drbd_seq_show()
|
| H A D | drbd_req.c | 1005 * sure device->act_log is there. in maybe_pull_ahead() 1016 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
|
| H A D | drbd_worker.c | 1923 lc_destroy(device->act_log); in drbd_ldev_destroy() 1924 device->act_log = NULL; in drbd_ldev_destroy()
|
| H A D | drbd_main.c | 2179 lc_destroy(device->act_log); in drbd_destroy_device() 2947 /* `-- act_log->nr_elements <-- ldev->dc.al_extents */ 2977 buffer->al_nr_extents = cpu_to_be32(device->act_log->nr_elements); in drbd_md_write()
|
| H A D | drbd_int.h | 873 struct lru_cache *act_log; /* activity log */ member
|
| /linux/include/linux/ |
| H A D | lru_cache.h | 138 * (total memory usage 2 pages), and up to 3833 elements on the act_log
|