Function report |
Source Code:block\blk-core.c |
Create Date:2022-07-28 17:00:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lk_rq_err_bytes - determine number of bytes till the next failure boundary*@rq: request to examine* Description:* A request could be merge of IOs which require different failure* handling
Proto:unsigned int blk_rq_err_bytes(const struct request *rq)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct request * | rq |
| 1288 | ff = op and common flags & REQ_FAILFAST_MASK |
| 1289 | bytes = 0 |
| 1292 | If Not (rq_flags & merge of different types, fail separately ) Then Return blk_rq_bytes(rq) |
| 1303 | If ( bottom bits req flags, * top bits REQ_OP. Use * accessors. & ff) != ff Then Break |
| 1305 | bytes += residual I/O count |
| 1309 | BUG_ON(blk_rq_bytes(rq) && !bytes) |
| 1310 | Return bytes |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |