* on a queue, such as calling the unplug function after a timeout.
* A block device may call blk_sync_queue to ensure that any
* such activity is cancelled, thus allowing it to release resources
* on a queue, such as calling the unplug function after a timeout.
* A block device may call blk_sync_queue to ensure that any
* such activity is cancelled, thus allowing it to release resources
blk_queue_max_hw_segments(q, MAX_HW_SEGMENTS);
blk_queue_max_phys_segments(q, MAX_PHYS_SEGMENTS);
blk_queue_max_hw_segments(q, MAX_HW_SEGMENTS);
blk_queue_max_phys_segments(q, MAX_PHYS_SEGMENTS);
bio->bi_rw |= (1 << BIO_RW);
blk_rq_bio_prep(q, rq, bio);
bio->bi_rw |= (1 << BIO_RW);
blk_rq_bio_prep(q, rq, bio);
* If a CPU goes away, splice its entries to the current CPU
* and trigger a run of the softirq
*/
* If a CPU goes away, splice its entries to the current CPU
* and trigger a run of the softirq
*/