diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-02-19 21:31:21 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-02-22 23:17:00 -0500 |
commit | 3af1de753b3caf9fa3762b4b1b85d833c121847e (patch) | |
tree | ac204af972bcf3c7a4b913276ab32aa93426fe12 /fs/xfs/xfs_log.c | |
parent | 09a423a3d6c70905f1090f01aadb8e6abff527ce (diff) |
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>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 372642d39872..9161e8a76e77 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -2748,7 +2748,7 @@ xlog_ungrant_log_space(xlog_t *log, | |||
2748 | 2748 | ||
2749 | trace_xfs_log_ungrant_exit(log, ticket); | 2749 | trace_xfs_log_ungrant_exit(log, ticket); |
2750 | 2750 | ||
2751 | xfs_log_space_wake(log->l_mp, true); | 2751 | xfs_log_space_wake(log->l_mp, false); |
2752 | } | 2752 | } |
2753 | 2753 | ||
2754 | /* | 2754 | /* |