Searched refs:queue_io_opt (Results 1 – 5 of 5) sorted by relevance
400 max(queue_io_opt(q) * 2 / PAGE_SIZE, VM_READAHEAD_PAGES); in disk_update_readahead()486 max(queue_io_opt(q) * 2 / PAGE_SIZE, VM_READAHEAD_PAGES); in blk_queue_io_opt()
153 return queue_var_show(queue_io_opt(q), page); in queue_io_opt_show()502 QUEUE_RO_ENTRY(queue_io_opt, "optimal_io_size");
1179 static inline unsigned int queue_io_opt(const struct request_queue *q) in queue_io_opt() function1186 return queue_io_opt(bdev_get_queue(bdev)); in bdev_io_opt()
1433 max(queue_io_opt(dc->disk.disk->queue), queue_io_opt(q))); in cached_dev_init()
960 p->qlim->io_opt = cpu_to_be32(queue_io_opt(q)); in drbd_send_sizes()