]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/xfs/xfs_inode.c
xfs: move the buffer retry logic to xfs_buf.c
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 17:55:29 +0000 (10:55 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:38 +0000 (20:52 -0700)
commit664ffb8a429a800c51964b94c15c6a92c8d8334c
treecf7459090ed381712d91695cf244e05550e9d297
parent23fb5a93c21f7b2393c216b40afff8027164d8d4
xfs: move the buffer retry logic to xfs_buf.c

Move the buffer retry state machine logic to xfs_buf.c and call it once
from xfs_ioend instead of duplicating it three times for the three kinds
of buffers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_trans_inode.c
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_buf_item.h
fs/xfs/xfs_dquot.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_inode_item.h
fs/xfs/xfs_quota.h
fs/xfs/xfs_trace.h