Function report |
Source Code:fs\fs-writeback.c |
Create Date:2022-07-28 20:10:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Sleep until I_SYNC is cleared. This function must be called with i_lock* held and drops it. It is aimed for callers not holding any inode reference* so once i_lock is dropped, inode can go away.
Proto:static void inode_sleep_on_writeback(struct inode *inode)__releases(inode->i_lock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode |
| 1357 | DEFINE_WAIT(wait) |
| 1358 | wqh = bit_waitqueue( & Misc , Writeback of inode is running) |
| 1362 | sleep = Misc & Writeback of inode is running |
| 1363 | spin_unlock( & _blocks, i_bytes, maybe i_size ) |
| Name | Describe |
|---|---|
| writeback_sb_inodes | Write a portion of b_io inodes which belong to @sb.* Return the number of pages and/or inodes written.* NOTE! This is called with wb->list_lock held, and will* unlock and relock that for each inode it ends up doing* IO for. |
| wb_writeback | Explicit flushing or periodic writeback of "old" data |
| 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 |