---
name: "trace_block_split"
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/trace_block_split"
---

# trace\_block\_split(9)

split a single bio struct into two bio structs

## NAME

trace\_block\_split - split a single bio struct into two bio structs

## SYNOPSIS

**void trace\_block\_split(struct request\_queue \*** *q***, struct bio \*** *bio***, unsigned int** *new\_sector***);**

## ARGUMENTS

*q*

queue containing the bio

*bio*

block operation being split

*new\_sector*

The starting sector for the new bio

## DESCRIPTION

The bio request *bio* in request queue *q* needs to be split into two bio requests. The newly created *bio* request starts at *new\_sector*. This split may be required due to hardware limitation such as operation crossing device boundaries in a RAID system.

## AUTHORS

**Jason Baron** \<jbaron@redhat.com\>

Author.

**William Cohen** \<wcohen@redhat.com\>

Author.

## COPYRIGHT
