Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:Wait for writeback on an inode to complete. Called with i_lock held.* Caller must make sure inode cannot go away when we drop i_lock.

Proto:static void __inode_wait_for_writeback(struct inode *inode)__releases(inode->i_lock) __acquires(inode->i_lock)

Type:void

Parameter:

TypeParameterName
struct inode *inode
1330  wqh = bit_waitqueue( & Misc , Writeback of inode is running)
1331  When Misc & Writeback of inode is running cycle
1332  spin_unlock( & _blocks, i_bytes, maybe i_size )
1333  To allow interruptible waiting and asynchronous (i.e. nonblocking)* waiting, the actions of __wait_on_bit() and __wait_on_bit_lock() are* permitted return codes. Nonzero return codes halt waiting and return.
1335  spin_lock( & _blocks, i_bytes, maybe i_size )
Caller
NameDescribe
inode_wait_for_writebackWait for writeback on an inode to complete. Caller must have inode pinned.
writeback_single_inodeWrite out an inode's dirty pages. Either the caller has an active reference* on the inode or the inode has I_WILL_FREE set.* This function is designed to be called for writing back one inode which* we go e