---
name: "blk_add_trace_remap"
section: "9"
platform: "linux"
package: "linux-manual-2.6.32"
version: "2.6.32-48squeeze6"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_add_trace_remap"
---

# blk\_add\_trace\_remap(9)

Add a trace for a remap operation

## NAME

blk\_add\_trace\_remap - Add a trace for a remap operation

## SYNOPSIS

**void blk\_add\_trace\_remap(struct request\_queue \*** *q***, struct bio \*** *bio***, dev\_t** *dev***, sector\_t** *from***);**

## ARGUMENTS

*q*

queue the io is for

*bio*

the source bio

*dev*

target device

*from*

source sector

## DESCRIPTION

Device mapper or raid target sometimes need to split a bio because it spans a stripe (or similar). Add a trace for that action.

## COPYRIGHT
