| To: | Brian Foster <bfoster@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [RFC PATCH 2/3] xfs: fix xfsaild hang due to premature idle |
| From: | Ben Myers <bpm@xxxxxxx> |
| Date: | Mon, 21 May 2012 13:12:32 -0500 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1337620886-41807-3-git-send-email-bfoster@xxxxxxxxxx> |
| References: | <1337620886-41807-1-git-send-email-bfoster@xxxxxxxxxx> <1337620886-41807-3-git-send-email-bfoster@xxxxxxxxxx> |
| User-agent: | Mutt/1.5.20 (2009-06-14) |
Hey Brian,
On Mon, May 21, 2012 at 01:21:25PM -0400, Brian Foster wrote:
> Running xfstests 273 in a loop reproduces an XFS lockup due to
> xfsaild entering idle mode indefinitely. The following
> high-level sequence of events leads to the hang:
>
> - xfsaild is running, hits the stuck item threshold and reschedules,
> setting xa_last_pushed_lsn appropriately.
> - xa_threshold is updated.
> - xfsaild restarts from the previous xa_last_pushed_lsn, hits the
> new target and enters idle mode, even though the previously
> stuck items still populate the ail.
>
> Modify the tout logic to only enter idle mode when the ail is empty.
> IOW, if we hit the target but did not perform the current scan from
> the start of the ail, reschedule at least one more time.
>
> Signed-off-by: Brian Foster <bfoster@xxxxxxxxxx>
Thanks for the patch. Unfortunately it does not apply cleanly. Care to spin
it again?
Regards,
Ben
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [RFC PATCH 2/3] xfs: fix xfsaild hang due to premature idle, Brian Foster |
|---|---|
| Next by Date: | [RFC PATCH 0/3] xfs: fix xfsaild races and re-enable idle mode, Brian Foster |
| Previous by Thread: | [RFC PATCH 2/3] xfs: fix xfsaild hang due to premature idle, Brian Foster |
| Next by Thread: | Re: [RFC PATCH 2/3] xfs: fix xfsaild hang due to premature idle, Brian Foster |
| Indexes: | [Date] [Thread] [Top] [All Lists] |