Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/block/drbd/
Ddrbd_actlog.c245 al_ext = lc_try_get(device->act_log, enr); in _al_get()
247 al_ext = lc_get(device->act_log, enr); in _al_get()
301 device->act_log->pending_changes == 0 || in drbd_al_begin_io_commit()
302 (locked = lc_try_lock_for_transaction(device->act_log))); in drbd_al_begin_io_commit()
307 if (device->act_log->pending_changes) { in drbd_al_begin_io_commit()
321 lc_committed(device->act_log); in drbd_al_begin_io_commit()
324 lc_unlock(device->act_log); in drbd_al_begin_io_commit()
340 struct lru_cache *al = device->act_log; in drbd_al_begin_io_nonblock()
368 __set_bit(__LC_STARVING, &device->act_log->flags); in drbd_al_begin_io_nonblock()
391 al_ext = lc_get_cumulative(device->act_log, enr); in drbd_al_begin_io_nonblock()
[all …]
Ddrbd_nl.c903 wait_event(device->al_wait, lc_try_lock(device->act_log)); in drbd_determine_dev_size()
1017 lc_unlock(device->act_log); in drbd_determine_dev_size()
1087 if (device->act_log && in drbd_check_al_size()
1088 device->act_log->nr_elements == dc->al_extents) in drbd_check_al_size()
1092 t = device->act_log; in drbd_check_al_size()
1111 device->act_log = n; in drbd_check_al_size()
1256 if (!lc_try_lock(device->act_log)) { in drbd_suspend_al()
1266 lc_unlock(device->act_log); in drbd_suspend_al()
1380 wait_event(device->al_wait, lc_try_lock(device->act_log)); in drbd_adm_disk_opts()
1383 lc_unlock(device->act_log); in drbd_adm_disk_opts()
Ddrbd_proc.c337 lc_seq_printf_stats(seq, device->act_log); in drbd_seq_show()
Ddrbd_debugfs.c720 lc_seq_printf_stats(m, device->act_log); in device_act_log_extents_show()
721 lc_seq_dump_details(m, device->act_log, "", NULL); in device_act_log_extents_show()
Ddrbd_worker.c1835 lc_destroy(device->act_log); in drbd_ldev_destroy()
1836 device->act_log = NULL; in drbd_ldev_destroy()
Ddrbd_req.c1030 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
Ddrbd_int.h946 struct lru_cache *act_log; /* activity log */ member
Ddrbd_main.c2187 lc_destroy(device->act_log); in drbd_destroy_device()
3070 buffer->al_nr_extents = cpu_to_be32(device->act_log->nr_elements); in drbd_md_write()