---
name: "blk_add_trace_rq"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_add_trace_rq"
---

# blk\_add\_trace\_rq(9)

Add a trace for a request oriented action

## 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.

## COPYRIGHT
