浏览代码

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 <tinguely@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Christoph Hellwig 13 年之前
父节点
当前提交
3af1de753b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/xfs/xfs_log.c

+ 1 - 1
fs/xfs/xfs_log.c

@@ -2748,7 +2748,7 @@ xlog_ungrant_log_space(xlog_t	     *log,
 
 
 	trace_xfs_log_ungrant_exit(log, ticket);
 	trace_xfs_log_ungrant_exit(log, ticket);
 
 
-	xfs_log_space_wake(log->l_mp, true);
+	xfs_log_space_wake(log->l_mp, false);
 }
 }
 
 
 /*
 /*