Searched refs:disk_conf (Results 1 – 8 of 8) sorted by relevance
/drivers/block/drbd/ |
D | drbd_nl.c | 419 struct disk_conf *disk_conf = in highest_fencing_policy() local 420 rcu_dereference(peer_device->device->ldev->disk_conf); in highest_fencing_policy() 421 fp = max_t(enum drbd_fencing_p, fp, disk_conf->fencing); in highest_fencing_policy() 924 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_determine_dev_size() 1081 static int drbd_check_al_size(struct drbd_device *device, struct disk_conf *dc) in drbd_check_al_size() 1139 max_segments = rcu_dereference(device->ldev->disk_conf)->max_bio_bvecs; in drbd_setup_queue_param() 1308 static bool write_ordering_changed(struct disk_conf *a, struct disk_conf *b) in write_ordering_changed() 1320 struct disk_conf *new_disk_conf, *old_disk_conf; in drbd_adm_disk_opts() 1340 new_disk_conf = kmalloc(sizeof(struct disk_conf), GFP_KERNEL); in drbd_adm_disk_opts() 1347 old_disk_conf = device->ldev->disk_conf; in drbd_adm_disk_opts() [all …]
|
D | drbd_worker.c | 479 struct disk_conf *dc; in drbd_rs_controller() 489 dc = rcu_dereference(device->ldev->disk_conf); in drbd_rs_controller() 543 device->c_sync_rate = rcu_dereference(device->ldev->disk_conf)->resync_rate; in drbd_rs_number_requests() 1443 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now() 1549 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in drbd_resync_after_valid()
|
D | drbd_actlog.c | 124 dt = rcu_dereference(bdev->disk_conf)->disk_timeout; in wait_until_done_or_force_detached() 311 write_al_updates = rcu_dereference(device->ldev->disk_conf)->al_updates; in drbd_al_begin_io_commit() 551 write_al_updates = rcu_dereference(device->ldev->disk_conf)->al_updates; in al_write_transaction()
|
D | drbd_receiver.c | 1298 struct disk_conf *dc; in max_allowed_wo() 1300 dc = rcu_dereference(bdev->disk_conf); in max_allowed_wo() 2474 c_min_rate = rcu_dereference(device->ldev->disk_conf)->c_min_rate; in drbd_rs_c_min_rate_throttle() 3511 struct disk_conf *old_disk_conf = NULL, *new_disk_conf = NULL; in receive_SyncParam() 3558 new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); in receive_SyncParam() 3566 old_disk_conf = device->ldev->disk_conf; in receive_SyncParam() 3672 rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); in receive_SyncParam() 3752 my_usize = rcu_dereference(device->ldev->disk_conf)->disk_size; in receive_sizes() 3778 struct disk_conf *old_disk_conf, *new_disk_conf = NULL; in receive_sizes() 3780 new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); in receive_sizes() [all …]
|
D | drbd_int.h | 613 struct disk_conf *disk_conf; /* RCU, for updates: resource->conf_update */ member 1738 ep = rcu_dereference(device->ldev->disk_conf)->on_io_error; in __drbd_chk_io_error_()
|
D | drbd_main.c | 734 struct disk_conf *dc; in drbd_send_sync_param() 756 dc = rcu_dereference(peer_device->device->ldev->disk_conf); in drbd_send_sync_param() 936 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_send_sizes() 2983 kfree(ldev->disk_conf); in drbd_free_ldev() 3279 bdev->md.meta_dev_idx = bdev->disk_conf->meta_dev_idx; in drbd_md_read()
|
D | drbd_state.c | 560 fp = rcu_dereference(device->ldev->disk_conf)->fencing; in is_valid_state() 780 fp = rcu_dereference(device->ldev->disk_conf)->fencing; in sanitize_state() 1453 eh = rcu_dereference(device->ldev->disk_conf)->on_io_error; in after_state_ch()
|
D | drbd_req.c | 1080 rbm = rcu_dereference(device->ldev->disk_conf)->read_balancing; in do_remote_read() 1532 dt = rcu_dereference(device->ldev->disk_conf)->disk_timeout * HZ / 10; in request_timer_fn()
|