blk_rq_err_bytes(9)

blk_rq_err_bytes9

Determine number of bytes till the next failure boundary

Usage

unsigned int blk_rq_err_bytes(const struct request * rq);

Arguments

rq

request to examine

Overview

A request could be merge of IOs which require different failure handling. This function determines the number of bytes which can be failed from the beginning of the request without crossing into area which need to be retried further.

Return

The number of bytes to fail.

Context

queue_lock must be held.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.