| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [RFC PATCH 1/3] xfs: re-enable xfsaild idle mode |
| From: | Brian Foster <bfoster@xxxxxxxxxx> |
| Date: | Mon, 21 May 2012 13:21:24 -0400 |
| Cc: | Brian Foster <bfoster@xxxxxxxxxx> |
| In-reply-to: | <1337620886-41807-1-git-send-email-bfoster@xxxxxxxxxx> |
| References: | <1337620886-41807-1-git-send-email-bfoster@xxxxxxxxxx> |
Allow the xfsaild kernel thread to sleep when there is no work
to do.
Signed-off-by: Brian Foster <bfoster@xxxxxxxxxx>
---
fs/xfs/xfs_trans_ail.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c
index 974c7be..37cdd41 100644
--- a/fs/xfs/xfs_trans_ail.c
+++ b/fs/xfs/xfs_trans_ail.c
@@ -505,7 +505,7 @@ out_done:
/* We're past our target or empty, so idle */
ailp->xa_last_pushed_lsn = 0;
- tout = 50;
+ tout = 0;
} else if (XFS_LSN_CMP(lsn, target) >= 0) {
/*
* We reached the target so wait a bit longer for I/O to
--
1.7.7.6
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [XFS updates] XFS development tree branch, for-next, updated. v3.4-rc2-57-g14c26c6, xfs |
|---|---|
| Next by Date: | [RFC PATCH 3/3] xfs: fix xfsaild hang due to lost wake ups, Brian Foster |
| Previous by Thread: | Re: [RFC PATCH 2/3] xfs: fix xfsaild hang due to premature idle, Brian Foster |
| Next by Thread: | [RFC PATCH 3/3] xfs: fix xfsaild hang due to lost wake ups, Brian Foster |
| Indexes: | [Date] [Thread] [Top] [All Lists] |