1BLK_FETCH_REQUEST(9) Block Devices BLK_FETCH_REQUEST(9)
2
3
4
6 blk_fetch_request - fetch a request from a request queue
7
9 struct request * blk_fetch_request(struct request_queue * q);
10
12 q
13 request queue to fetch a request from
14
16 Return the request at the top of q. The request is started on return
17 and LLD can start processing it immediately.
18
20 Pointer to the request at the top of q if available. Null otherwise.
21
23 queue_lock must be held.
24
26Kernel Hackers Manual 2.6. November 2011 BLK_FETCH_REQUEST(9)