Function report |
Source Code:fs\io-wq.c |
Create Date:2022-07-28 20:22:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Enqueue work, hashed by some key. Work items that hash to the same value* will not be done in parallel. Used to limit concurrent writes, generally* hashed by inode.
Proto:void io_wq_enqueue_hashed(struct io_wq *wq, struct io_wq_work *work, void *val)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_wq * | wq | |
| struct io_wq_work * | work | |
| void * | val |
| 780 | bit = hash_ptr(val, IO_WQ_HASH_ORDER) |
| 781 | flags |= IO_WQ_WORK_HASHED | bit << IO_WQ_HASH_SHIFT |
| 782 | io_wqe_enqueue(wqe, 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 |