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

NAME

6       blk_add_request_payload - add a payload to a request
7

SYNOPSIS

9       void blk_add_request_payload(struct request * rq, struct page * page,
10                                    unsigned int len);
11

ARGUMENTS

13       rq
14           request to update
15
16       page
17           page backing the payload
18
19       len
20           length of the payload.
21

DESCRIPTION

23       This allows to later add a payload to an already submitted request by a
24       block driver. The driver needs to take care of freeing the payload
25       itself.
26
27       Note that this is a quite horrible hack and nothing but handling of
28       discard requests should ever use it.
29
31Kernel Hackers Manual 2.6.         June 2019           BLK_ADD_REQUEST_PAYL(9)
Impressum