trace_block_sleeprq
Prev | Chapter 4. Block IO | Next

## Name

trace_block_sleeprq — waiting to get a free request entry in queue for block IO operation

## Synopsis

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

## Arguments

`q`

  queue for operation

`bio`

  pending block IO operation

`rw`

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

## Description

In the case where a request struct cannot be provided for queue `q` the process needs to wait for an request struct to become available. This tracepoint event is generated each time the process goes to sleep waiting for request struct become available.

Prev | Up | Next
trace_block_getrq | Home | trace_block_plug