blk_add_trace_bio
Prev | Chapter 14. Block Devices | Next

## Name

blk_add_trace_bio — Add a trace for a bio oriented action

## Synopsis

`void blk_add_trace_bio (` | struct request_queue * q,
| struct bio * bio,
| u32 what,
| int error`)`;

## Arguments

`q`

  queue the io is for

`bio`

  the source bio

`what`

  the action

`error`

  error, if any

## Description

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

Prev | Up | Next
blk_add_trace_rq | Home | blk_add_trace_bio_remap