Function report |
Source Code:fs\fs-writeback.c |
Create Date:2022-07-28 20:10:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The @s_sync_lock is used to serialise concurrent sync operations* to avoid lock contention problems with concurrent wait_sb_inodes() calls.* Concurrent callers will block on the s_sync_lock rather than doing contending* walks
Proto:static void wait_sb_inodes(struct super_block *sb)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb |
| 2375 | mutex_lock( & s_sync_lock) |
| 2387 | spin_lock_irq( & s_inode_wblist_lock) |
| 2415 | If Not Returns true if any of the pages in the mapping are marked with the tag. Then Continue |
| 2418 | spin_unlock_irq( & s_inode_wblist_lock) |
| 2420 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
| 2422 | spin_unlock( & _blocks, i_bytes, maybe i_size ) |
| 2424 | spin_lock_irq( & s_inode_wblist_lock) |
| 2425 | Continue |
| 2428 | spin_unlock( & _blocks, i_bytes, maybe i_size ) |
| 2438 | cond_resched() |
| 2440 | put an inode |
| 2443 | spin_lock_irq( & s_inode_wblist_lock) |
| 2445 | spin_unlock_irq( & s_inode_wblist_lock) |
| Name | Describe |
|---|---|
| sync_inodes_sb | sync_inodes_sb - sync sb inode pages*@sb: the superblock* This function writes and waits on any dirty inode belonging to this* super_block. |
| 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 |