[XFS] correctly select first log item to push
authorDavid Chinner <david@fromorbit.com>
Thu, 30 Oct 2008 07:26:51 +0000 (18:26 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 30 Oct 2008 07:26:51 +0000 (18:26 +1100)
commit7ee49acfe54883f16d28d9486b789431a5804d18
tree4c5dff6bc4276a5dc23b71ec19e38a8487f2a814
parent9ed0451ee0a13469f7b38e4ced8974036f6d114f
[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>
fs/xfs/xfs_trans_ail.c