]> Git Repo - linux.git/commit - fs/xfs/xfs_inode_item.c
xfs: return locked status of inode buffer on xfsaild push
authorBrian Foster <[email protected]>
Fri, 27 Mar 2020 15:29:55 +0000 (08:29 -0700)
committerDarrick J. Wong <[email protected]>
Sat, 28 Mar 2020 16:40:12 +0000 (09:40 -0700)
commitd4bc4c5fd177066b38e3a39ac751399e8dff80cf
tree268e7ca4a4531b5039856df51b7d97fef325e2ba
parent8d3d7e2b35ea7d91d6e085c93b5efecfb0fba307
xfs: return locked status of inode buffer on xfsaild push

If the inode buffer backing a particular inode is locked,
xfs_iflush() returns -EAGAIN and xfs_inode_item_push() skips the
inode. It still returns success to xfsaild, however, which bypasses
the xfsaild backoff heuristic. Update xfs_inode_item_push() to
return locked status if the inode buffer couldn't be locked.

Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
fs/xfs/xfs_inode_item.c
This page took 0.052061 seconds and 4 git commands to generate.