mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
[XFS] correctly select first log item to push
Under heavy metadata load we are seeing log hangs. The AIL has items in it ready to be pushed, and they are within the push target window. However, we are not pushing them when the last pushed LSN is less than the LSN of the first log item on the AIL. This is a regression introduced by the AIL push cursor modifications. SGI-PV: 987246 SGI-Modid: xfs-linux-melb:xfs-kern:32409a Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
This commit is contained in:
parent
9ed0451ee0
commit
7ee49acfe5
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ xfs_trans_ail_cursor_first(
|
|||
|
||||
list_for_each_entry(lip, &ailp->xa_ail, li_ail) {
|
||||
if (XFS_LSN_CMP(lip->li_lsn, lsn) >= 0)
|
||||
break;
|
||||
goto out;
|
||||
}
|
||||
lip = NULL;
|
||||
out:
|
||||
|
|
Loading…
Reference in a new issue