Function report |
Source Code:block\blk-flush.c |
Create Date:2022-07-28 17:02:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:flush_end_io
Proto:static void flush_end_io(struct request *flush_rq, blk_status_t error)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | flush_rq | |
blk_status_t | error |
223 | flags = 0 |
224 | fq = blk_get_flush_queue(q, mq_ctx) |
230 | spin_lock_irqsave( & mq_flush_lock, flags) |
238 | If rq_status != BLK_STS_OK Then error = rq_status |
242 | If Not elevator Then |
244 | tag = -1 |
245 | Else |
247 | internal_tag = -1 |
250 | running = flush_queue[flush_running_idx] |
251 | BUG_ON(flush_pending_idx == flush_running_idx) |
254 | flush_running_idx ^= 1 |
258 | seq = blk_flush_cur_seq(rq) |
260 | BUG_ON(seq != REQ_FSEQ_PREFLUSH && seq != REQ_FSEQ_POSTFLUSH) |
264 | flush_queue_delayed = 0 |
265 | spin_unlock_irqrestore( & mq_flush_lock, flags) |
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 |