Function report |
Source Code:fs\direct-io.c |
Create Date:2022-07-28 20:15:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Asynchronous IO callback.
Proto:static void dio_bio_end_aio(struct bio *bio)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bio * | bio |
| 332 | dio = bi_private |
| 335 | bool defer_completion = false |
| 338 | dio_bio_complete(dio, bio) |
| 340 | spin_lock_irqsave( & protects BIO fields below , flags) |
| 341 | remaining = --direct_io_worker() and bios |
| 346 | If remaining == 0 Then |
| 355 | If IO result Then defer_completion = defer AIO completion to workqueue? || op == REQ_OP_WRITE && nrpages |
| 359 | If defer_completion Then |
| 363 | Else |
| Name | Describe |
|---|---|
| dio_end_io | dio_end_io - handle the end io action for the given bio*@bio: The direct io bio thats being completed* This is meant to be called by any filesystem that uses their own dio_submit_t* so that the DIO specific endio actions are dealt with after the filesystem |
| 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 |