Loading fs/fs-writeback.c +4 −1 Original line number Original line Diff line number Diff line Loading @@ -701,7 +701,7 @@ EXPORT_SYMBOL_GPL(wbc_account_io); /** /** * inode_congested - test whether an inode is congested * inode_congested - test whether an inode is congested * @inode: inode to test for congestion * @inode: inode to test for congestion (may be NULL) * @cong_bits: mask of WB_[a]sync_congested bits to test * @cong_bits: mask of WB_[a]sync_congested bits to test * * * Tests whether @inode is congested. @cong_bits is the mask of congestion * Tests whether @inode is congested. @cong_bits is the mask of congestion Loading @@ -711,6 +711,9 @@ EXPORT_SYMBOL_GPL(wbc_account_io); * determined by whether the cgwb (cgroup bdi_writeback) for the blkcg * determined by whether the cgwb (cgroup bdi_writeback) for the blkcg * associated with @inode is congested; otherwise, the root wb's congestion * associated with @inode is congested; otherwise, the root wb's congestion * state is used. * state is used. * * @inode is allowed to be NULL as this function is often called on * mapping->host which is NULL for the swapper space. */ */ int inode_congested(struct inode *inode, int cong_bits) int inode_congested(struct inode *inode, int cong_bits) { { Loading Loading
fs/fs-writeback.c +4 −1 Original line number Original line Diff line number Diff line Loading @@ -701,7 +701,7 @@ EXPORT_SYMBOL_GPL(wbc_account_io); /** /** * inode_congested - test whether an inode is congested * inode_congested - test whether an inode is congested * @inode: inode to test for congestion * @inode: inode to test for congestion (may be NULL) * @cong_bits: mask of WB_[a]sync_congested bits to test * @cong_bits: mask of WB_[a]sync_congested bits to test * * * Tests whether @inode is congested. @cong_bits is the mask of congestion * Tests whether @inode is congested. @cong_bits is the mask of congestion Loading @@ -711,6 +711,9 @@ EXPORT_SYMBOL_GPL(wbc_account_io); * determined by whether the cgwb (cgroup bdi_writeback) for the blkcg * determined by whether the cgwb (cgroup bdi_writeback) for the blkcg * associated with @inode is congested; otherwise, the root wb's congestion * associated with @inode is congested; otherwise, the root wb's congestion * state is used. * state is used. * * @inode is allowed to be NULL as this function is often called on * mapping->host which is NULL for the swapper space. */ */ int inode_congested(struct inode *inode, int cong_bits) int inode_congested(struct inode *inode, int cong_bits) { { Loading