Searched refs:backing_bdev (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/block/drbd/ |
D | drbd_nl.c | 852 md_size_sect = drbd_get_capacity(bdev->backing_bdev); in drbd_md_set_sector_offsets() 1344 b = bdev->backing_bdev->bd_disk->queue; in drbd_setup_queue_param() 1389 local = queue_max_hw_sectors(bdev->backing_bdev->bd_disk->queue) << 9; in drbd_reconsider_queue_parameters() 1515 struct request_queue * const q = nbc->backing_bdev->bd_disk->queue; in sanitize_disk_conf() 1744 nbc->backing_bdev = bdev; in open_backing_devices() 1783 close_backing_dev(device, ldev->md_bdev, ldev->md_bdev != ldev->backing_bdev); in drbd_backing_dev_free() 1784 close_backing_dev(device, ldev->backing_bdev, true); in drbd_backing_dev_free() 1894 if ((nbc->backing_bdev == nbc->md_bdev) != in drbd_adm_attach() 1950 nbc->known_size = drbd_get_capacity(nbc->backing_bdev); in drbd_adm_attach() 2199 close_backing_dev(device, nbc->md_bdev, nbc->md_bdev != nbc->backing_bdev); in drbd_adm_attach() [all …]
|
D | drbd_int.h | 594 struct block_device *backing_bdev; member 1879 s = drbd_get_capacity(bdev->backing_bdev) in drbd_get_max_capacity() 1886 drbd_get_capacity(bdev->backing_bdev)); in drbd_get_max_capacity() 1894 drbd_get_capacity(bdev->backing_bdev)); in drbd_get_max_capacity() 1914 return (drbd_get_capacity(bdev->backing_bdev) & ~7ULL) - 8; in drbd_md_ss()
|
D | drbd_req.c | 537 bdevname(device->ldev->backing_bdev, b)); in drbd_report_io_error() 927 bdi = device->ldev->backing_bdev->bd_disk->queue->backing_dev_info; in remote_due_to_read_balancing() 1169 bio_set_dev(bio, device->ldev->backing_bdev); in drbd_submit_req_private_bio()
|
D | drbd_receiver.c | 1298 bio_set_dev(bio, device->ldev->backing_bdev); in submit_one_flush() 1513 struct block_device *bdev = device->ldev->backing_bdev; in drbd_issue_discard_or_zero_out() 1578 struct request_queue *q = bdev_get_queue(device->ldev->backing_bdev); in can_do_reliable_discards() 1610 struct block_device *bdev = device->ldev->backing_bdev; in drbd_issue_peer_wsame() 1696 bio_set_dev(bio, device->ldev->backing_bdev); in drbd_submit_peer_request() 1903 if (data_size != bdev_logical_block_size(device->ldev->backing_bdev)) { in read_in_block() 1905 data_size, bdev_logical_block_size(device->ldev->backing_bdev)); in read_in_block() 2791 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; in drbd_rs_c_min_rate_throttle() 4245 if (device->ldev->known_size != drbd_get_capacity(device->ldev->backing_bdev)) { in receive_sizes() 4246 device->ldev->known_size = drbd_get_capacity(device->ldev->backing_bdev); in receive_sizes()
|
D | drbd_worker.c | 1526 bio_set_dev(req->private_bio, device->ldev->backing_bdev); in w_restart_disk_io() 1674 struct gendisk *disk = device->ldev->backing_bdev->bd_contains->bd_disk; in drbd_rs_controller_reset()
|
D | drbd_main.c | 961 struct request_queue *q = bdev_get_queue(device->ldev->backing_bdev); in drbd_send_sizes() 2455 q = bdev_get_queue(device->ldev->backing_bdev); in drbd_congested()
|