1GET_REQUEST_WAIT(9)              Block Devices             GET_REQUEST_WAIT(9)
2
3
4

NAME

6       get_request_wait - get a free request with retry
7

SYNOPSIS

9       struct request * get_request_wait(struct request_queue * q,
10                                         int rw_flags, struct bio * bio);
11

ARGUMENTS

13       q
14           request_queue to allocate request from
15
16       rw_flags
17           RW and SYNC flags
18
19       bio
20           bio to allocate request for (can be NULL)
21

DESCRIPTION

23       Get a free request from q. This function keeps retrying under memory
24       pressure and fails iff q is dying.
25
26       Must be called with q->queue_lock held and, Returns NULL on failure,
27       with q->queue_lock held. Returns !NULL on success, with q->queue_lock
28       *not held*.
29
31Kernel Hackers Manual 2.6.         June 2019               GET_REQUEST_WAIT(9)
Impressum