Movatterモバイル変換


[0]ホーム

URL:


blk_rq_err_bytes
Prev Chapter 14. Block Devices Next

Name

blk_rq_err_bytes — determine number of bytes till the next failure boundary

Synopsis

unsigned intblk_rq_err_bytes(const struct request *rq);
 

Arguments

const struct request * rq

request to examine

Description

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.


Prev Up Next
blk_insert_cloned_request Home blk_peek_request

[8]ページ先頭

©2009-2025 Movatter.jp