Searched refs:disk_conf (Results 1 – 8 of 8) sorted by relevance
/drivers/block/drbd/ |
D | drbd_nl.c | 453 struct disk_conf *disk_conf = in highest_fencing_policy() local 454 rcu_dereference(peer_device->device->ldev->disk_conf); in highest_fencing_policy() 455 fp = max_t(enum drbd_fencing_p, fp, disk_conf->fencing); in highest_fencing_policy() 983 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_determine_dev_size() 1148 static int drbd_check_al_size(struct drbd_device *device, struct disk_conf *dc) in drbd_check_al_size() 1278 struct disk_conf *dc; in drbd_setup_queue_param() 1285 dc = rcu_dereference(device->ldev->disk_conf); in drbd_setup_queue_param() 1432 static bool write_ordering_changed(struct disk_conf *a, struct disk_conf *b) in write_ordering_changed() 1439 static void sanitize_disk_conf(struct drbd_device *device, struct disk_conf *disk_conf, in sanitize_disk_conf() argument 1444 if (disk_conf->al_extents < DRBD_AL_EXTENTS_MIN) in sanitize_disk_conf() [all …]
|
D | drbd_worker.c | 499 struct disk_conf *dc; in drbd_rs_controller() 509 dc = rcu_dereference(device->ldev->disk_conf); in drbd_rs_controller() 564 device->c_sync_rate = rcu_dereference(device->ldev->disk_conf)->resync_rate; in drbd_rs_number_requests() 618 discard_granularity = rcu_dereference(device->ldev->disk_conf)->rs_discard_granularity; in make_resync_request() 999 fp = rcu_dereference(device->ldev->disk_conf)->fencing; in drbd_resync_finished() 1545 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now() 1654 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in drbd_resync_after_valid()
|
D | drbd_actlog.c | 111 dt = rcu_dereference(bdev->disk_conf)->disk_timeout; in wait_until_done_or_force_detached() 386 write_al_updates = rcu_dereference(device->ldev->disk_conf)->al_updates; in __al_write_transaction() 457 write_al_updates = rcu_dereference(device->ldev->disk_conf)->al_updates; in drbd_al_begin_io_commit()
|
D | drbd_receiver.c | 1432 struct disk_conf *dc; in max_allowed_wo() 1434 dc = rcu_dereference(bdev->disk_conf); in max_allowed_wo() 1580 struct disk_conf *dc; in can_do_reliable_discards() 1587 dc = rcu_dereference(device->ldev->disk_conf); in can_do_reliable_discards() 2764 c_min_rate = rcu_dereference(device->ldev->disk_conf)->c_min_rate; in drbd_rs_c_min_rate_throttle() 3847 struct disk_conf *old_disk_conf = NULL, *new_disk_conf = NULL; in receive_SyncParam() 3895 new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); in receive_SyncParam() 3903 old_disk_conf = device->ldev->disk_conf; in receive_SyncParam() 4006 rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); in receive_SyncParam() 4089 my_usize = rcu_dereference(device->ldev->disk_conf)->disk_size; in receive_sizes() [all …]
|
D | drbd_int.h | 529 struct disk_conf *disk_conf; /* RCU, for updates: resource->conf_update */ member 1661 ep = rcu_dereference(device->ldev->disk_conf)->on_io_error; in __drbd_chk_io_error_()
|
D | drbd_req.c | 1065 rbm = rcu_dereference(device->ldev->disk_conf)->read_balancing; in do_remote_read() 1719 dt = rcu_dereference(device->ldev->disk_conf)->disk_timeout * HZ / 10; in request_timer_fn()
|
D | drbd_main.c | 720 struct disk_conf *dc; in drbd_send_sync_param() 743 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() 3220 bdev->md.meta_dev_idx = bdev->disk_conf->meta_dev_idx; in drbd_md_read()
|
D | drbd_state.c | 834 fp = rcu_dereference(device->ldev->disk_conf)->fencing; in is_valid_state() 1064 fp = rcu_dereference(device->ldev->disk_conf)->fencing; in sanitize_state() 1908 eh = rcu_dereference(device->ldev->disk_conf)->on_io_error; in after_state_ch()
|