Function report |
Source Code:fs\direct-io.c |
Create Date:2022-07-28 20:15:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Wait for the next BIO to complete. Remove it and return it. NULL is* returned once all BIOs have been completed. This must only be called once* all bios have been issued so that dio->refcount can only decrease. This
Proto:static struct bio *dio_await_one(struct dio *dio)
Type:struct bio
Parameter:
Type | Parameter | Name |
---|---|---|
struct dio * | dio |
489 | spin_lock_irqsave( & protects BIO fields below , flags) |
497 | When (direct_io_worker() and bios > 1 && singly linked via bi_private == NULL) cycle |
501 | If Not (ki_flags & IOCB_HIPRI) || Not blk_poll(queue, bio_cookie, true) Then io_schedule() |
505 | spin_lock_irqsave( & protects BIO fields below , flags) |
506 | waiting task (NULL if none) = NULL |
508 | If singly linked via bi_private Then |
513 | Return bio |
Name | Describe |
---|---|
dio_await_completion | Wait on and process all in-flight BIOs |
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 |