Function report |
Source Code:block\blk-flush.c |
Create Date:2022-07-28 17:02:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_kick_flush
Proto:static void blk_kick_flush(struct request_queue *q, struct blk_flush_queue *fq, unsigned int flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q | |
| struct blk_flush_queue * | fq | |
| unsigned int | flags |
| 284 | pending = flush_queue[flush_pending_idx] |
| 290 | If flush_pending_idx != flush_running_idx || list_empty - tests whether a list is empty*@head: the list to test. Then Return |
| 299 | If Not list_empty - tests whether a list is empty*@head: the list to test. && elevator && time_before(jiffies, flush_pending_since + FLUSH_PENDING_TIMEOUT) Then Return |
| 308 | flush_pending_idx ^= 1 |
| 310 | blk_rq_init(q, flush_rq) |
| 323 | If Not elevator Then |
| 327 | Else |
| 328 | internal_tag = internal_tag |
| 332 | op and common flags |= flags & REQ_DRV | flags & REQ_FAILFAST_MASK |
| 333 | rq_flags |= quest for flush sequence |
| 337 | blk_flush_queue_rq(flush_rq, false) |
| Name | Describe |
|---|---|
| blk_flush_complete_seq | lk_flush_complete_seq - complete flush sequence*@rq: PREFLUSH/FUA request being sequenced*@fq: flush queue*@seq: sequences to complete (mask of %REQ_FSEQ_*, can be zero)*@error: whether an error occurred*@rq just completed @seq part of its flush sequence, |
| 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 |