Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A 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()
1251 max_segments = rcu_dereference(device->ldev->disk_conf)->max_bio_bvecs; in drbd_backing_dev_max_segments()
1424 static bool write_ordering_changed(struct disk_conf *a, struct disk_conf *b) in write_ordering_changed()
1431 static void sanitize_disk_conf(struct drbd_device *device, struct disk_conf *disk_conf, in sanitize_disk_conf() argument
1436 if (disk_conf->al_extents < DRBD_AL_EXTENTS_MIN) in sanitize_disk_conf()
1437 disk_conf->al_extents = DRBD_AL_EXTENTS_MIN; in sanitize_disk_conf()
[all …]
H A Ddrbd_worker.c499 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()
H A 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()
H A Ddrbd_receiver.c1432 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 …]
H A Ddrbd_int.h527 struct disk_conf *disk_conf; /* RCU, for updates: resource->conf_update */ member
1651 ep = rcu_dereference(device->ldev->disk_conf)->on_io_error; in __drbd_chk_io_error_()
H A Ddrbd_req.c1065 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()
H A Ddrbd_main.c706 struct disk_conf *dc; in drbd_send_sync_param()
729 dc = rcu_dereference(peer_device->device->ldev->disk_conf); in drbd_send_sync_param()
922 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; in drbd_send_sizes()
3213 bdev->md.meta_dev_idx = bdev->disk_conf->meta_dev_idx; in drbd_md_read()
H A 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()
1912 eh = rcu_dereference(device->ldev->disk_conf)->on_io_error; in after_state_ch()
/linux/include/linux/
H A Ddrbd_genl.h105 GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,