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

NAME

6       blk_queue_start_tag - find a free tag and assign it
7

SYNOPSIS

9       int blk_queue_start_tag(struct request_queue * q, struct request * rq);
10

ARGUMENTS

12       q
13           the request queue for the device
14
15       rq
16           the block request that needs tagging
17

DESCRIPTION

19       This can either be used as a stand-alone helper, or possibly be
20       assigned as the queue prep_rq_fn (in which case struct request
21       automagically gets a tag assigned). Note that this function assumes
22       that any type of request can be queued! if this is not true for your
23       device, you must check the request type before calling this function.
24       The request will also be removed from the request queue, so it´s the
25       drivers responsibility to readd it if it should need to be restarted
26       for some reason.
27

NOTES

29       queue lock must be held.
30
32Kernel Hackers Manual 2.6.         June 2019            BLK_QUEUE_START_TAG(9)
Impressum