trace_block_split
Prev | Chapter 4. Block IO | Next

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

Prev | Up | Next
trace_block_unplug | Home | trace_block_bio_remap