Function report |
Source Code:fs\direct-io.c |
Create Date:2022-07-28 20:15:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Create workqueue for deferred direct IO completions. We allocate the* workqueue when it's first needed. This avoids creating workqueue for* filesystems that don't need it and also allows us to create the workqueue
Proto:int sb_init_dio_done_wq(struct super_block *sb)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb |
596 | wq = alloc_workqueue("dio/%s", WQ_MEM_RECLAIM, 0, s_id) |
604 | old = cmpxchg( & s_dio_done_wq, NULL, wq) |
606 | If old Then destroy_workqueue - safely terminate a workqueue*@wq: target workqueue* Safely destroy a workqueue. All work currently pending will be done first. |
608 | Return 0 |
Name | Describe |
---|---|
dio_set_defer_completion | |
do_blockdev_direct_IO | This is a library function for use by filesystem drivers |
iomap_dio_rw | map_dio_rw() always completes O_[D]SYNC writes regardless of whether the IO* is being issued as AIO or not. This allows us to optimise pure data writes* to use REQ_FUA rather than requiring generic_write_sync() to issue a* REQ_FLUSH post write |
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 |