Patch "xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t" has been added to the 4.10-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
to the 4.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
xfs-reset-b_first_retry_time-when-clear-the-retry-status-of-xfs_buf_t.patch
and it can be found in the queue-4.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
4dd2eb633598cb6a5a0be2fd9a2be0819f5eeb5fMon Sep 17 00:00:00 2001
From: Hou Tao <[email protected]>
Date: Fri, 3 Feb 2017 14:39:07 -0800
Subject: xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
From: Hou Tao <[email protected]>
commit 4dd2eb633598cb6a5a0be2fd9a2be0819f5eeb5f upstream.
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.
--- fs/xfs/xfs_buf_item.c | 1 + 1 file changed, 1 insertion(+)
fs/xfs/xfs_buf_item.c +1 -0
@@ -1162,6 +1162,7 @@ xfs_buf_iodone_callbacks(*/ bp->b_last_error =0 ; bp->b_retries =0 ; + bp->b_first_retry_time =0 ;xfs_buf_do_callbacks (bp); bp->b_fspriv =NULL ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.10/xfs-reset-b_first_retry_time-when-clear-the-retry-status-of-xfs_buf_t.patch