Function report |
Source Code:fs\io-wq.c |
Create Date:2022-07-28 20:22:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Worker will start processing some work. Move it to the busy list, if* it's currently on the freelist
Proto:static void __io_worker_busy(struct io_wqe *wqe, struct io_worker *worker, struct io_wq_work *work)__must_hold(wqe->lock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_wqe * | wqe | |
| struct io_worker * | worker | |
| struct io_wq_work * | work |
| 332 | If flags & IO_WORKER_F_FREE Then |
| 333 | flags &= ~IO_WORKER_F_FREE |
| 341 | worker_bound = (flags & IO_WORKER_F_BOUND) != 0 |
| 342 | work_bound = (flags & IO_WQ_WORK_UNBOUND) == 0 |
| 343 | If worker_bound != work_bound Then |
| 344 | io_wqe_dec_running(wqe, worker) |
| 345 | If work_bound Then |
| 350 | Else |
| 356 | io_wqe_inc_running(wqe, worker) |
| Name | Describe |
|---|---|
| io_worker_handle_work |
| 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 |