trace_block_getrq
Prev | Chapter 4. Block IO | Next

## Name

trace_block_getrq — get a free request entry in queue for block IO operations

## Synopsis

`void trace_block_getrq (` | struct request_queue * q,
| struct bio * bio,
| int rw`)`;

## Arguments

`q`

  queue for operations

`bio`

  pending block IO operation

`rw`

  low bit indicates a read (`0`) or a write (`1`)

## Description

A request struct for queue `q` has been allocated to handle the block IO operation `bio`.

Prev | Up | Next
trace_block_bio_queue | Home | trace_block_sleeprq