blk_add_trace_rq
Prev | Chapter 14. Block Devices | Next

## Name

blk_add_trace_rq — Add a trace for a request oriented action

## Synopsis

`void blk_add_trace_rq (` | struct request_queue * q,
| struct request * rq,
| unsigned int nr_bytes,
| u32 what`)`;

## Arguments

`q`

  queue the io is for

`rq`

  the source request

`nr_bytes`

  number of completed bytes

`what`

  the action

## Description

Records an action against a request. Will log the bio offset + size.

Prev | Up | Next
blk_trace_shutdown | Home | blk_add_trace_bio