Query: blk_queue_make_request
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLK_QUEUE_MAKE_REQUE(9) Block Devices BLK_QUEUE_MAKE_REQUE(9)NAMEblk_queue_make_request - define an alternate make_request function for a deviceSYNOPSISvoid blk_queue_make_request(struct request_queue * q, make_request_fn * mfn);ARGUMENTSq the request queue for the device to be affected mfn the alternate make_request functionDESCRIPTIONThe normal way for struct bios to be passed to a device driver is for them to be collected into requests on a request queue, and then to allow the device driver to select requests off that queue when it is ready. This works well for many block devices. However some block devices (typically virtual devices such as md or lvm) do not benefit from the processing on the request queue, and are served best by having the requests passed directly to them. This can be achieved by providing a function to blk_queue_make_request.CAVEATThe driver that does this *must* be able to deal appropriately with buffers in "highmemory". This can be accomplished by either calling __bio_kmap_atomic to get a temporary kernel mapping, or by calling blk_queue_bounce to create a buffer in normal memory.COPYRIGHTKernel Hackers Manual 3.10 June 2014 BLK_QUEUE_MAKE_REQUE(9)
Related Man Pages |
---|
blk_init_queue(9) - centos |
device(9) - debian |
blk_make_request(9) - suse |
device(9) - minix |
device(9) - bsd |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Best performance UNIX just for HOST Virtualization? |
How to increment version inside a file? |
CentOS7 restoring file capabilities |
[TIP] Processing YAML files with yq |