BLK_EXECUTE_RQ

Section: Block Devices (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

blk_execute_rq - insert a request into queue for execution  

SYNOPSIS

int blk_execute_rq(struct request_queue * q, struct gendisk * bd_disk, struct request * rq, int at_head);
 

ARGUMENTS

q

queue to insert the request in

bd_disk

matching gendisk

rq

request to insert

at_head

insert request at head or tail of queue
 

DESCRIPTION

Insert a fully prepared request at the back of the I/O scheduler queue for execution and wait for completion.  

COPYRIGHT