From: Christoph Hellwig Date: Mon, 20 Feb 2012 02:31:21 +0000 (+0000) Subject: xfs: do exact log space wakeups in xlog_ungrant_log_space X-Git-Tag: v3.4-rc1~55^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3af1de753b3caf9fa3762b4b1b85d833c121847e;p=platform%2Fupstream%2Fkernel-adaptation-pc.git xfs: do exact log space wakeups in xlog_ungrant_log_space 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. Reviewed-by: Mark Tinguely Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 372642d..9161e8a 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c @@ -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); } /*