blk_queue_find_tag

Name

blk_queue_find_tag --  find a request by its tag and queue

Synopsis

struct request * blk_queue_find_tag (request_queue_t * q, int tag);

Arguments

q

The request queue for the device

tag

The tag of the request

Description

Notes

Should be used when a device returns a tag and you want to match it with a request.

no locks need be held.