]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4274dd3f466006e10fc6c0155179cef2ab951fea
treecf7459090ed381712d91695cf244e05550e9d297
parent181c66f6664e5a90542d10501539f486196d1bab
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