Home
last modified time | relevance | path

Searched refs:disk_conf (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/block/drbd/
Ddrbd_nl.c454 struct disk_conf *disk_conf = in highest_fencing_policy() local
455 rcu_dereference(peer_device->device->ldev->disk_conf); in highest_fencing_policy()
456 fp = max_t(enum drbd_fencing_p, fp, disk_conf->fencing); in highest_fencing_policy()
981 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_determine_dev_size()
1146 static int drbd_check_al_size(struct drbd_device *device, struct disk_conf *dc) in drbd_check_al_size()
1339 struct disk_conf *dc; in drbd_setup_queue_param()
1348 dc = rcu_dereference(device->ldev->disk_conf); in drbd_setup_queue_param()
1505 static bool write_ordering_changed(struct disk_conf *a, struct disk_conf *b) in write_ordering_changed()
1512 static void sanitize_disk_conf(struct drbd_device *device, struct disk_conf *disk_conf, in sanitize_disk_conf() argument
1517 if (disk_conf->al_extents < DRBD_AL_EXTENTS_MIN) in sanitize_disk_conf()
[all …]
Ddrbd_worker.c502 struct disk_conf *dc; in drbd_rs_controller()
512 dc = rcu_dereference(device->ldev->disk_conf); in drbd_rs_controller()
566 device->c_sync_rate = rcu_dereference(device->ldev->disk_conf)->resync_rate; in drbd_rs_number_requests()
620 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()
1541 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now()
1650 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in drbd_resync_after_valid()
Ddrbd_actlog.c111 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()
Ddrbd_receiver.c1429 struct disk_conf *dc; in max_allowed_wo()
1431 dc = rcu_dereference(bdev->disk_conf); in max_allowed_wo()
1579 struct disk_conf *dc; in can_do_reliable_discards()
1586 dc = rcu_dereference(device->ldev->disk_conf); in can_do_reliable_discards()
2797 c_min_rate = rcu_dereference(device->ldev->disk_conf)->c_min_rate; in drbd_rs_c_min_rate_throttle()
3887 struct disk_conf *old_disk_conf = NULL, *new_disk_conf = NULL; in receive_SyncParam()
3934 new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); in receive_SyncParam()
3942 old_disk_conf = device->ldev->disk_conf; in receive_SyncParam()
4048 rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); in receive_SyncParam()
4131 my_usize = rcu_dereference(device->ldev->disk_conf)->disk_size; in receive_sizes()
[all …]
Ddrbd_int.h597 struct disk_conf *disk_conf; /* RCU, for updates: resource->conf_update */ member
1753 ep = rcu_dereference(device->ldev->disk_conf)->on_io_error; in __drbd_chk_io_error_()
Ddrbd_req.c1071 rbm = rcu_dereference(device->ldev->disk_conf)->read_balancing; in do_remote_read()
1725 dt = rcu_dereference(device->ldev->disk_conf)->disk_timeout * HZ / 10; in request_timer_fn()
Ddrbd_main.c726 struct disk_conf *dc; in drbd_send_sync_param()
748 dc = rcu_dereference(peer_device->device->ldev->disk_conf); in drbd_send_sync_param()
964 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_send_sizes()
3323 bdev->md.meta_dev_idx = bdev->disk_conf->meta_dev_idx; in drbd_md_read()
Ddrbd_state.c834 fp = rcu_dereference(device->ldev->disk_conf)->fencing; in is_valid_state()
1064 fp = rcu_dereference(device->ldev->disk_conf)->fencing; in sanitize_state()
1903 eh = rcu_dereference(device->ldev->disk_conf)->on_io_error; in after_state_ch()
/Linux-v5.4/include/linux/
Ddrbd_genl.h105 GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,