Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_nl.c453 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()
1266 struct disk_conf *dc; in drbd_setup_queue_param()
1273 dc = rcu_dereference(device->ldev->disk_conf); in drbd_setup_queue_param()
1418 static bool write_ordering_changed(struct disk_conf *a, struct disk_conf *b) in write_ordering_changed()
1425 static void sanitize_disk_conf(struct drbd_device *device, struct disk_conf *disk_conf, in sanitize_disk_conf() argument
1430 if (disk_conf->al_extents < DRBD_AL_EXTENTS_MIN) in sanitize_disk_conf()
[all …]
Ddrbd_worker.c498 struct disk_conf *dc; in drbd_rs_controller()
508 dc = rcu_dereference(device->ldev->disk_conf); in drbd_rs_controller()
562 device->c_sync_rate = rcu_dereference(device->ldev->disk_conf)->resync_rate; in drbd_rs_number_requests()
616 discard_granularity = rcu_dereference(device->ldev->disk_conf)->rs_discard_granularity; in make_resync_request()
995 fp = rcu_dereference(device->ldev->disk_conf)->fencing; in drbd_resync_finished()
1540 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now()
1649 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in drbd_resync_after_valid()
Ddrbd_receiver.c1430 struct disk_conf *dc; in max_allowed_wo()
1432 dc = rcu_dereference(bdev->disk_conf); in max_allowed_wo()
1578 struct disk_conf *dc; in can_do_reliable_discards()
1585 dc = rcu_dereference(device->ldev->disk_conf); in can_do_reliable_discards()
2745 c_min_rate = rcu_dereference(device->ldev->disk_conf)->c_min_rate; in drbd_rs_c_min_rate_throttle()
3832 struct disk_conf *old_disk_conf = NULL, *new_disk_conf = NULL; in receive_SyncParam()
3880 new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); in receive_SyncParam()
3888 old_disk_conf = device->ldev->disk_conf; in receive_SyncParam()
3991 rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); in receive_SyncParam()
4074 my_usize = rcu_dereference(device->ldev->disk_conf)->disk_size; in receive_sizes()
[all …]
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_int.h596 struct disk_conf *disk_conf; /* RCU, for updates: resource->conf_update */ member
1716 ep = rcu_dereference(device->ldev->disk_conf)->on_io_error; in __drbd_chk_io_error_()
Ddrbd_req.c1061 rbm = rcu_dereference(device->ldev->disk_conf)->read_balancing; in do_remote_read()
1713 dt = rcu_dereference(device->ldev->disk_conf)->disk_timeout * HZ / 10; in request_timer_fn()
Ddrbd_main.c716 struct disk_conf *dc; in drbd_send_sync_param()
739 dc = rcu_dereference(peer_device->device->ldev->disk_conf); in drbd_send_sync_param()
932 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_send_sizes()
3208 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()
1904 eh = rcu_dereference(device->ldev->disk_conf)->on_io_error; in after_state_ch()