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                                    int offset, unsigned int len);
11

ARGUMENTS

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

DESCRIPTION

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