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:dio_bio_complete
Proto:static blk_status_t dio_bio_complete(struct dio *dio, struct bio *bio)
Type:blk_status_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct dio * | dio | |
struct bio * | bio |
522 | should_dirty = op == REQ_OP_READ && pages should be dirtied |
524 | If err Then |
525 | If err == BLK_STS_AGAIN && bottom bits req flags, * top bits REQ_OP. Use * accessors. & REQ_NOWAIT Then IO error in completion path = -EAGAIN |
527 | Else IO error in completion path = -EIO |
531 | If s IO async ? && should_dirty Then |
532 | bio_check_pages_dirty(bio) |
533 | Else |
534 | bio_release_pages(bio, should_dirty) |
537 | Return err |
Name | Describe |
---|---|
dio_bio_end_aio | Asynchronous IO callback. |
dio_await_completion | Wait on and process all in-flight BIOs |
dio_bio_reap | A really large O_DIRECT read or write can generate a lot of BIOs. So* to keep the memory consumption sane we periodically reap any completed BIOs* during the BIO generation phase.* This also helps to limit the peak amount of pinned userspace memory. |
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 |