xfs
[Top] [All Lists]

[patch 02/12] xfs: do exact log space wakeups in xlog_ungrant_log_space

To: xfs@xxxxxxxxxxx
Subject: [patch 02/12] xfs: do exact log space wakeups in xlog_ungrant_log_space
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 12 Dec 2011 09:13:49 -0500
References: <20111212141346.986825692@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: quilt/0.48-1
The only reason that xfs_log_space_wake had to do opportunistic wakeups
was that the old xfs_log_move_tail calling convention didn't allow for
exact wakeups when not updating the log tail LSN.  Since this issue has
been fixed we can do exact wakeups now.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

---
 fs/xfs/xfs_log.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: xfs/fs/xfs/xfs_log.c
===================================================================
--- xfs.orig/fs/xfs/xfs_log.c   2011-12-11 15:30:49.977750776 +0100
+++ xfs/fs/xfs/xfs_log.c        2011-12-11 17:49:00.692836117 +0100
@@ -2748,7 +2748,7 @@ xlog_ungrant_log_space(xlog_t          *log,
 
        trace_xfs_log_ungrant_exit(log, ticket);
 
-       xfs_log_space_wake(log->l_mp, true);
+       xfs_log_space_wake(log->l_mp, false);
 }
 
 /*

<Prev in Thread] Current Thread [Next in Thread>