]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 10 Jun 2017 00:25:19 +0000 (17:25 -0700)
commited7a59260c8dcedc1d4ffa8c930fadc822242d6c
treeb7a92421f3cd7e6622ab5b3bb1a2088cdb8d2aab
parent13778afab7ca5d396469fe6d03981d2bcb497820
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>
(cherry picked from commit 4dd2eb633598cb6a5a0be2fd9a2be0819f5eeb5f)

Orabug: 26130728

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
fs/xfs/xfs_buf_item.c