]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
authorHou Tao <houtao1@huawei.com>
Fri, 3 Feb 2017 22:39:07 +0000 (14:39 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 3 Feb 2017 22:39:07 +0000 (14:39 -0800)
commit4dd2eb633598cb6a5a0be2fd9a2be0819f5eeb5f
treea0e9270bac8c6d65982c85ab69312ebe0dd86a8c
parent5eda43000064a69a39fb7869cc63c9571535ad29
xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t

After successful IO or permanent error, b_first_retry_time also
needs to be cleared, else the invalid first retry time will be
used by the next retry check.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_buf_item.c